summaryrefslogtreecommitdiffstats
path: root/remoting/host/setup/start_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/setup/start_host.cc')
-rw-r--r--remoting/host/setup/start_host.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/remoting/host/setup/start_host.cc b/remoting/host/setup/start_host.cc
index a089942..5257517 100644
--- a/remoting/host/setup/start_host.cc
+++ b/remoting/host/setup/start_host.cc
@@ -10,7 +10,9 @@
#include "base/run_loop.h"
#include "base/stringprintf.h"
#include "base/threading/thread.h"
+#include "google_apis/gaia/gaia_urls.h"
#include "net/url_request/url_request_context_getter.h"
+#include "remoting/host/service_urls.h"
#include "remoting/host/setup/host_starter.h"
#include "remoting/host/setup/oauth_helper.h"
#include "remoting/host/setup/pin_validator.h"
@@ -153,7 +155,10 @@ int main(int argc, char** argv) {
// Start the host.
scoped_ptr<HostStarter> host_starter(
- HostStarter::Create(url_request_context_getter));
+ HostStarter::Create(
+ GaiaUrls::GetInstance()->oauth2_token_url(),
+ remoting::ServiceUrls::GetInstance()->directory_hosts_url(),
+ url_request_context_getter));
if (redirect_url.empty()) {
redirect_url = remoting::GetDefaultOauthRedirectUrl();
}