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

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

Issue 11470028: Move screen capturers to remoting/capturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/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/capturer/capture_data.h"
alexeypa (please no reviews) 2012/12/12 19:53:10 nit: Do you still need the include?
Sergey Ulanov 2012/12/13 02:57:23 Done.
11 #include "remoting/proto/event.pb.h" 11 #include "remoting/proto/event.pb.h"
12 #include "remoting/protocol/transport.h" 12 #include "remoting/protocol/transport.h"
13 13
14 namespace remoting { 14 namespace remoting {
15 15
16 MockVideoFrameCapturer::MockVideoFrameCapturer() {}
17
18 MockVideoFrameCapturer::~MockVideoFrameCapturer() {}
19
20 MockVideoFrameCapturerDelegate::MockVideoFrameCapturerDelegate() {
21 }
22
23 MockVideoFrameCapturerDelegate::~MockVideoFrameCapturerDelegate() {
24 }
25
26 void MockVideoFrameCapturerDelegate::OnCursorShapeChanged(
27 scoped_ptr<protocol::CursorShapeInfo> cursor_shape) {
28 // Notify the mock method.
29 OnCursorShapeChangedPtr(cursor_shape.get());
30 }
31
32 MockDesktopEnvironmentFactory::MockDesktopEnvironmentFactory() 16 MockDesktopEnvironmentFactory::MockDesktopEnvironmentFactory()
33 : DesktopEnvironmentFactory(NULL, NULL) { 17 : DesktopEnvironmentFactory(NULL, NULL) {
34 } 18 }
35 19
36 MockDesktopEnvironmentFactory::~MockDesktopEnvironmentFactory() {} 20 MockDesktopEnvironmentFactory::~MockDesktopEnvironmentFactory() {}
37 21
38 scoped_ptr<DesktopEnvironment> MockDesktopEnvironmentFactory::Create( 22 scoped_ptr<DesktopEnvironment> MockDesktopEnvironmentFactory::Create(
39 ClientSession* client) { 23 ClientSession* client) {
40 return scoped_ptr<DesktopEnvironment>(CreatePtr(client)); 24 return scoped_ptr<DesktopEnvironment>(CreatePtr(client));
41 } 25 }
(...skipping 29 matching lines...) Expand all
71 55
72 MockClientSessionEventHandler::MockClientSessionEventHandler() {} 56 MockClientSessionEventHandler::MockClientSessionEventHandler() {}
73 57
74 MockClientSessionEventHandler::~MockClientSessionEventHandler() {} 58 MockClientSessionEventHandler::~MockClientSessionEventHandler() {}
75 59
76 MockHostStatusObserver::MockHostStatusObserver() {} 60 MockHostStatusObserver::MockHostStatusObserver() {}
77 61
78 MockHostStatusObserver::~MockHostStatusObserver() {} 62 MockHostStatusObserver::~MockHostStatusObserver() {}
79 63
80 } // namespace remoting 64 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698