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

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

Issue 10799013: Removing unused and private methods remoting::Capturer interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 5 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 | « no previous file | remoting/host/screen_recorder.cc » ('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 #ifndef REMOTING_HOST_HOST_MOCK_OBJECTS_H_ 5 #ifndef REMOTING_HOST_HOST_MOCK_OBJECTS_H_
6 #define REMOTING_HOST_HOST_MOCK_OBJECTS_H_ 6 #define REMOTING_HOST_HOST_MOCK_OBJECTS_H_
7 7
8 #include "net/base/ip_endpoint.h" 8 #include "net/base/ip_endpoint.h"
9 #include "remoting/host/video_frame_capturer.h" 9 #include "remoting/host/video_frame_capturer.h"
10 #include "remoting/host/chromoting_host_context.h" 10 #include "remoting/host/chromoting_host_context.h"
(...skipping 20 matching lines...) Expand all
31 DISALLOW_COPY_AND_ASSIGN(MockCaptureCompletedCallback); 31 DISALLOW_COPY_AND_ASSIGN(MockCaptureCompletedCallback);
32 }; 32 };
33 33
34 class MockVideoFrameCapturer : public VideoFrameCapturer { 34 class MockVideoFrameCapturer : public VideoFrameCapturer {
35 public: 35 public:
36 MockVideoFrameCapturer(); 36 MockVideoFrameCapturer();
37 virtual ~MockVideoFrameCapturer(); 37 virtual ~MockVideoFrameCapturer();
38 38
39 MOCK_METHOD1(Start, void(const CursorShapeChangedCallback& callback)); 39 MOCK_METHOD1(Start, void(const CursorShapeChangedCallback& callback));
40 MOCK_METHOD0(Stop, void()); 40 MOCK_METHOD0(Stop, void());
41 MOCK_METHOD0(ScreenConfigurationChanged, void());
42 MOCK_CONST_METHOD0(pixel_format, media::VideoFrame::Format()); 41 MOCK_CONST_METHOD0(pixel_format, media::VideoFrame::Format());
43 MOCK_METHOD0(ClearInvalidRegion, void());
44 MOCK_METHOD1(InvalidateRegion, void(const SkRegion& invalid_region)); 42 MOCK_METHOD1(InvalidateRegion, void(const SkRegion& invalid_region));
45 MOCK_METHOD1(InvalidateScreen, void(const SkISize&));
46 MOCK_METHOD0(InvalidateFullScreen, void());
47 MOCK_METHOD1(CaptureInvalidRegion, 43 MOCK_METHOD1(CaptureInvalidRegion,
48 void(const CaptureCompletedCallback& callback)); 44 void(const CaptureCompletedCallback& callback));
49 MOCK_CONST_METHOD0(size_most_recent, const SkISize&()); 45 MOCK_CONST_METHOD0(size_most_recent, const SkISize&());
50 46
51 private: 47 private:
52 DISALLOW_COPY_AND_ASSIGN(MockVideoFrameCapturer); 48 DISALLOW_COPY_AND_ASSIGN(MockVideoFrameCapturer);
53 }; 49 };
54 50
55 class MockDisconnectWindow : public DisconnectWindow { 51 class MockDisconnectWindow : public DisconnectWindow {
56 public: 52 public:
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 MOCK_METHOD2(Authenticate, bool(const std::string& username, 161 MOCK_METHOD2(Authenticate, bool(const std::string& username,
166 const std::string& password)); 162 const std::string& password));
167 163
168 private: 164 private:
169 DISALLOW_COPY_AND_ASSIGN(MockUserAuthenticator); 165 DISALLOW_COPY_AND_ASSIGN(MockUserAuthenticator);
170 }; 166 };
171 167
172 } // namespace remoting 168 } // namespace remoting
173 169
174 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_ 170 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/host/screen_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698