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

Unified Diff: sync/notifier/gcm_network_channel.h

Issue 182333003: Build correct URL for cacheinvalidation endpoint. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@RollCacheInvalidations
Patch Set: Created 6 years, 10 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 | sync/notifier/gcm_network_channel.cc » ('j') | sync/notifier/gcm_network_channel.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/gcm_network_channel.h
diff --git a/sync/notifier/gcm_network_channel.h b/sync/notifier/gcm_network_channel.h
index b2e541d9867c1a29f937148e45d8617f39138719..7759c12c4b1d71f378e6ae71493990da2f177340 100644
--- a/sync/notifier/gcm_network_channel.h
+++ b/sync/notifier/gcm_network_channel.h
@@ -48,13 +48,14 @@ class SYNC_EXPORT_PRIVATE GCMNetworkChannel
const net::BackoffEntry::Policy* policy);
private:
+ friend class GCMNetworkChannelTest;
void Register();
void OnRegisterComplete(const std::string& registration_id,
gcm::GCMClient::Result result);
void RequestAccessToken();
void OnGetTokenComplete(const GoogleServiceAuthError& error,
const std::string& token);
- GURL BuildUrl();
+ static GURL BuildUrl(const std::string& registration_id);
scoped_refptr<net::URLRequestContextGetter> request_context_getter_;
scoped_ptr<GCMNetworkChannelDelegate> delegate_;
« no previous file with comments | « no previous file | sync/notifier/gcm_network_channel.cc » ('j') | sync/notifier/gcm_network_channel.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698