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

Unified Diff: chrome/browser/services/gcm/gcm_profile_service.h

Issue 146703006: [GCM] Create and use event router in GCMProfileService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix trybots Created 6 years, 11 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/services/gcm/gcm_profile_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/services/gcm/gcm_profile_service.h
diff --git a/chrome/browser/services/gcm/gcm_profile_service.h b/chrome/browser/services/gcm/gcm_profile_service.h
index b7c0132fd595dbbf652de7856d84bdeb19b5a7a5..4dc2be088cb86743643fa74c2bccfa0d2976c83e 100644
--- a/chrome/browser/services/gcm/gcm_profile_service.h
+++ b/chrome/browser/services/gcm/gcm_profile_service.h
@@ -160,7 +160,7 @@ class GCMProfileService : public BrowserContextKeyedService,
void GCMClientLoadingFinished();
// Returns the event router to fire the event for the given app.
- GCMEventRouter* GetEventRouter(const std::string& app_id);
+ GCMEventRouter* GetEventRouter(const std::string& app_id) const;
// Used to persist registration info into the app's state store.
void DeleteRegistrationInfo(const std::string& app_id);
@@ -206,7 +206,9 @@ class GCMProfileService : public BrowserContextKeyedService,
RegistrationInfoMap registration_info_map_;
// Event router to talk with JS API.
+#if !defined(OS_ANDROID)
scoped_ptr<GCMEventRouter> js_event_router_;
+#endif
// For testing purpose.
TestingDelegate* testing_delegate_;
« no previous file with comments | « no previous file | chrome/browser/services/gcm/gcm_profile_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698