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

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

Issue 340773006: Dispatch push event to worker from PushServiceImpl#OnMessage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Debugging. Created 6 years, 6 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/services/gcm/gcm_profile_service.cc
diff --git a/chrome/browser/services/gcm/gcm_profile_service.cc b/chrome/browser/services/gcm/gcm_profile_service.cc
index 3e549a75d447f53b07669601e2cbc5037c61dbd1..31b2c0928f754f3e6b3c873b3037e85b171663c4 100644
--- a/chrome/browser/services/gcm/gcm_profile_service.cc
+++ b/chrome/browser/services/gcm/gcm_profile_service.cc
@@ -103,8 +103,7 @@ void GCMProfileService::RegisterProfilePrefs(
#if defined(OS_ANDROID)
GCMProfileService::GCMProfileService(Profile* profile)
- : profile_(profile),
- push_messaging_service_(this, profile) {
+ : profile_(profile), push_messaging_service_(this, profile) {
DCHECK(!profile->IsOffTheRecord());
driver_.reset(new GCMDriverAndroid);
@@ -113,8 +112,7 @@ GCMProfileService::GCMProfileService(Profile* profile)
GCMProfileService::GCMProfileService(
Profile* profile,
scoped_ptr<GCMClientFactory> gcm_client_factory)
- : profile_(profile),
- push_messaging_service_(this, profile) {
+ : profile_(profile), push_messaging_service_(this, profile) {
DCHECK(!profile->IsOffTheRecord());
driver_ = CreateGCMDriverDesktop(
@@ -127,8 +125,7 @@ GCMProfileService::GCMProfileService(
#endif // defined(OS_ANDROID)
GCMProfileService::GCMProfileService()
- : profile_(NULL),
- push_messaging_service_(this, NULL) {
+ : profile_(NULL), push_messaging_service_(this, NULL) {
}
GCMProfileService::~GCMProfileService() {

Powered by Google App Engine
This is Rietveld 408576698