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

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

Issue 8536002: Cleanup: Remove unneeded forward declarations from remoting. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/pepper_transport_socket_adapter.h ('k') | remoting/protocol/rtcp_writer.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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>
9
8 #include "remoting/proto/internal.pb.h" 10 #include "remoting/proto/internal.pb.h"
9 #include "remoting/protocol/client_stub.h" 11 #include "remoting/protocol/client_stub.h"
10 #include "remoting/protocol/connection_to_client.h" 12 #include "remoting/protocol/connection_to_client.h"
11 #include "remoting/protocol/host_stub.h" 13 #include "remoting/protocol/host_stub.h"
12 #include "remoting/protocol/input_stub.h" 14 #include "remoting/protocol/input_stub.h"
13 #include "remoting/protocol/session.h" 15 #include "remoting/protocol/session.h"
14 #include "remoting/protocol/video_stub.h" 16 #include "remoting/protocol/video_stub.h"
15 #include "testing/gmock/include/gmock/gmock.h" 17 #include "testing/gmock/include/gmock/gmock.h"
16 18
17 namespace remoting { 19 namespace remoting {
18 namespace protocol { 20 namespace protocol {
19 21
20 class ChromotocolConnection;
21
22 class MockConnectionToClient : public ConnectionToClient { 22 class MockConnectionToClient : public ConnectionToClient {
23 public: 23 public:
24 MockConnectionToClient(Session* session, 24 MockConnectionToClient(Session* session,
25 HostStub* host_stub, 25 HostStub* host_stub,
26 InputStub* input_stub); 26 InputStub* input_stub);
27 virtual ~MockConnectionToClient(); 27 virtual ~MockConnectionToClient();
28 28
29 MOCK_METHOD1(Init, void(Session* session)); 29 MOCK_METHOD1(Init, void(Session* session));
30 MOCK_METHOD0(video_stub, VideoStub*()); 30 MOCK_METHOD0(video_stub, VideoStub*());
31 MOCK_METHOD0(client_stub, ClientStub*()); 31 MOCK_METHOD0(client_stub, ClientStub*());
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 MOCK_METHOD0(Close, void()); 125 MOCK_METHOD0(Close, void());
126 126
127 private: 127 private:
128 DISALLOW_COPY_AND_ASSIGN(MockSession); 128 DISALLOW_COPY_AND_ASSIGN(MockSession);
129 }; 129 };
130 130
131 } // namespace protocol 131 } // namespace protocol
132 } // namespace remoting 132 } // namespace remoting
133 133
134 #endif // REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ 134 #endif // REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_
OLDNEW
« no previous file with comments | « remoting/protocol/pepper_transport_socket_adapter.h ('k') | remoting/protocol/rtcp_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698