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

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

Issue 1844143002: Add VideoLayout message. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « remoting/protocol/ice_connection_to_host.cc ('k') | remoting/protocol/video_frame_pump.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 #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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 class MockClientStub : public ClientStub { 115 class MockClientStub : public ClientStub {
116 public: 116 public:
117 MockClientStub(); 117 MockClientStub();
118 ~MockClientStub() override; 118 ~MockClientStub() override;
119 119
120 // ClientStub mock implementation. 120 // ClientStub mock implementation.
121 MOCK_METHOD1(SetCapabilities, void(const Capabilities& capabilities)); 121 MOCK_METHOD1(SetCapabilities, void(const Capabilities& capabilities));
122 MOCK_METHOD1(SetPairingResponse, 122 MOCK_METHOD1(SetPairingResponse,
123 void(const PairingResponse& pairing_response)); 123 void(const PairingResponse& pairing_response));
124 MOCK_METHOD1(DeliverHostMessage, void(const ExtensionMessage& message)); 124 MOCK_METHOD1(DeliverHostMessage, void(const ExtensionMessage& message));
125 MOCK_METHOD1(SetVideoLayout, void(const VideoLayout& layout));
125 126
126 // ClipboardStub mock implementation. 127 // ClipboardStub mock implementation.
127 MOCK_METHOD1(InjectClipboardEvent, void(const ClipboardEvent& event)); 128 MOCK_METHOD1(InjectClipboardEvent, void(const ClipboardEvent& event));
128 129
129 // CursorShapeStub mock implementation. 130 // CursorShapeStub mock implementation.
130 MOCK_METHOD1(SetCursorShape, void(const CursorShapeInfo& cursor_shape)); 131 MOCK_METHOD1(SetCursorShape, void(const CursorShapeInfo& cursor_shape));
131 132
132 private: 133 private:
133 DISALLOW_COPY_AND_ASSIGN(MockClientStub); 134 DISALLOW_COPY_AND_ASSIGN(MockClientStub);
134 }; 135 };
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 // Runs tasks synchronously instead of posting them to |task_runner|. 235 // Runs tasks synchronously instead of posting them to |task_runner|.
235 void PostTask(const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, 236 void PostTask(const scoped_refptr<base::SingleThreadTaskRunner>& task_runner,
236 const tracked_objects::Location& from_here, 237 const tracked_objects::Location& from_here,
237 const base::Closure& task) override; 238 const base::Closure& task) override;
238 }; 239 };
239 240
240 } // namespace protocol 241 } // namespace protocol
241 } // namespace remoting 242 } // namespace remoting
242 243
243 #endif // REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ 244 #endif // REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_
OLDNEW
« no previous file with comments | « remoting/protocol/ice_connection_to_host.cc ('k') | remoting/protocol/video_frame_pump.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698