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 #include "content/browser/android/child_process_launcher_android.h" | 5 #include "content/browser/android/child_process_launcher_android.h" |
6 | 6 |
| 7 #include "base/android/context_utils.h" |
7 #include "base/android/jni_android.h" | 8 #include "base/android/jni_android.h" |
8 #include "base/android/jni_array.h" | 9 #include "base/android/jni_array.h" |
9 #include "base/logging.h" | 10 #include "base/logging.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "content/browser/frame_host/render_frame_host_impl.h" | 12 #include "content/browser/frame_host/render_frame_host_impl.h" |
12 #include "content/browser/media/android/browser_media_player_manager.h" | 13 #include "content/browser/media/android/browser_media_player_manager.h" |
13 #include "content/browser/media/media_web_contents_observer.h" | 14 #include "content/browser/media/media_web_contents_observer.h" |
14 #include "content/browser/web_contents/web_contents_impl.h" | 15 #include "content/browser/web_contents/web_contents_impl.h" |
15 #include "content/public/browser/browser_thread.h" | 16 #include "content/public/browser/browser_thread.h" |
16 #include "content/public/browser/render_process_host.h" | 17 #include "content/public/browser/render_process_host.h" |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 jboolean IsSingleProcess(JNIEnv* env, const JavaParamRef<jclass>& clazz) { | 232 jboolean IsSingleProcess(JNIEnv* env, const JavaParamRef<jclass>& clazz) { |
232 return base::CommandLine::ForCurrentProcess()->HasSwitch( | 233 return base::CommandLine::ForCurrentProcess()->HasSwitch( |
233 switches::kSingleProcess); | 234 switches::kSingleProcess); |
234 } | 235 } |
235 | 236 |
236 bool RegisterChildProcessLauncher(JNIEnv* env) { | 237 bool RegisterChildProcessLauncher(JNIEnv* env) { |
237 return RegisterNativesImpl(env); | 238 return RegisterNativesImpl(env); |
238 } | 239 } |
239 | 240 |
240 } // namespace content | 241 } // namespace content |
OLD | NEW |