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

Side by Side Diff: remoting/protocol/protocol_mock_objects.h

Issue 12220092: Rename ClientDimensions to ClientResolution and add pixel-size and DPI fields. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typos in ChromotingInstance. Created 7 years, 10 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
« remoting/proto/internal.proto ('K') | « remoting/protocol/host_stub.h ('k') | no next file » | 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_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ 5 #ifndef REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_
6 #define REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ 6 #define REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "net/base/ip_endpoint.h" 10 #include "net/base/ip_endpoint.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 private: 96 private:
97 DISALLOW_COPY_AND_ASSIGN(MockInputStub); 97 DISALLOW_COPY_AND_ASSIGN(MockInputStub);
98 }; 98 };
99 99
100 class MockHostStub : public HostStub { 100 class MockHostStub : public HostStub {
101 public: 101 public:
102 MockHostStub(); 102 MockHostStub();
103 virtual ~MockHostStub(); 103 virtual ~MockHostStub();
104 104
105 MOCK_METHOD1(NotifyClientDimensions, 105 MOCK_METHOD1(NotifyClientResolution,
106 void(const ClientDimensions& dimensions)); 106 void(const ClientResolution& resolution));
107 MOCK_METHOD1(ControlVideo, 107 MOCK_METHOD1(ControlVideo,
108 void(const VideoControl& video_control)); 108 void(const VideoControl& video_control));
109 MOCK_METHOD1(ControlAudio, 109 MOCK_METHOD1(ControlAudio,
110 void(const AudioControl& audio_control)); 110 void(const AudioControl& audio_control));
111 111
112 private: 112 private:
113 DISALLOW_COPY_AND_ASSIGN(MockHostStub); 113 DISALLOW_COPY_AND_ASSIGN(MockHostStub);
114 }; 114 };
115 115
116 class MockClientStub : public ClientStub { 116 class MockClientStub : public ClientStub {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 }; 194 };
195 195
196 private: 196 private:
197 DISALLOW_COPY_AND_ASSIGN(MockSessionManager); 197 DISALLOW_COPY_AND_ASSIGN(MockSessionManager);
198 }; 198 };
199 199
200 } // namespace protocol 200 } // namespace protocol
201 } // namespace remoting 201 } // namespace remoting
202 202
203 #endif // REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ 203 #endif // REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_
OLDNEW
« remoting/proto/internal.proto ('K') | « remoting/protocol/host_stub.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698