| OLD | NEW |
| 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_HOST_HOST_MOCK_OBJECTS_H_ | 5 #ifndef REMOTING_HOST_HOST_MOCK_OBJECTS_H_ |
| 6 #define REMOTING_HOST_HOST_MOCK_OBJECTS_H_ | 6 #define REMOTING_HOST_HOST_MOCK_OBJECTS_H_ |
| 7 | 7 |
| 8 #include "net/base/ip_endpoint.h" | 8 #include "net/base/ip_endpoint.h" |
| 9 #include "remoting/base/capture_data.h" | 9 #include "remoting/base/capture_data.h" |
| 10 #include "remoting/host/video_frame_capturer.h" | 10 #include "remoting/host/video_frame_capturer.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 private: | 53 private: |
| 54 DISALLOW_COPY_AND_ASSIGN(MockVideoFrameCapturerDelegate); | 54 DISALLOW_COPY_AND_ASSIGN(MockVideoFrameCapturerDelegate); |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 class MockDisconnectWindow : public DisconnectWindow { | 57 class MockDisconnectWindow : public DisconnectWindow { |
| 58 public: | 58 public: |
| 59 MockDisconnectWindow(); | 59 MockDisconnectWindow(); |
| 60 virtual ~MockDisconnectWindow(); | 60 virtual ~MockDisconnectWindow(); |
| 61 | 61 |
| 62 MOCK_METHOD3(Show, bool(const UiStrings& ui_strings, | 62 MOCK_METHOD3(Show, bool(const UiStrings& ui_strings, |
| 63 const DisconnectCallback& disconnect_callback, | 63 const base::Closure& disconnect_callback, |
| 64 const std::string& username)); | 64 const std::string& username)); |
| 65 MOCK_METHOD0(Hide, void()); | 65 MOCK_METHOD0(Hide, void()); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 class MockLocalInputMonitor : public LocalInputMonitor { | 68 class MockLocalInputMonitor : public LocalInputMonitor { |
| 69 public: | 69 public: |
| 70 MockLocalInputMonitor(); | 70 MockLocalInputMonitor(); |
| 71 virtual ~MockLocalInputMonitor(); | 71 virtual ~MockLocalInputMonitor(); |
| 72 | 72 |
| 73 MOCK_METHOD2(Start, void(MouseMoveObserver* mouse_move_observer, | 73 MOCK_METHOD2(Start, void(MouseMoveObserver* mouse_move_observer, |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 void(const std::string& jid, | 152 void(const std::string& jid, |
| 153 const std::string& channel_name, | 153 const std::string& channel_name, |
| 154 const protocol::TransportRoute& route)); | 154 const protocol::TransportRoute& route)); |
| 155 MOCK_METHOD1(OnStart, void(const std::string& xmpp_login)); | 155 MOCK_METHOD1(OnStart, void(const std::string& xmpp_login)); |
| 156 MOCK_METHOD0(OnShutdown, void()); | 156 MOCK_METHOD0(OnShutdown, void()); |
| 157 }; | 157 }; |
| 158 | 158 |
| 159 } // namespace remoting | 159 } // namespace remoting |
| 160 | 160 |
| 161 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_ | 161 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_ |
| OLD | NEW |