commit | f8c5470dd7bfe253825cce3272a1bbba913190dd | [log] [tgz] |
---|---|---|
author | Antonio Gomes <[email protected]> | Fri Aug 31 20:15:52 2018 |
committer | Commit Bot <[email protected]> | Fri Aug 31 20:15:52 2018 |
tree | bd1a497eedadcd14617a6adc47a4c284a7504cb9 | |
parent | 9ce4948885ea3718cb2e8d150da06deb9911deef [diff] [blame] |
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())); }