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

Unified Diff: sync/notifier/sync_system_resources.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/non_blocking_invalidator.cc ('k') | sync/notifier/sync_system_resources.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/sync_system_resources.h
diff --git a/sync/notifier/sync_system_resources.h b/sync/notifier/sync_system_resources.h
index 22fcb96c2cf15f7d5108c21cea31875654f68f06..14711dd9b238bd56dc7350d2bb2a9b45c532cc4b 100644
--- a/sync/notifier/sync_system_resources.h
+++ b/sync/notifier/sync_system_resources.h
@@ -26,6 +26,8 @@
namespace syncer {
+class GCMNetworkChannelDelegate;
+
class SyncLogger : public invalidation::Logger {
public:
SyncLogger();
@@ -123,7 +125,9 @@ class SYNC_EXPORT_PRIVATE SyncNetworkChannel
// specific parameters.
static scoped_ptr<SyncNetworkChannel> CreatePushClientChannel(
const notifier::NotifierOptions& notifier_options);
- static scoped_ptr<SyncNetworkChannel> CreateGCMNetworkChannel();
+ static scoped_ptr<SyncNetworkChannel> CreateGCMNetworkChannel(
+ scoped_refptr<net::URLRequestContextGetter> request_context_getter,
+ scoped_ptr<GCMNetworkChannelDelegate> delegate);
const std::string& GetServiceContextForTest() const;
« no previous file with comments | « sync/notifier/non_blocking_invalidator.cc ('k') | sync/notifier/sync_system_resources.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698