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

Side by Side Diff: remoting/host/desktop_environment.h

Issue 10440107: Replace ScopedThreadProxy with MessageLoopProxy & WeakPtrs. (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 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 #ifndef REMOTING_HOST_DESKTOP_ENVIRONMENT_H_ 5 #ifndef REMOTING_HOST_DESKTOP_ENVIRONMENT_H_
6 #define REMOTING_HOST_DESKTOP_ENVIRONMENT_H_ 6 #define REMOTING_HOST_DESKTOP_ENVIRONMENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/time.h" 13 #include "base/time.h"
14 #include "remoting/base/scoped_thread_proxy.h"
15 #include "remoting/host/event_executor.h" 14 #include "remoting/host/event_executor.h"
16 15
17 namespace remoting { 16 namespace remoting {
18 17
19 class Capturer; 18 class Capturer;
20 class ChromotingHostContext; 19 class ChromotingHostContext;
21 20
22 namespace protocol { 21 namespace protocol {
23 class HostEventStub; 22 class HostEventStub;
24 }; 23 };
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 58
60 // Executes input and clipboard events received from the client. 59 // Executes input and clipboard events received from the client.
61 scoped_ptr<EventExecutor> event_executor_; 60 scoped_ptr<EventExecutor> event_executor_;
62 61
63 DISALLOW_COPY_AND_ASSIGN(DesktopEnvironment); 62 DISALLOW_COPY_AND_ASSIGN(DesktopEnvironment);
64 }; 63 };
65 64
66 } // namespace remoting 65 } // namespace remoting
67 66
68 #endif // REMOTING_HOST_DESKTOP_ENVIRONMENT_H_ 67 #endif // REMOTING_HOST_DESKTOP_ENVIRONMENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698