Index: chrome/browser/chromeos/contacts/gdata_contacts_service.h |
diff --git a/chrome/browser/chromeos/contacts/gdata_contacts_service.h b/chrome/browser/chromeos/contacts/gdata_contacts_service.h |
index 36b61d1c3412518d3f9ce01ea559cd0a8c3eebf2..d41fa25aba0f52cbabe0b83a682f88c43092f213 100644 |
--- a/chrome/browser/chromeos/contacts/gdata_contacts_service.h |
+++ b/chrome/browser/chromeos/contacts/gdata_contacts_service.h |
@@ -23,7 +23,7 @@ class Value; |
} // namespace base |
namespace google_apis { |
-class AuthService; |
+class AuthServiceInterface; |
class RequestSender; |
} // namespace google_apis |
@@ -45,8 +45,6 @@ class GDataContactsServiceInterface { |
virtual ~GDataContactsServiceInterface() {} |
- virtual void Initialize() = 0; |
- |
// Downloads all contacts changed at or after |min_update_time| and invokes |
// the appropriate callback asynchronously on the UI thread when complete. If |
// min_update_time.is_null() is true, all contacts will be returned. |
@@ -68,11 +66,9 @@ class GDataContactsService : public GDataContactsServiceInterface { |
GDataContactsService( |
net::URLRequestContextGetter* url_request_context_getter, |
- Profile* profile); |
+ google_apis::AuthServiceInterface* auth_service); |
virtual ~GDataContactsService(); |
- google_apis::AuthService* auth_service_for_testing(); |
- |
const std::string& cached_my_contacts_group_id_for_testing() const { |
return cached_my_contacts_group_id_; |
} |
@@ -97,7 +93,6 @@ class GDataContactsService : public GDataContactsServiceInterface { |
} |
// Overridden from GDataContactsServiceInterface: |
- virtual void Initialize() OVERRIDE; |
virtual void DownloadContacts(SuccessCallback success_callback, |
FailureCallback failure_callback, |
const base::Time& min_update_time) OVERRIDE; |