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

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

Issue 10911248: Revert 156297 - [Chromoting] Refactoring DesktopEnvironment and moving screen/audio recorders to Cl… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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/host/win/session_event_executor.cc ('k') | remoting/protocol/protocol_mock_objects.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_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 10 matching lines...) Expand all
21 #include "remoting/protocol/transport.h" 21 #include "remoting/protocol/transport.h"
22 #include "remoting/protocol/video_stub.h" 22 #include "remoting/protocol/video_stub.h"
23 #include "testing/gmock/include/gmock/gmock.h" 23 #include "testing/gmock/include/gmock/gmock.h"
24 24
25 namespace remoting { 25 namespace remoting {
26 namespace protocol { 26 namespace protocol {
27 27
28 class MockConnectionToClient : public ConnectionToClient { 28 class MockConnectionToClient : public ConnectionToClient {
29 public: 29 public:
30 MockConnectionToClient(Session* session, 30 MockConnectionToClient(Session* session,
31 HostStub* host_stub); 31 HostStub* host_stub,
32 InputStub* input_stub);
32 virtual ~MockConnectionToClient(); 33 virtual ~MockConnectionToClient();
33 34
34 MOCK_METHOD1(Init, void(Session* session)); 35 MOCK_METHOD1(Init, void(Session* session));
35 MOCK_METHOD0(video_stub, VideoStub*()); 36 MOCK_METHOD0(video_stub, VideoStub*());
36 MOCK_METHOD0(client_stub, ClientStub*()); 37 MOCK_METHOD0(client_stub, ClientStub*());
37 MOCK_METHOD0(session, Session*()); 38 MOCK_METHOD0(session, Session*());
38 MOCK_METHOD0(Disconnect, void()); 39 MOCK_METHOD0(Disconnect, void());
39 40
40 private: 41 private:
41 DISALLOW_COPY_AND_ASSIGN(MockConnectionToClient); 42 DISALLOW_COPY_AND_ASSIGN(MockConnectionToClient);
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 }; 193 };
193 194
194 private: 195 private:
195 DISALLOW_COPY_AND_ASSIGN(MockSessionManager); 196 DISALLOW_COPY_AND_ASSIGN(MockSessionManager);
196 }; 197 };
197 198
198 } // namespace protocol 199 } // namespace protocol
199 } // namespace remoting 200 } // namespace remoting
200 201
201 #endif // REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ 202 #endif // REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_
OLDNEW
« no previous file with comments | « remoting/host/win/session_event_executor.cc ('k') | remoting/protocol/protocol_mock_objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698