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 #include "content/renderer/in_process_renderer_thread.h" | 5 #include "content/renderer/in_process_renderer_thread.h" |
6 | 6 |
| 7 #include "build/build_config.h" |
7 #include "content/renderer/render_process.h" | 8 #include "content/renderer/render_process.h" |
8 #include "content/renderer/render_process_impl.h" | 9 #include "content/renderer/render_process_impl.h" |
9 #include "content/renderer/render_thread_impl.h" | 10 #include "content/renderer/render_thread_impl.h" |
10 | 11 |
11 #if defined(OS_ANDROID) | 12 #if defined(OS_ANDROID) |
12 #include "base/android/jni_android.h" | 13 #include "base/android/jni_android.h" |
13 #endif | 14 #endif |
14 | 15 |
15 namespace content { | 16 namespace content { |
16 | 17 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 // this flag to true in Cleanup works around these problems. | 50 // this flag to true in Cleanup works around these problems. |
50 SetThreadWasQuitProperly(true); | 51 SetThreadWasQuitProperly(true); |
51 } | 52 } |
52 | 53 |
53 base::Thread* CreateInProcessRendererThread( | 54 base::Thread* CreateInProcessRendererThread( |
54 const InProcessChildThreadParams& params) { | 55 const InProcessChildThreadParams& params) { |
55 return new InProcessRendererThread(params); | 56 return new InProcessRendererThread(params); |
56 } | 57 } |
57 | 58 |
58 } // namespace content | 59 } // namespace content |
OLD | NEW |