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

Side by Side Diff: remoting/host/local_input_monitor_linux.cc

Issue 12207034: Linux/ChromeOS Chromium style checker cleanup, remoting/ edition. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/host/local_input_monitor.h" 5 #include "remoting/host/local_input_monitor.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "remoting/host/local_input_monitor_thread_linux.h" 9 #include "remoting/host/local_input_monitor_thread_linux.h"
10 10
11 namespace remoting { 11 namespace remoting {
12 12
13 namespace { 13 namespace {
14 14
15 class LocalInputMonitorLinux : public LocalInputMonitor { 15 class LocalInputMonitorLinux : public LocalInputMonitor {
16 public: 16 public:
17 LocalInputMonitorLinux(); 17 LocalInputMonitorLinux();
18 ~LocalInputMonitorLinux(); 18 virtual ~LocalInputMonitorLinux();
19 19
20 virtual void Start(MouseMoveObserver* mouse_move_observer, 20 virtual void Start(MouseMoveObserver* mouse_move_observer,
21 const base::Closure& disconnect_callback) OVERRIDE; 21 const base::Closure& disconnect_callback) OVERRIDE;
22 virtual void Stop() OVERRIDE; 22 virtual void Stop() OVERRIDE;
23 23
24 private: 24 private:
25 LocalInputMonitorThread* thread_; 25 LocalInputMonitorThread* thread_;
26 }; 26 };
27 27
28 LocalInputMonitorLinux::LocalInputMonitorLinux() 28 LocalInputMonitorLinux::LocalInputMonitorLinux()
(...skipping 21 matching lines...) Expand all
50 thread_ = 0; 50 thread_ = 0;
51 } 51 }
52 52
53 } // namespace 53 } // namespace
54 54
55 scoped_ptr<LocalInputMonitor> LocalInputMonitor::Create() { 55 scoped_ptr<LocalInputMonitor> LocalInputMonitor::Create() {
56 return scoped_ptr<LocalInputMonitor>(new LocalInputMonitorLinux()); 56 return scoped_ptr<LocalInputMonitor>(new LocalInputMonitorLinux());
57 } 57 }
58 58
59 } // namespace remoting 59 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/client/plugin/pepper_packet_socket_factory.cc ('k') | remoting/host/local_input_monitor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698