Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3533)

Unified Diff: chrome/browser/chromeos/contacts/gdata_contacts_service.h

Issue 19511002: Change google_api::RequestSender to take an AuthService instead of a Profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/contacts/gdata_contacts_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | chrome/browser/chromeos/contacts/gdata_contacts_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698