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

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

Issue 116533006: Control invalidations network channel from TiclInvalidationService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 12 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/invalidation/ticl_invalidation_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6231d71410d4fcbf18f0161528f31661818995dd..d5323afcda7c9e36c357d01766327e5b3e2e3ae3 100644
--- a/chrome/browser/invalidation/ticl_invalidation_service.h
+++ b/chrome/browser/invalidation/ticl_invalidation_service.h
@@ -93,10 +93,15 @@ class TiclInvalidationService
friend class TiclInvalidationServiceTestDelegate;
private:
+ enum InvalidationNetworkChannel {
+ PUSH_CLIENT_CHANNEL = 0,
+ GCM_NETWORK_CHANNEL = 1
+ };
+
bool IsReadyToStart();
bool IsStarted();
- void StartInvalidator();
+ void StartInvalidator(InvalidationNetworkChannel network_channel);
void UpdateInvalidatorCredentials();
void StopInvalidator();
void Logout();
« no previous file with comments | « no previous file | chrome/browser/invalidation/ticl_invalidation_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698