summaryrefslogtreecommitdiffstats
path: root/remoting/host/setup/host_starter.h
diff options
context:
space:
mode:
authorsimonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-18 19:00:04 +0000
committersimonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-18 19:00:04 +0000
commit33c431a74102ef54624dc9c9ff603dcb4a7d3894 (patch)
tree74f24e0a75c5fbafa99a65db516412ba0c75addd /remoting/host/setup/host_starter.h
parent6664ea4821ed6899174293520d9b2bbf7f685b00 (diff)
downloadchromium_src-33c431a74102ef54624dc9c9ff603dcb4a7d3894.zip
chromium_src-33c431a74102ef54624dc9c9ff603dcb4a7d3894.tar.gz
chromium_src-33c431a74102ef54624dc9c9ff603dcb4a7d3894.tar.bz2
[Chromoting] Let the Linux start-host app take a redirect-URL parameter.
This lets us change the flow that produces an OAuth authorization code. BUG=155431 Review URL: https://chromiumcodereview.appspot.com/11185037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162752 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/setup/host_starter.h')
-rw-r--r--remoting/host/setup/host_starter.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/remoting/host/setup/host_starter.h b/remoting/host/setup/host_starter.h
index 508e13a..11b2df1 100644
--- a/remoting/host/setup/host_starter.h
+++ b/remoting/host/setup/host_starter.h
@@ -42,8 +42,11 @@ class HostStarter :
// Registers a new host with the Chromoting service, and starts it.
// |auth_code| must be a valid OAuth2 authorization code, typically acquired
// from a browser. This method uses that code to get an OAuth2 refresh token.
- void StartHost(const std::string& host_name, const std::string& host_pin,
- bool consent_to_data_collection, const std::string& auth_code,
+ void StartHost(const std::string& host_name,
+ const std::string& host_pin,
+ bool consent_to_data_collection,
+ const std::string& auth_code,
+ const std::string& redirect_url,
CompletionCallback on_done);
// gaia::GaiaOAuthClient::Delegate