| 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 "base/macros.h" |
| 11 #include "base/single_thread_task_runner.h" |
| 11 #include "remoting/protocol/connection_to_host.h" | 12 #include "remoting/protocol/connection_to_host.h" |
| 12 #include "remoting/protocol/protocol_mock_objects.h" | 13 #include "remoting/protocol/protocol_mock_objects.h" |
| 13 | 14 |
| 14 namespace remoting { | 15 namespace remoting { |
| 15 namespace test { | 16 namespace test { |
| 16 | 17 |
| 17 class FakeConnectionToHost : public protocol::ConnectionToHost { | 18 class FakeConnectionToHost : public protocol::ConnectionToHost { |
| 18 public: | 19 public: |
| 19 FakeConnectionToHost(); | 20 FakeConnectionToHost(); |
| 20 ~FakeConnectionToHost() override; | 21 ~FakeConnectionToHost() override; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 testing::NiceMock<protocol::MockInputStub> mock_input_stub_; | 56 testing::NiceMock<protocol::MockInputStub> mock_input_stub_; |
| 56 std::unique_ptr<protocol::SessionConfig> session_config_; | 57 std::unique_ptr<protocol::SessionConfig> session_config_; |
| 57 | 58 |
| 58 DISALLOW_COPY_AND_ASSIGN(FakeConnectionToHost); | 59 DISALLOW_COPY_AND_ASSIGN(FakeConnectionToHost); |
| 59 }; | 60 }; |
| 60 | 61 |
| 61 } // namespace test | 62 } // namespace test |
| 62 } // namespace remoting | 63 } // namespace remoting |
| 63 | 64 |
| 64 #endif // REMOTING_PROTOCOL_FAKE_CONNECTION_TO_HOST_H_ | 65 #endif // REMOTING_PROTOCOL_FAKE_CONNECTION_TO_HOST_H_ |
| OLD | NEW |