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

Unified Diff: components/gcm_driver/gcm_channel_status_syncer.h

Issue 635073002: [GCM] Updates to GCMChannelStatusSyncer - UserAgent and server URL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing CR nits Created 6 years, 2 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: components/gcm_driver/gcm_channel_status_syncer.h
diff --git a/components/gcm_driver/gcm_channel_status_syncer.h b/components/gcm_driver/gcm_channel_status_syncer.h
index 83cfbda30cbf3b500d890420880ecbad81610e67..b4641afe5477b8e7c962dc58e0c56236ccaa9f9f 100644
--- a/components/gcm_driver/gcm_channel_status_syncer.h
+++ b/components/gcm_driver/gcm_channel_status_syncer.h
@@ -38,6 +38,8 @@ class GCMChannelStatusSyncer {
GCMChannelStatusSyncer(
GCMDriver* driver,
PrefService* prefs,
+ const std::string& channel_status_request_url,
+ const std::string& user_agent,
const scoped_refptr<net::URLRequestContextGetter>& request_context);
~GCMChannelStatusSyncer();
@@ -72,6 +74,8 @@ class GCMChannelStatusSyncer {
// GCMDriver owns GCMChannelStatusSyncer instance.
GCMDriver* driver_;
PrefService* prefs_;
+ const std::string channel_status_request_url_;
+ const std::string user_agent_;
scoped_refptr<net::URLRequestContextGetter> request_context_;
scoped_ptr<GCMChannelStatusRequest> request_;
« no previous file with comments | « components/gcm_driver/gcm_channel_status_request_unittest.cc ('k') | components/gcm_driver/gcm_channel_status_syncer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698