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

Unified Diff: components/gcm_driver/gcm_channel_status_request.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_request.h
diff --git a/components/gcm_driver/gcm_channel_status_request.h b/components/gcm_driver/gcm_channel_status_request.h
index e5635e0a00470d9b0f6144069ad42a53b92babae..c2f41932e865cd5a16e4837a2d11aa426af2ef43 100644
--- a/components/gcm_driver/gcm_channel_status_request.h
+++ b/components/gcm_driver/gcm_channel_status_request.h
@@ -31,6 +31,8 @@ class GCMChannelStatusRequest : public net::URLFetcherDelegate {
GCMChannelStatusRequest(
const scoped_refptr<net::URLRequestContextGetter>& request_context_getter,
+ const std::string& channel_status_request_url,
+ const std::string& user_agent,
const GCMChannelStatusRequestCallback& callback);
virtual ~GCMChannelStatusRequest();
@@ -47,6 +49,8 @@ class GCMChannelStatusRequest : public net::URLFetcherDelegate {
void RetryWithBackoff(bool update_backoff);
scoped_refptr<net::URLRequestContextGetter> request_context_getter_;
+ const std::string channel_status_request_url_;
+ const std::string user_agent_;
GCMChannelStatusRequestCallback callback_;
scoped_ptr<net::URLFetcher> url_fetcher_;
net::BackoffEntry backoff_entry_;
« no previous file with comments | « chrome/browser/services/gcm/gcm_desktop_utils.cc ('k') | components/gcm_driver/gcm_channel_status_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698