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

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

Issue 6489031: Run event executor on the ui thread to remove the need to explicitly XFlush() the XTest calls. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Removed unused gtk dependency. 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
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..9f8d7aeba7198305ce48fead565ba0f8b16c5c5b 100644
--- a/chrome/service/remoting/chromoting_host_manager.cc
+++ b/chrome/service/remoting/chromoting_host_manager.cc
@@ -20,7 +20,7 @@ ChromotingHostManager::ChromotingHostManager(Observer* observer)
}
void ChromotingHostManager::Initialize(
- MessageLoop* main_message_loop,
+ MessageLoopForUI* main_message_loop,
base::MessageLoopProxy* file_message_loop) {
FilePath user_data_dir;
PathService::Get(chrome::DIR_USER_DATA, &user_data_dir);
@@ -165,7 +165,8 @@ void ChromotingHostManager::Start() {
return;
// Start the chromoting context first.
- chromoting_context_.reset(new remoting::ChromotingHostContext());
+ chromoting_context_.reset(
+ new remoting::ChromotingHostContext(main_message_loop_));
chromoting_context_->Start();
// Create a chromoting host object.

Powered by Google App Engine
This is Rietveld 408576698