| 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/host/capturer.h" | 9 #include "remoting/host/capturer.h" |
| 10 #include "remoting/host/curtain.h" | 10 #include "remoting/host/curtain.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 const DisconnectCallback& disconnect_callback, | 57 const DisconnectCallback& disconnect_callback, |
| 58 const std::string& username)); | 58 const std::string& username)); |
| 59 MOCK_METHOD0(Hide, void()); | 59 MOCK_METHOD0(Hide, void()); |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 class MockLocalInputMonitor : public LocalInputMonitor { | 62 class MockLocalInputMonitor : public LocalInputMonitor { |
| 63 public: | 63 public: |
| 64 MockLocalInputMonitor(); | 64 MockLocalInputMonitor(); |
| 65 virtual ~MockLocalInputMonitor(); | 65 virtual ~MockLocalInputMonitor(); |
| 66 | 66 |
| 67 MOCK_METHOD1(Start, void(remoting::ChromotingHost* host)); | 67 MOCK_METHOD2(Start, void(MouseMoveObserver* mouse_move_observer, |
| 68 const base::Closure& disconnect_callback)); |
| 68 MOCK_METHOD0(Stop, void()); | 69 MOCK_METHOD0(Stop, void()); |
| 69 }; | 70 }; |
| 70 | 71 |
| 71 class MockContinueWindow : public ContinueWindow { | 72 class MockContinueWindow : public ContinueWindow { |
| 72 public: | 73 public: |
| 73 MockContinueWindow(); | 74 MockContinueWindow(); |
| 74 virtual ~MockContinueWindow(); | 75 virtual ~MockContinueWindow(); |
| 75 | 76 |
| 76 MOCK_METHOD2(Show, void( | 77 MOCK_METHOD2(Show, void( |
| 77 remoting::ChromotingHost* host, | 78 remoting::ChromotingHost* host, |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 MOCK_METHOD2(Authenticate, bool(const std::string& username, | 142 MOCK_METHOD2(Authenticate, bool(const std::string& username, |
| 142 const std::string& password)); | 143 const std::string& password)); |
| 143 | 144 |
| 144 private: | 145 private: |
| 145 DISALLOW_COPY_AND_ASSIGN(MockUserAuthenticator); | 146 DISALLOW_COPY_AND_ASSIGN(MockUserAuthenticator); |
| 146 }; | 147 }; |
| 147 | 148 |
| 148 } // namespace remoting | 149 } // namespace remoting |
| 149 | 150 |
| 150 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_ | 151 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_ |
| OLD | NEW |