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

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

Issue 955673004: Move gcm-independent parts of push messaging out of gcm namespace and directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove redundant cast Created 5 years, 10 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.h
diff --git a/chrome/browser/services/gcm/gcm_profile_service.h b/chrome/browser/services/gcm/gcm_profile_service.h
index 4adb01f9b29ca7c20224ff9e567a943411b38cac..7eba5eafd5cdb9f70117f4bc2f793f94b8d38aa9 100644
--- a/chrome/browser/services/gcm/gcm_profile_service.h
+++ b/chrome/browser/services/gcm/gcm_profile_service.h
@@ -10,7 +10,6 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/services/gcm/push_messaging_service_impl.h"
#include "components/keyed_service/core/keyed_service.h"
class Profile;
@@ -34,9 +33,6 @@ class GCMProfileService : public KeyedService {
// Returns whether GCM is enabled for |profile|.
static bool IsGCMEnabled(Profile* profile);
- // Register profile-specific prefs for GCM.
- static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
-
#if defined(OS_ANDROID)
explicit GCMProfileService(Profile* profile);
#else
@@ -53,10 +49,6 @@ class GCMProfileService : public KeyedService {
GCMDriver* driver() const { return driver_.get(); }
- content::PushMessagingService* push_messaging_service() {
- return &push_messaging_service_;
- }
-
protected:
// Used for constructing fake GCMProfileService for testing purpose.
GCMProfileService();
@@ -67,9 +59,6 @@ class GCMProfileService : public KeyedService {
scoped_ptr<GCMDriver> driver_;
- // Implementation of content::PushMessagingService using GCMProfileService.
- PushMessagingServiceImpl push_messaging_service_;
-
// Used for both account tracker and GCM.UserSignedIn UMA.
#if !defined(OS_ANDROID)
class IdentityObserver;
« no previous file with comments | « chrome/browser/services/gcm/fake_gcm_profile_service.cc ('k') | chrome/browser/services/gcm/gcm_profile_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698