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

Unified Diff: components/gcm_driver/gcm_driver_desktop_unittest.cc

Issue 635073002: [GCM] Updates to GCMChannelStatusSyncer - UserAgent and server URL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_driver_desktop_unittest.cc
diff --git a/components/gcm_driver/gcm_driver_desktop_unittest.cc b/components/gcm_driver/gcm_driver_desktop_unittest.cc
index 4ce060ca70681d8dbf1912b2eab7046e6c4345b7..9715ad4a7d6b4751c04595bdc5ab54b07b9ae0b2 100644
--- a/components/gcm_driver/gcm_driver_desktop_unittest.cc
+++ b/components/gcm_driver/gcm_driver_desktop_unittest.cc
@@ -232,11 +232,13 @@ void GCMDriverTest::CreateDriver(
new net::TestURLRequestContextGetter(io_thread_.message_loop_proxy());
// TODO(johnme): Need equivalent test coverage of GCMDriverAndroid.
driver_.reset(new GCMDriverDesktop(
- scoped_ptr<GCMClientFactory>(new FakeGCMClientFactory(
- gcm_client_start_mode,
- base::MessageLoopProxy::current(),
- io_thread_.message_loop_proxy())).Pass(),
+ scoped_ptr<GCMClientFactory>(
+ new FakeGCMClientFactory(gcm_client_start_mode,
+ base::MessageLoopProxy::current(),
+ io_thread_.message_loop_proxy())).Pass(),
GCMClient::ChromeBuildInfo(),
+ "http://channel.status.request.url",
+ "user-agent-string",
&prefs_,
temp_dir_.path(),
request_context,

Powered by Google App Engine
This is Rietveld 408576698