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

Unified Diff: remoting/host/chromoting_host.cc

Issue 19796006: Support service accounts in the chromoting host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/chromoting_host.cc
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
index 82f0d6e4b0a18acd624e2ad14b88c108ee0579f3..d7780f1d2d672faf6fc9748a7ece0623507d4807 100644
--- a/remoting/host/chromoting_host.cc
+++ b/remoting/host/chromoting_host.cc
@@ -109,13 +109,13 @@ ChromotingHost::~ChromotingHost() {
FOR_EACH_OBSERVER(HostStatusObserver, status_observers_, OnShutdown());
}
-void ChromotingHost::Start(const std::string& xmpp_login) {
+void ChromotingHost::Start(const std::string& host_owner) {
DCHECK(CalledOnValidThread());
DCHECK(!started_);
LOG(INFO) << "Starting host";
started_ = true;
- FOR_EACH_OBSERVER(HostStatusObserver, status_observers_, OnStart(xmpp_login));
+ FOR_EACH_OBSERVER(HostStatusObserver, status_observers_, OnStart(host_owner));
// Start the SessionManager, supplying this ChromotingHost as the listener.
session_manager_->Init(signal_strategy_, this);

Powered by Google App Engine
This is Rietveld 408576698