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

Unified Diff: sync/notifier/non_blocking_invalidator.h

Issue 140513002: Client-to-server messages in GCMNetworkChannel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix mac build error (for real) 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 | « sync/notifier/gcm_network_channel_unittest.cc ('k') | sync/notifier/non_blocking_invalidator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/non_blocking_invalidator.h
diff --git a/sync/notifier/non_blocking_invalidator.h b/sync/notifier/non_blocking_invalidator.h
index 7de6d9517393d824180e565e880a4c70b093a720..1b2e072d6f88de239afc5201ec8512c393d346b9 100644
--- a/sync/notifier/non_blocking_invalidator.h
+++ b/sync/notifier/non_blocking_invalidator.h
@@ -29,6 +29,7 @@ class SingleThreadTaskRunner;
namespace syncer {
class SyncNetworkChannel;
+class GCMNetworkChannelDelegate;
// Callback type for function that creates SyncNetworkChannel. This function
// gets passed into NonBlockingInvalidator constructor.
@@ -74,7 +75,9 @@ class SYNC_EXPORT_PRIVATE NonBlockingInvalidator
// channel implementation to client of invalidator.
static NetworkChannelCreator MakePushClientChannelCreator(
const notifier::NotifierOptions& notifier_options);
- static NetworkChannelCreator MakeGCMNetworkChannelCreator();
+ static NetworkChannelCreator MakeGCMNetworkChannelCreator(
+ scoped_refptr<net::URLRequestContextGetter> request_context_getter,
+ scoped_ptr<GCMNetworkChannelDelegate> delegate);
private:
struct InitializeOptions;
class Core;
« no previous file with comments | « sync/notifier/gcm_network_channel_unittest.cc ('k') | sync/notifier/non_blocking_invalidator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698