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

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

Issue 10399052: [Chromoting] Add a filter that will stop the host sending unnecessary clipboard events to the clien… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync. Created 8 years, 7 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/protocol/host_control_dispatcher.h ('k') | remoting/remoting.gyp » ('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 <string> 8 #include <string>
9 9
10 #include "net/base/ip_endpoint.h" 10 #include "net/base/ip_endpoint.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 private: 111 private:
112 DISALLOW_COPY_AND_ASSIGN(MockHostStub); 112 DISALLOW_COPY_AND_ASSIGN(MockHostStub);
113 }; 113 };
114 114
115 class MockClientStub : public ClientStub { 115 class MockClientStub : public ClientStub {
116 public: 116 public:
117 MockClientStub(); 117 MockClientStub();
118 virtual ~MockClientStub(); 118 virtual ~MockClientStub();
119 119
120 MOCK_METHOD1(InjectClipboardEvent, void(const ClipboardEvent& event));
121
120 private: 122 private:
121 DISALLOW_COPY_AND_ASSIGN(MockClientStub); 123 DISALLOW_COPY_AND_ASSIGN(MockClientStub);
122 }; 124 };
123 125
124 class MockVideoStub : public VideoStub { 126 class MockVideoStub : public VideoStub {
125 public: 127 public:
126 MockVideoStub(); 128 MockVideoStub();
127 virtual ~MockVideoStub(); 129 virtual ~MockVideoStub();
128 130
129 MOCK_METHOD2(ProcessVideoPacketPtr, void(const VideoPacket* video_packet, 131 MOCK_METHOD2(ProcessVideoPacketPtr, void(const VideoPacket* video_packet,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 MOCK_METHOD0(Close, void()); 174 MOCK_METHOD0(Close, void());
173 175
174 private: 176 private:
175 DISALLOW_COPY_AND_ASSIGN(MockSession); 177 DISALLOW_COPY_AND_ASSIGN(MockSession);
176 }; 178 };
177 179
178 } // namespace protocol 180 } // namespace protocol
179 } // namespace remoting 181 } // namespace remoting
180 182
181 #endif // REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ 183 #endif // REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_
OLDNEW
« no previous file with comments | « remoting/protocol/host_control_dispatcher.h ('k') | remoting/remoting.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698