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 "remoting/protocol/connection_to_host.h" | 10 #include "remoting/protocol/connection_to_host.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 private: | 47 private: |
48 void SetState(State state, protocol::ErrorCode error); | 48 void SetState(State state, protocol::ErrorCode error); |
49 | 49 |
50 State state_; | 50 State state_; |
51 | 51 |
52 HostEventCallback* event_callback_; | 52 HostEventCallback* event_callback_; |
53 | 53 |
54 testing::NiceMock<protocol::MockClipboardStub> mock_clipboard_stub_; | 54 testing::NiceMock<protocol::MockClipboardStub> mock_clipboard_stub_; |
55 testing::NiceMock<protocol::MockHostStub> mock_host_stub_; | 55 testing::NiceMock<protocol::MockHostStub> mock_host_stub_; |
56 testing::NiceMock<protocol::MockInputStub> mock_input_stub_; | 56 testing::NiceMock<protocol::MockInputStub> mock_input_stub_; |
57 scoped_ptr<protocol::SessionConfig> session_config_; | 57 protocol::SessionConfig session_config_; |
58 | 58 |
59 DISALLOW_COPY_AND_ASSIGN(FakeConnectionToHost); | 59 DISALLOW_COPY_AND_ASSIGN(FakeConnectionToHost); |
60 }; | 60 }; |
61 | 61 |
62 } // namespace test | 62 } // namespace test |
63 } // namespace remoting | 63 } // namespace remoting |
64 | 64 |
65 #endif // REMOTING_PROTOCOL_FAKE_CONNECTION_TO_HOST_H_ | 65 #endif // REMOTING_PROTOCOL_FAKE_CONNECTION_TO_HOST_H_ |
OLD | NEW |