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

« back to all changes in this revision

Viewing changes to backends/google/contact-source-factory.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:
41
41
                        return parameters;
42
42
                }
43
43
 
44
 
                public override Backend.ContactSource get_contact_source (Map<string, string>? parameters) {
 
44
                public override AsyncOperation<Backend.ContactSource> get_contact_source (Map<string, string>? parameters) {
45
45
                        var session = new Soup.SessionSync ();
46
46
                        var msg = Soup.form_request_new ("POST",
47
47
                                        "https://www.google.com/accounts/ClientLogin",
64
64
                                }
65
65
                        }
66
66
 
67
 
                        return new ContactSource(authentication_token);
 
67
                        return sync_result (new ContactSource(authentication_token));
68
68
                }
69
69
        }
70
70