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

Unified Diff: remoting/host/clipboard_x11.cc

Issue 14314026: remoting: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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/client_session_unittest.cc ('k') | remoting/host/config_file_watcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/clipboard_x11.cc
diff --git a/remoting/host/clipboard_x11.cc b/remoting/host/clipboard_x11.cc
index eb952c180ba9d4fd9a0093a027c62efcb908c244..234dacf0f4b52e19419aaf90964cac1297664c11 100644
--- a/remoting/host/clipboard_x11.cc
+++ b/remoting/host/clipboard_x11.cc
@@ -17,7 +17,7 @@ namespace remoting {
// This code is expected to be called on the desktop thread only.
class ClipboardX11 : public Clipboard,
- public MessageLoopForIO::Watcher {
+ public base::MessageLoopForIO::Watcher {
public:
ClipboardX11();
virtual ~ClipboardX11();
@@ -48,7 +48,7 @@ class ClipboardX11 : public Clipboard,
Display* display_;
// Watcher used to handle X11 events from |display_|.
- MessageLoopForIO::FileDescriptorWatcher x_connection_watcher_;
+ base::MessageLoopForIO::FileDescriptorWatcher x_connection_watcher_;
DISALLOW_COPY_AND_ASSIGN(ClipboardX11);
};
@@ -75,9 +75,12 @@ void ClipboardX11::Start(
base::Bind(&ClipboardX11::OnClipboardChanged,
base::Unretained(this)));
- MessageLoopForIO::current()->WatchFileDescriptor(
- ConnectionNumber(display_), true, MessageLoopForIO::WATCH_READ,
- &x_connection_watcher_, this);
+ base::MessageLoopForIO::current()->WatchFileDescriptor(
+ ConnectionNumber(display_),
+ true,
+ base::MessageLoopForIO::WATCH_READ,
+ &x_connection_watcher_,
+ this);
PumpXEvents();
}
« no previous file with comments | « remoting/host/client_session_unittest.cc ('k') | remoting/host/config_file_watcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698