~people-project/people-core/deep-refactoring

« back to all changes in this revision

Viewing changes to backends/google/contact-source.vala

  • Committer: Ali Sabil
  • Date: 2009-01-16 23:35:15 UTC
  • Revision ID: ali.sabil@gmail.com-20090116233515-zj6e2qu8vujms7yl
- Updated the Google backend

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
                        this.flags = Backend.ContactSourceFlags.NEED_NETWORK;
50
50
                }
51
51
 
52
 
                private override Backend.Contact create_contact_object (string? id) {
 
52
                public override Backend.Contact create_contact_object (string? id) {
53
53
                        return new Contact (id, authentication_token);
54
54
                }
55
55
 
56
 
                private override AsyncOperation<bool> validate_contact_id (string id) {
 
56
                public override AsyncOperation<bool> validate_contact_id (string id) {
57
57
                        var operation = async_operation_init_bool ();
58
58
                        var url = "http://www.google.com/m8/feeds/contacts/default/base/%s?alt=json".printf (id);
59
59
                        var msg = new Soup.Message ("GET", url);