Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Unified Diff: remoting/host/setup/service_client.h

Issue 22992002: Service account setup for headless Linux hosts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/host/setup/service_client.h
diff --git a/remoting/host/setup/service_client.h b/remoting/host/setup/service_client.h
index 5ae214450717f564364593bbe7fa0c0abb8f2fef..eaa26abdc384c41187194cb08f319bada549656d 100644
--- a/remoting/host/setup/service_client.h
+++ b/remoting/host/setup/service_client.h
@@ -22,7 +22,7 @@ class ServiceClient {
class Delegate {
public:
// Invoked when a host has been registered.
- virtual void OnHostRegistered() = 0;
+ virtual void OnHostRegistered(const std::string& authorization_code) = 0;
// Invoked when a host has been unregistered.
virtual void OnHostUnregistered() = 0;
// Invoked when there is an OAuth error.
@@ -42,6 +42,7 @@ class ServiceClient {
void RegisterHost(const std::string& host_id,
const std::string& host_name,
const std::string& public_key,
+ const std::string& host_client_id,
const std::string& oauth_access_token,
Delegate* delegate);
// Unregister a host.

Powered by Google App Engine
This is Rietveld 408576698