| 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 <cstdint> | 8 #include <cstdint> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "remoting/host/screen_resolution.h" | 22 #include "remoting/host/screen_resolution.h" |
| 23 #include "remoting/host/security_key/security_key_auth_handler.h" | 23 #include "remoting/host/security_key/security_key_auth_handler.h" |
| 24 #include "remoting/proto/control.pb.h" | 24 #include "remoting/proto/control.pb.h" |
| 25 #include "remoting/proto/event.pb.h" | 25 #include "remoting/proto/event.pb.h" |
| 26 #include "testing/gmock/include/gmock/gmock.h" | 26 #include "testing/gmock/include/gmock/gmock.h" |
| 27 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" | 27 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" |
| 28 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h" | 28 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h" |
| 29 | 29 |
| 30 namespace base { | 30 namespace base { |
| 31 class TimeDelta; | 31 class TimeDelta; |
| 32 class SingleThreadTaskRunner; | |
| 33 } // namespace base | 32 } // namespace base |
| 34 | 33 |
| 35 namespace remoting { | 34 namespace remoting { |
| 36 | 35 |
| 37 class MockDesktopEnvironment : public DesktopEnvironment { | 36 class MockDesktopEnvironment : public DesktopEnvironment { |
| 38 public: | 37 public: |
| 39 MockDesktopEnvironment(); | 38 MockDesktopEnvironment(); |
| 40 ~MockDesktopEnvironment() override; | 39 ~MockDesktopEnvironment() override; |
| 41 | 40 |
| 42 MOCK_METHOD0(CreateAudioCapturerPtr, AudioCapturer*()); | 41 MOCK_METHOD0(CreateAudioCapturerPtr, AudioCapturer*()); |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 MOCK_METHOD2(Init, void(Callback* callback, Mode mode)); | 186 MOCK_METHOD2(Init, void(Callback* callback, Mode mode)); |
| 188 MOCK_METHOD0(Capture, void()); | 187 MOCK_METHOD0(Capture, void()); |
| 189 | 188 |
| 190 private: | 189 private: |
| 191 DISALLOW_COPY_AND_ASSIGN(MockMouseCursorMonitor); | 190 DISALLOW_COPY_AND_ASSIGN(MockMouseCursorMonitor); |
| 192 }; | 191 }; |
| 193 | 192 |
| 194 } // namespace remoting | 193 } // namespace remoting |
| 195 | 194 |
| 196 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_ | 195 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_ |
| OLD | NEW |