OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_MOCK_OBJECTS_H_ | 5 #ifndef REMOTING_HOST_MOCK_OBJECTS_H_ |
6 #define REMOTING_HOST_MOCK_OBJECTS_H_ | 6 #define REMOTING_HOST_MOCK_OBJECTS_H_ |
7 | 7 |
8 #include "remoting/host/capturer.h" | 8 #include "remoting/host/capturer.h" |
9 #include "remoting/host/client_connection.h" | 9 #include "remoting/host/client_connection.h" |
10 #include "remoting/host/event_executor.h" | 10 #include "remoting/host/event_executor.h" |
11 #include "remoting/protocol/messages_decoder.h" | 11 #include "remoting/proto/internal.pb.h" |
12 #include "testing/gmock/include/gmock/gmock.h" | 12 #include "testing/gmock/include/gmock/gmock.h" |
13 | 13 |
14 namespace remoting { | 14 namespace remoting { |
15 | 15 |
16 class MockCapturer : public Capturer { | 16 class MockCapturer : public Capturer { |
17 public: | 17 public: |
18 MockCapturer() {} | 18 MockCapturer() {} |
19 | 19 |
20 MOCK_METHOD0(ScreenConfigurationChanged, void()); | 20 MOCK_METHOD0(ScreenConfigurationChanged, void()); |
21 MOCK_METHOD1(InvalidateRects, void(const InvalidRects& inval_rects)); | 21 MOCK_METHOD1(InvalidateRects, void(const InvalidRects& inval_rects)); |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 MOCK_METHOD1(OnConnectionClosed, void(ClientConnection* viewer)); | 69 MOCK_METHOD1(OnConnectionClosed, void(ClientConnection* viewer)); |
70 MOCK_METHOD1(OnConnectionFailed, void(ClientConnection* viewer)); | 70 MOCK_METHOD1(OnConnectionFailed, void(ClientConnection* viewer)); |
71 | 71 |
72 private: | 72 private: |
73 DISALLOW_COPY_AND_ASSIGN(MockClientConnectionEventHandler); | 73 DISALLOW_COPY_AND_ASSIGN(MockClientConnectionEventHandler); |
74 }; | 74 }; |
75 | 75 |
76 } // namespace remoting | 76 } // namespace remoting |
77 | 77 |
78 #endif // REMOTING_HOST_MOCK_OBJECTS_H_ | 78 #endif // REMOTING_HOST_MOCK_OBJECTS_H_ |
OLD | NEW |