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

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

Issue 10223019: Add ClientDimensions message to control channel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing HostMockStub method. 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_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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 private: 97 private:
98 DISALLOW_COPY_AND_ASSIGN(MockHostEventStub); 98 DISALLOW_COPY_AND_ASSIGN(MockHostEventStub);
99 }; 99 };
100 100
101 class MockHostStub : public HostStub { 101 class MockHostStub : public HostStub {
102 public: 102 public:
103 MockHostStub(); 103 MockHostStub();
104 virtual ~MockHostStub(); 104 virtual ~MockHostStub();
105 105
106 MOCK_METHOD1(NotifyClientDimensions,
107 void(const ClientDimensions& dimensions));
108
106 private: 109 private:
107 DISALLOW_COPY_AND_ASSIGN(MockHostStub); 110 DISALLOW_COPY_AND_ASSIGN(MockHostStub);
108 }; 111 };
109 112
110 class MockClientStub : public ClientStub { 113 class MockClientStub : public ClientStub {
111 public: 114 public:
112 MockClientStub(); 115 MockClientStub();
113 virtual ~MockClientStub(); 116 virtual ~MockClientStub();
114 117
115 private: 118 private:
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 MOCK_METHOD0(Close, void()); 170 MOCK_METHOD0(Close, void());
168 171
169 private: 172 private:
170 DISALLOW_COPY_AND_ASSIGN(MockSession); 173 DISALLOW_COPY_AND_ASSIGN(MockSession);
171 }; 174 };
172 175
173 } // namespace protocol 176 } // namespace protocol
174 } // namespace remoting 177 } // namespace remoting
175 178
176 #endif // REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ 179 #endif // REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_
OLDNEW
« no previous file with comments | « remoting/protocol/host_stub.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698