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 CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ |
6 #define CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ | 6 #define CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/memory/shared_memory.h" | 12 #include "base/memory/shared_memory.h" |
13 #include "base/metrics/user_metrics_action.h" | 13 #include "base/metrics/user_metrics_action.h" |
| 14 #include "base/single_thread_task_runner.h" |
14 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
15 #include "content/public/child/child_thread.h" | 16 #include "content/public/child/child_thread.h" |
16 #include "ipc/ipc_channel_proxy.h" | 17 #include "ipc/ipc_channel_proxy.h" |
17 | 18 |
18 class GURL; | 19 class GURL; |
19 | 20 |
20 namespace base { | 21 namespace base { |
21 class WaitableEvent; | 22 class WaitableEvent; |
22 } | 23 } |
23 | 24 |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 GetLoadingTaskRunner() = 0; | 114 GetLoadingTaskRunner() = 0; |
114 | 115 |
115 // Tells the renderer that a field trial was activated. | 116 // Tells the renderer that a field trial was activated. |
116 virtual void SetFieldTrialGroup(const std::string& trial_name, | 117 virtual void SetFieldTrialGroup(const std::string& trial_name, |
117 const std::string& group_name) = 0; | 118 const std::string& group_name) = 0; |
118 }; | 119 }; |
119 | 120 |
120 } // namespace content | 121 } // namespace content |
121 | 122 |
122 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ | 123 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ |
OLD | NEW |