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

Unified Diff: chrome/browser/extensions/api/gcm/gcm_api.h

Issue 225403021: Extract Profile-independent GCMService from GCMProfileService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Provide GCMService with the list of all accounts. It does use it after all. Created 6 years, 8 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
Index: chrome/browser/extensions/api/gcm/gcm_api.h
diff --git a/chrome/browser/extensions/api/gcm/gcm_api.h b/chrome/browser/extensions/api/gcm/gcm_api.h
index 07009a16dc2a46e600cab41f3bfa24bdefe44c84..e38ff7a848428aceac352487c46f8ecdc2916889 100644
--- a/chrome/browser/extensions/api/gcm/gcm_api.h
+++ b/chrome/browser/extensions/api/gcm/gcm_api.h
@@ -11,7 +11,7 @@
#include "google_apis/gcm/gcm_client.h"
namespace gcm {
-class GCMProfileService;
+class GCMService;
} // namespace gcm
class Profile;
@@ -34,7 +34,7 @@ class GcmApiFunction : public AsyncExtensionFunction {
// Checks that the GCM API is enabled.
bool IsGcmApiEnabled() const;
- gcm::GCMProfileService* GCMProfileService() const;
+ gcm::GCMService* GCMService() const;
};
class GcmRegisterFunction : public GcmApiFunction {
« no previous file with comments | « no previous file | chrome/browser/extensions/api/gcm/gcm_api.cc » ('j') | chrome/browser/extensions/api/gcm/gcm_api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698