OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_CLIENT_PLUGIN_PEPPER_MAIN_THREAD_TASK_RUNNER_H_ | 5 #ifndef REMOTING_CLIENT_PLUGIN_PEPPER_MAIN_THREAD_TASK_RUNNER_H_ |
6 #define REMOTING_CLIENT_PLUGIN_PEPPER_MAIN_THREAD_TASK_RUNNER_H_ | 6 #define REMOTING_CLIENT_PLUGIN_PEPPER_MAIN_THREAD_TASK_RUNNER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
9 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
10 #include "base/macros.h" | 12 #include "base/macros.h" |
11 #include "base/single_thread_task_runner.h" | 13 #include "base/single_thread_task_runner.h" |
12 #include "base/time/time.h" | 14 #include "base/time/time.h" |
13 #include "ppapi/utility/completion_callback_factory.h" | 15 #include "ppapi/utility/completion_callback_factory.h" |
14 | 16 |
15 namespace pp { | 17 namespace pp { |
16 class Core; | 18 class Core; |
17 } // namespace pp | 19 } // namespace pp |
(...skipping 24 matching lines...) Expand all Loading... |
42 | 44 |
43 pp::Core* core_; | 45 pp::Core* core_; |
44 pp::CompletionCallbackFactory<PepperMainThreadTaskRunner> callback_factory_; | 46 pp::CompletionCallbackFactory<PepperMainThreadTaskRunner> callback_factory_; |
45 | 47 |
46 DISALLOW_COPY_AND_ASSIGN(PepperMainThreadTaskRunner); | 48 DISALLOW_COPY_AND_ASSIGN(PepperMainThreadTaskRunner); |
47 }; | 49 }; |
48 | 50 |
49 } // namespace remoting | 51 } // namespace remoting |
50 | 52 |
51 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_MAIN_THREAD_TASK_RUNNER_H_ | 53 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_MAIN_THREAD_TASK_RUNNER_H_ |
OLD | NEW |