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

Unified Diff: remoting/host/host_user_interface.h

Issue 10572005: Use SingleThreadTaskRunner instead of MessageLoopProxy in remoting/host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | « remoting/host/host_mock_objects.h ('k') | remoting/host/host_user_interface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_user_interface.h
diff --git a/remoting/host/host_user_interface.h b/remoting/host/host_user_interface.h
index 942cd2a2b920241c0ec0e563464b7d18a5b991e2..ce509b8aaddba52dadbed0629842fc78645671a4 100644
--- a/remoting/host/host_user_interface.h
+++ b/remoting/host/host_user_interface.h
@@ -12,9 +12,12 @@
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
-#include "base/message_loop_proxy.h"
#include "remoting/host/host_status_observer.h"
+namespace base {
+class SingleThreadTaskRunner;
+} // namespace base
+
namespace remoting {
class ChromotingHost;
@@ -44,9 +47,8 @@ class HostUserInterface : public HostStatusObserver {
}
ChromotingHost* get_host() const { return host_; }
- // Message loop accessors.
- base::MessageLoopProxy* network_message_loop() const;
- base::MessageLoopProxy* ui_message_loop() const;
+ base::SingleThreadTaskRunner* network_task_runner() const;
+ base::SingleThreadTaskRunner* ui_task_runner() const;
// Invokes the session disconnect callback passed to Start().
void DisconnectSession() const;
« no previous file with comments | « remoting/host/host_mock_objects.h ('k') | remoting/host/host_user_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698