OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_RENDERER_IN_PROCESS_RENDERER_THREAD_H_ | 5 #ifndef CONTENT_RENDERER_IN_PROCESS_RENDERER_THREAD_H_ |
6 #define CONTENT_RENDERER_IN_PROCESS_RENDERER_THREAD_H_ | 6 #define CONTENT_RENDERER_IN_PROCESS_RENDERER_THREAD_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/threading/thread.h" | 11 #include "base/threading/thread.h" |
11 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
12 #include "content/common/in_process_child_thread_params.h" | 13 #include "content/common/in_process_child_thread_params.h" |
13 | 14 |
14 namespace content { | 15 namespace content { |
15 class RenderProcess; | 16 class RenderProcess; |
16 | 17 |
17 // This class creates the IO thread for the renderer when running in | 18 // This class creates the IO thread for the renderer when running in |
18 // single-process mode. It's not used in multi-process mode. | 19 // single-process mode. It's not used in multi-process mode. |
19 class InProcessRendererThread : public base::Thread { | 20 class InProcessRendererThread : public base::Thread { |
(...skipping 11 matching lines...) Expand all Loading... |
31 | 32 |
32 DISALLOW_COPY_AND_ASSIGN(InProcessRendererThread); | 33 DISALLOW_COPY_AND_ASSIGN(InProcessRendererThread); |
33 }; | 34 }; |
34 | 35 |
35 CONTENT_EXPORT base::Thread* CreateInProcessRendererThread( | 36 CONTENT_EXPORT base::Thread* CreateInProcessRendererThread( |
36 const InProcessChildThreadParams& params); | 37 const InProcessChildThreadParams& params); |
37 | 38 |
38 } // namespace content | 39 } // namespace content |
39 | 40 |
40 #endif // CONTENT_RENDERER_IN_PROCESS_RENDERER_THREAD_H_ | 41 #endif // CONTENT_RENDERER_IN_PROCESS_RENDERER_THREAD_H_ |
OLD | NEW |