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

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

Issue 10911248: Revert 156297 - [Chromoting] Refactoring DesktopEnvironment and moving screen/audio recorders to Cl… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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::Start( 33 void MockEventExecutor::OnSessionStarted(
34 scoped_ptr<protocol::ClipboardStub> client_clipboard) { 34 scoped_ptr<protocol::ClipboardStub> client_clipboard) {
35 StartPtr(client_clipboard.get()); 35 OnSessionStartedPtr(client_clipboard.get());
36 }
37
38 void MockEventExecutor::StopAndDelete() {
39 StopAndDeleteMock();
40 delete this;
41 } 36 }
42 37
43 MockDisconnectWindow::MockDisconnectWindow() {} 38 MockDisconnectWindow::MockDisconnectWindow() {}
44 39
45 MockDisconnectWindow::~MockDisconnectWindow() {} 40 MockDisconnectWindow::~MockDisconnectWindow() {}
46 41
47 scoped_ptr<DisconnectWindow> DisconnectWindow::Create() { 42 scoped_ptr<DisconnectWindow> DisconnectWindow::Create() {
48 return scoped_ptr<DisconnectWindow>(new MockDisconnectWindow()); 43 return scoped_ptr<DisconnectWindow>(new MockDisconnectWindow());
49 } 44 }
50 45
(...skipping 26 matching lines...) Expand all
77 72
78 MockHostStatusObserver::MockHostStatusObserver() {} 73 MockHostStatusObserver::MockHostStatusObserver() {}
79 74
80 MockHostStatusObserver::~MockHostStatusObserver() {} 75 MockHostStatusObserver::~MockHostStatusObserver() {}
81 76
82 MockUserAuthenticator::MockUserAuthenticator() {} 77 MockUserAuthenticator::MockUserAuthenticator() {}
83 78
84 MockUserAuthenticator::~MockUserAuthenticator() {} 79 MockUserAuthenticator::~MockUserAuthenticator() {}
85 80
86 } // namespace remoting 81 } // 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