OLD | NEW |
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/me2me_desktop_environment.h" | 5 #include "remoting/host/me2me_desktop_environment.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "media/video/capture/screen/screen_capturer.h" | 8 #include "media/video/capture/screen/screen_capturer.h" |
9 #include "remoting/host/audio_capturer.h" | |
10 #include "remoting/host/desktop_resizer.h" | 9 #include "remoting/host/desktop_resizer.h" |
11 #include "remoting/host/event_executor.h" | |
12 #include "remoting/host/resizing_host_observer.h" | 10 #include "remoting/host/resizing_host_observer.h" |
13 #include "remoting/host/session_controller.h" | 11 #include "remoting/host/session_controller.h" |
14 | 12 |
15 namespace remoting { | 13 namespace remoting { |
16 | 14 |
17 Me2MeDesktopEnvironment::~Me2MeDesktopEnvironment() { | 15 Me2MeDesktopEnvironment::~Me2MeDesktopEnvironment() { |
18 DCHECK(CalledOnValidThread()); | 16 DCHECK(CalledOnValidThread()); |
19 } | 17 } |
20 | 18 |
21 scoped_ptr<SessionController> | 19 scoped_ptr<SessionController> |
(...skipping 26 matching lines...) Expand all Loading... |
48 Me2MeDesktopEnvironmentFactory::~Me2MeDesktopEnvironmentFactory() { | 46 Me2MeDesktopEnvironmentFactory::~Me2MeDesktopEnvironmentFactory() { |
49 } | 47 } |
50 | 48 |
51 scoped_ptr<DesktopEnvironment> Me2MeDesktopEnvironmentFactory::Create( | 49 scoped_ptr<DesktopEnvironment> Me2MeDesktopEnvironmentFactory::Create( |
52 const std::string& client_jid, | 50 const std::string& client_jid, |
53 const base::Closure& disconnect_callback) { | 51 const base::Closure& disconnect_callback) { |
54 return scoped_ptr<DesktopEnvironment>(new Me2MeDesktopEnvironment()); | 52 return scoped_ptr<DesktopEnvironment>(new Me2MeDesktopEnvironment()); |
55 } | 53 } |
56 | 54 |
57 } // namespace remoting | 55 } // namespace remoting |
OLD | NEW |