OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_FAKE_CONNECTION_TO_HOST_H_ | 5 #ifndef REMOTING_PROTOCOL_FAKE_CONNECTION_TO_HOST_H_ |
6 #define REMOTING_PROTOCOL_FAKE_CONNECTION_TO_HOST_H_ | 6 #define REMOTING_PROTOCOL_FAKE_CONNECTION_TO_HOST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "remoting/protocol/connection_to_host.h" | 11 #include "remoting/protocol/connection_to_host.h" |
11 #include "remoting/protocol/protocol_mock_objects.h" | 12 #include "remoting/protocol/protocol_mock_objects.h" |
12 | 13 |
13 namespace remoting { | 14 namespace remoting { |
14 namespace test { | 15 namespace test { |
15 | 16 |
16 class FakeConnectionToHost : public protocol::ConnectionToHost { | 17 class FakeConnectionToHost : public protocol::ConnectionToHost { |
17 public: | 18 public: |
18 FakeConnectionToHost(); | 19 FakeConnectionToHost(); |
19 ~FakeConnectionToHost() override; | 20 ~FakeConnectionToHost() override; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 testing::NiceMock<protocol::MockInputStub> mock_input_stub_; | 52 testing::NiceMock<protocol::MockInputStub> mock_input_stub_; |
52 scoped_ptr<protocol::SessionConfig> session_config_; | 53 scoped_ptr<protocol::SessionConfig> session_config_; |
53 | 54 |
54 DISALLOW_COPY_AND_ASSIGN(FakeConnectionToHost); | 55 DISALLOW_COPY_AND_ASSIGN(FakeConnectionToHost); |
55 }; | 56 }; |
56 | 57 |
57 } // namespace test | 58 } // namespace test |
58 } // namespace remoting | 59 } // namespace remoting |
59 | 60 |
60 #endif // REMOTING_PROTOCOL_FAKE_CONNECTION_TO_HOST_H_ | 61 #endif // REMOTING_PROTOCOL_FAKE_CONNECTION_TO_HOST_H_ |
OLD | NEW |