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

Unified Diff: chrome/service/remoting/chromoting_host_manager.cc

Issue 6532023: Fix service process to not idle-timeout if Chromoting is enabled. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/remoting/chromoting_host_manager.cc
diff --git a/chrome/service/remoting/chromoting_host_manager.cc b/chrome/service/remoting/chromoting_host_manager.cc
index 3b73a9f913e310272aed40128c87356fda721de0..c2621b989a6133a0bdfc1f8a40e0d566e03190ce 100644
--- a/chrome/service/remoting/chromoting_host_manager.cc
+++ b/chrome/service/remoting/chromoting_host_manager.cc
@@ -40,6 +40,11 @@ void ChromotingHostManager::Initialize(
}
if (IsEnabled()) {
+ // TODO(wez): Need to callback the Observer so that ServiceProcess
+ // knows to stay alive to service Chromoting requests.
+ // This will go away once we have a more consistent model for the
+ // service process internals.
+ observer_->OnChromotingHostEnabled();
Start();
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698