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

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

Issue 10915206: [Chromoting] Refactoring DesktopEnvironment and moving screen/audio recorders to ClientSession. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 3 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
« no previous file with comments | « remoting/host/host_mock_objects.h ('k') | remoting/host/plugin/host_script_object.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/host_mock_objects.h" 5 #include "remoting/host/host_mock_objects.h"
6 6
7 #include "base/message_loop_proxy.h" 7 #include "base/message_loop_proxy.h"
8 #include "net/base/ip_endpoint.h" 8 #include "net/base/ip_endpoint.h"
9 #include "remoting/base/auto_thread_task_runner.h" 9 #include "remoting/base/auto_thread_task_runner.h"
10 #include "remoting/base/capture_data.h" 10 #include "remoting/base/capture_data.h"
(...skipping 12 matching lines...) Expand all
23 23
24 void MockCaptureCompletedCallback::CaptureCompleted( 24 void MockCaptureCompletedCallback::CaptureCompleted(
25 scoped_refptr<CaptureData> capture_data) { 25 scoped_refptr<CaptureData> capture_data) {
26 CaptureCompletedPtr(capture_data.get()); 26 CaptureCompletedPtr(capture_data.get());
27 } 27 }
28 28
29 MockEventExecutor::MockEventExecutor() {} 29 MockEventExecutor::MockEventExecutor() {}
30 30
31 MockEventExecutor::~MockEventExecutor() {} 31 MockEventExecutor::~MockEventExecutor() {}
32 32
33 void MockEventExecutor::OnSessionStarted( 33 void MockEventExecutor::Start(
34 scoped_ptr<protocol::ClipboardStub> client_clipboard) { 34 scoped_ptr<protocol::ClipboardStub> client_clipboard) {
35 OnSessionStartedPtr(client_clipboard.get()); 35 StartPtr(client_clipboard.get());
36 }
37
38 void MockEventExecutor::StopAndDelete() {
39 StopAndDeleteMock();
40 delete this;
36 } 41 }
37 42
38 MockDisconnectWindow::MockDisconnectWindow() {} 43 MockDisconnectWindow::MockDisconnectWindow() {}
39 44
40 MockDisconnectWindow::~MockDisconnectWindow() {} 45 MockDisconnectWindow::~MockDisconnectWindow() {}
41 46
42 scoped_ptr<DisconnectWindow> DisconnectWindow::Create() { 47 scoped_ptr<DisconnectWindow> DisconnectWindow::Create() {
43 return scoped_ptr<DisconnectWindow>(new MockDisconnectWindow()); 48 return scoped_ptr<DisconnectWindow>(new MockDisconnectWindow());
44 } 49 }
45 50
(...skipping 26 matching lines...) Expand all
72 77
73 MockHostStatusObserver::MockHostStatusObserver() {} 78 MockHostStatusObserver::MockHostStatusObserver() {}
74 79
75 MockHostStatusObserver::~MockHostStatusObserver() {} 80 MockHostStatusObserver::~MockHostStatusObserver() {}
76 81
77 MockUserAuthenticator::MockUserAuthenticator() {} 82 MockUserAuthenticator::MockUserAuthenticator() {}
78 83
79 MockUserAuthenticator::~MockUserAuthenticator() {} 84 MockUserAuthenticator::~MockUserAuthenticator() {}
80 85
81 } // namespace remoting 86 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/host_mock_objects.h ('k') | remoting/host/plugin/host_script_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698