Migrate GCMChannelStatusRequest to SimpleURLLoader
Bug: 844933
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I0f23e77a0907b8def0c4f962cea7910fbc75469f
Reviewed-on: https://chromium-review.googlesource.com/1113669
Commit-Queue: Mark Pilgrim <[email protected]>
Reviewed-by: Jian Li <[email protected]>
Reviewed-by: Lei Zhang <[email protected]>
Reviewed-by: Matt Menke <[email protected]>
Reviewed-by: Rohit Rao <[email protected]>
Cr-Commit-Position: refs/heads/master@{#570872}
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index 4f553cc..066375e 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -1316,8 +1316,9 @@
gcm_driver_ = gcm::CreateGCMDriverDesktop(
base::WrapUnique(new gcm::GCMClientFactory), local_state(), store_path,
- system_request_context(), chrome::GetChannel(),
- gcm::GetProductCategoryForSubtypes(local_state()),
+ system_request_context(),
+ system_network_context_manager()->GetSharedURLLoaderFactory(),
+ chrome::GetChannel(), gcm::GetProductCategoryForSubtypes(local_state()),
content::BrowserThread::GetTaskRunnerForThread(
content::BrowserThread::UI),
content::BrowserThread::GetTaskRunnerForThread(