| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 | 96 |
| 97 private: | 97 private: |
| 98 DISALLOW_COPY_AND_ASSIGN(MockHostEventStub); | 98 DISALLOW_COPY_AND_ASSIGN(MockHostEventStub); |
| 99 }; | 99 }; |
| 100 | 100 |
| 101 class MockHostStub : public HostStub { | 101 class MockHostStub : public HostStub { |
| 102 public: | 102 public: |
| 103 MockHostStub(); | 103 MockHostStub(); |
| 104 virtual ~MockHostStub(); | 104 virtual ~MockHostStub(); |
| 105 | 105 |
| 106 MOCK_METHOD1(NotifyClientDimensions, |
| 107 void(const ClientDimensions& dimensions)); |
| 108 |
| 106 private: | 109 private: |
| 107 DISALLOW_COPY_AND_ASSIGN(MockHostStub); | 110 DISALLOW_COPY_AND_ASSIGN(MockHostStub); |
| 108 }; | 111 }; |
| 109 | 112 |
| 110 class MockClientStub : public ClientStub { | 113 class MockClientStub : public ClientStub { |
| 111 public: | 114 public: |
| 112 MockClientStub(); | 115 MockClientStub(); |
| 113 virtual ~MockClientStub(); | 116 virtual ~MockClientStub(); |
| 114 | 117 |
| 115 private: | 118 private: |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 MOCK_METHOD0(Close, void()); | 170 MOCK_METHOD0(Close, void()); |
| 168 | 171 |
| 169 private: | 172 private: |
| 170 DISALLOW_COPY_AND_ASSIGN(MockSession); | 173 DISALLOW_COPY_AND_ASSIGN(MockSession); |
| 171 }; | 174 }; |
| 172 | 175 |
| 173 } // namespace protocol | 176 } // namespace protocol |
| 174 } // namespace remoting | 177 } // namespace remoting |
| 175 | 178 |
| 176 #endif // REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ | 179 #endif // REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ |
| OLD | NEW |