| 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 <stdint.h> |
| 9 |
| 8 #include <map> | 10 #include <map> |
| 9 #include <string> | 11 #include <string> |
| 10 | 12 |
| 11 #include "base/location.h" | 13 #include "base/location.h" |
| 14 #include "base/macros.h" |
| 12 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
| 13 #include "base/values.h" | 16 #include "base/values.h" |
| 14 #include "net/base/ip_endpoint.h" | 17 #include "net/base/ip_endpoint.h" |
| 15 #include "remoting/proto/internal.pb.h" | 18 #include "remoting/proto/internal.pb.h" |
| 16 #include "remoting/proto/video.pb.h" | 19 #include "remoting/proto/video.pb.h" |
| 17 #include "remoting/protocol/authenticator.h" | 20 #include "remoting/protocol/authenticator.h" |
| 18 #include "remoting/protocol/client_stub.h" | 21 #include "remoting/protocol/client_stub.h" |
| 19 #include "remoting/protocol/clipboard_stub.h" | 22 #include "remoting/protocol/clipboard_stub.h" |
| 20 #include "remoting/protocol/connection_to_client.h" | 23 #include "remoting/protocol/connection_to_client.h" |
| 21 #include "remoting/protocol/host_stub.h" | 24 #include "remoting/protocol/host_stub.h" |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 // Runs tasks synchronously instead of posting them to |task_runner|. | 242 // Runs tasks synchronously instead of posting them to |task_runner|. |
| 240 void PostTask(const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, | 243 void PostTask(const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, |
| 241 const tracked_objects::Location& from_here, | 244 const tracked_objects::Location& from_here, |
| 242 const base::Closure& task) override; | 245 const base::Closure& task) override; |
| 243 }; | 246 }; |
| 244 | 247 |
| 245 } // namespace protocol | 248 } // namespace protocol |
| 246 } // namespace remoting | 249 } // namespace remoting |
| 247 | 250 |
| 248 #endif // REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ | 251 #endif // REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ |
| OLD | NEW |