| 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/jni_android.h" |    7 #include "base/android/jni_android.h" | 
|    8 #include "base/android/jni_array.h" |    8 #include "base/android/jni_array.h" | 
|    9 #include "base/logging.h" |    9 #include "base/logging.h" | 
|   10 #include "base/memory/scoped_ptr.h" |   10 #include "base/memory/scoped_ptr.h" | 
|   11 #include "content/browser/frame_host/render_frame_host_impl.h" |   11 #include "content/browser/frame_host/render_frame_host_impl.h" | 
|   12 #include "content/browser/media/android/browser_media_player_manager.h" |   12 #include "content/browser/media/android/browser_media_player_manager.h" | 
|   13 #include "content/browser/media/android/media_web_contents_observer.h" |   13 #include "content/browser/media/media_web_contents_observer.h" | 
|   14 #include "content/browser/renderer_host/compositor_impl_android.h" |   14 #include "content/browser/renderer_host/compositor_impl_android.h" | 
|   15 #include "content/browser/renderer_host/render_view_host_impl.h" |   15 #include "content/browser/renderer_host/render_view_host_impl.h" | 
|   16 #include "content/public/browser/browser_thread.h" |   16 #include "content/public/browser/browser_thread.h" | 
|   17 #include "content/public/browser/render_process_host.h" |   17 #include "content/public/browser/render_process_host.h" | 
|   18 #include "content/public/common/content_switches.h" |   18 #include "content/public/common/content_switches.h" | 
|   19 #include "jni/ChildProcessLauncher_jni.h" |   19 #include "jni/ChildProcessLauncher_jni.h" | 
|   20 #include "media/base/android/media_player_android.h" |   20 #include "media/base/android/media_player_android.h" | 
|   21 #include "ui/gl/android/scoped_java_surface.h" |   21 #include "ui/gl/android/scoped_java_surface.h" | 
|   22  |   22  | 
|   23 using base::android::AttachCurrentThread; |   23 using base::android::AttachCurrentThread; | 
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  212  |  212  | 
|  213 jboolean IsSingleProcess(JNIEnv* env, jclass clazz) { |  213 jboolean IsSingleProcess(JNIEnv* env, jclass clazz) { | 
|  214   return CommandLine::ForCurrentProcess()->HasSwitch(switches::kSingleProcess); |  214   return CommandLine::ForCurrentProcess()->HasSwitch(switches::kSingleProcess); | 
|  215 } |  215 } | 
|  216  |  216  | 
|  217 bool RegisterChildProcessLauncher(JNIEnv* env) { |  217 bool RegisterChildProcessLauncher(JNIEnv* env) { | 
|  218   return RegisterNativesImpl(env); |  218   return RegisterNativesImpl(env); | 
|  219 } |  219 } | 
|  220  |  220  | 
|  221 }  // namespace content |  221 }  // namespace content | 
| OLD | NEW |