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

Unified Diff: chrome/browser/invalidation/ticl_invalidation_service.h

Issue 238983007: Provide GCMService to TiclInvalidationService as an explicit dependency (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. 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/invalidation/ticl_invalidation_service.h
diff --git a/chrome/browser/invalidation/ticl_invalidation_service.h b/chrome/browser/invalidation/ticl_invalidation_service.h
index c3af5715b2282895b8fcb7388c61e78e0306feb0..6b99a90212d362d9601fa36461675ed1cc30c305 100644
--- a/chrome/browser/invalidation/ticl_invalidation_service.h
+++ b/chrome/browser/invalidation/ticl_invalidation_service.h
@@ -25,6 +25,10 @@
class Profile;
+namespace gcm {
+class GCMService;
+}
+
namespace net {
class URLRequestContextGetter;
}
@@ -57,6 +61,7 @@ class TiclInvalidationService : public base::NonThreadSafe,
TiclInvalidationService(
scoped_ptr<IdentityProvider> identity_provider,
+ gcm::GCMService* gcm_service,
const scoped_refptr<net::URLRequestContextGetter>& request_context,
Profile* profile);
virtual ~TiclInvalidationService();
@@ -145,6 +150,7 @@ class TiclInvalidationService : public base::NonThreadSafe,
PrefChangeRegistrar pref_change_registrar_;
InvalidationNetworkChannel network_channel_type_;
+ gcm::GCMService* gcm_service_;
scoped_ptr<GCMInvalidationBridge> gcm_invalidation_bridge_;
scoped_refptr<net::URLRequestContextGetter> request_context_;
« no previous file with comments | « chrome/browser/invalidation/invalidation_service_factory.cc ('k') | chrome/browser/invalidation/ticl_invalidation_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698