Migrate remoting::ServiceClient to SimpleURLLoader

[email protected] (for tools/traffic_annotation/summary/annotations.xml)

BUG=773295

Change-Id: Id47e63bd76376712ab8f0a8a68edd501d8db4227
Reviewed-on: https://chromium-review.googlesource.com/1197045
Commit-Queue: Antonio Gomes <[email protected]>
Reviewed-by: Joe Downing <[email protected]>
Reviewed-by: Matt Menke <[email protected]>
Cr-Commit-Position: refs/heads/master@{#588143}
diff --git a/remoting/host/setup/host_starter.cc b/remoting/host/setup/host_starter.cc
index 7790aead..4472d1e 100644
--- a/remoting/host/setup/host_starter.cc
+++ b/remoting/host/setup/host_starter.cc
@@ -43,12 +43,11 @@
 
 std::unique_ptr<HostStarter> HostStarter::Create(
     const std::string& chromoting_hosts_url,
-    scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory,
-    net::URLRequestContextGetter* url_request_context_getter) {
+    scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory) {
   return base::WrapUnique(new HostStarter(
       std::make_unique<gaia::GaiaOAuthClient>(url_loader_factory),
       std::make_unique<remoting::ServiceClient>(chromoting_hosts_url,
-                                                url_request_context_getter),
+                                                url_loader_factory),
       remoting::DaemonController::Create()));
 }