| 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_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ | 5 #ifndef REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ |
| 6 #define REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ | 6 #define REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "net/base/ip_endpoint.h" | 10 #include "net/base/ip_endpoint.h" |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 | 99 |
| 100 class MockHostStub : public HostStub { | 100 class MockHostStub : public HostStub { |
| 101 public: | 101 public: |
| 102 MockHostStub(); | 102 MockHostStub(); |
| 103 virtual ~MockHostStub(); | 103 virtual ~MockHostStub(); |
| 104 | 104 |
| 105 MOCK_METHOD1(NotifyClientDimensions, | 105 MOCK_METHOD1(NotifyClientDimensions, |
| 106 void(const ClientDimensions& dimensions)); | 106 void(const ClientDimensions& dimensions)); |
| 107 MOCK_METHOD1(ControlVideo, | 107 MOCK_METHOD1(ControlVideo, |
| 108 void(const VideoControl& video_control)); | 108 void(const VideoControl& video_control)); |
| 109 MOCK_METHOD1(ControlAudio, |
| 110 void(const AudioControl& audio_control)); |
| 109 | 111 |
| 110 private: | 112 private: |
| 111 DISALLOW_COPY_AND_ASSIGN(MockHostStub); | 113 DISALLOW_COPY_AND_ASSIGN(MockHostStub); |
| 112 }; | 114 }; |
| 113 | 115 |
| 114 class MockClientStub : public ClientStub { | 116 class MockClientStub : public ClientStub { |
| 115 public: | 117 public: |
| 116 MockClientStub(); | 118 MockClientStub(); |
| 117 virtual ~MockClientStub(); | 119 virtual ~MockClientStub(); |
| 118 | 120 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 }; | 194 }; |
| 193 | 195 |
| 194 private: | 196 private: |
| 195 DISALLOW_COPY_AND_ASSIGN(MockSessionManager); | 197 DISALLOW_COPY_AND_ASSIGN(MockSessionManager); |
| 196 }; | 198 }; |
| 197 | 199 |
| 198 } // namespace protocol | 200 } // namespace protocol |
| 199 } // namespace remoting | 201 } // namespace remoting |
| 200 | 202 |
| 201 #endif // REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ | 203 #endif // REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ |
| OLD | NEW |