Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: content/browser/android/child_process_launcher_android.cc

Issue 2209993003: Add missing using statements for JNI types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 12 matching lines...) Expand all
23 #include "content/public/browser/browser_thread.h" 23 #include "content/public/browser/browser_thread.h"
24 #include "content/public/browser/content_browser_client.h" 24 #include "content/public/browser/content_browser_client.h"
25 #include "content/public/browser/render_process_host.h" 25 #include "content/public/browser/render_process_host.h"
26 #include "content/public/common/content_client.h" 26 #include "content/public/common/content_client.h"
27 #include "content/public/common/content_switches.h" 27 #include "content/public/common/content_switches.h"
28 #include "jni/ChildProcessLauncher_jni.h" 28 #include "jni/ChildProcessLauncher_jni.h"
29 #include "media/base/android/media_player_android.h" 29 #include "media/base/android/media_player_android.h"
30 #include "ui/gl/android/surface_texture.h" 30 #include "ui/gl/android/surface_texture.h"
31 31
32 using base::android::AttachCurrentThread; 32 using base::android::AttachCurrentThread;
33 using base::android::JavaParamRef;
33 using base::android::ToJavaArrayOfStrings; 34 using base::android::ToJavaArrayOfStrings;
34 using base::android::ScopedJavaGlobalRef; 35 using base::android::ScopedJavaGlobalRef;
35 using base::android::ScopedJavaLocalRef; 36 using base::android::ScopedJavaLocalRef;
36 using content::StartChildProcessCallback; 37 using content::StartChildProcessCallback;
37 38
38 namespace content { 39 namespace content {
39 40
40 namespace { 41 namespace {
41 42
42 // Pass a java surface object to the MediaPlayerAndroid object 43 // Pass a java surface object to the MediaPlayerAndroid object
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 jboolean IsSingleProcess(JNIEnv* env, const JavaParamRef<jclass>& clazz) { 287 jboolean IsSingleProcess(JNIEnv* env, const JavaParamRef<jclass>& clazz) {
287 return base::CommandLine::ForCurrentProcess()->HasSwitch( 288 return base::CommandLine::ForCurrentProcess()->HasSwitch(
288 switches::kSingleProcess); 289 switches::kSingleProcess);
289 } 290 }
290 291
291 bool RegisterChildProcessLauncher(JNIEnv* env) { 292 bool RegisterChildProcessLauncher(JNIEnv* env) {
292 return RegisterNativesImpl(env); 293 return RegisterNativesImpl(env);
293 } 294 }
294 295
295 } // namespace content 296 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/android/browser_startup_controller.cc ('k') | content/browser/android/content_video_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698