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

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

Issue 10798010: Uses gyp "rules" rather than "actions" templates for the JNI generator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Typo on content_jni.gypi Created 8 years, 5 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 | Annotate | Revision Log
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/sandboxed_process_launcher.h" 5 #include "content/browser/android/sandboxed_process_launcher.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 "jni/sandboxed_process_launcher_jni.h" 11 #include "jni/SandboxedProcessLauncher_jni.h"
12 12
13 using base::android::AttachCurrentThread; 13 using base::android::AttachCurrentThread;
14 using base::android::ToJavaArrayOfStrings; 14 using base::android::ToJavaArrayOfStrings;
15 using base::android::ScopedJavaLocalRef; 15 using base::android::ScopedJavaLocalRef;
16 using base::GlobalDescriptors; 16 using base::GlobalDescriptors;
17 using content::StartSandboxedProcessCallback; 17 using content::StartSandboxedProcessCallback;
18 18
19 namespace content { 19 namespace content {
20 20
21 // Called from SandboxedProcessLauncher.java when the SandboxedProcess was 21 // Called from SandboxedProcessLauncher.java when the SandboxedProcess was
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 JNIEnv* env = AttachCurrentThread(); 68 JNIEnv* env = AttachCurrentThread();
69 DCHECK(env); 69 DCHECK(env);
70 Java_SandboxedProcessLauncher_stop(env, static_cast<jint>(handle)); 70 Java_SandboxedProcessLauncher_stop(env, static_cast<jint>(handle));
71 } 71 }
72 72
73 bool RegisterSandboxedProcessLauncher(JNIEnv* env) { 73 bool RegisterSandboxedProcessLauncher(JNIEnv* env) {
74 return RegisterNativesImpl(env); 74 return RegisterNativesImpl(env);
75 } 75 }
76 76
77 } // namespace content 77 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/android/remote_debugging_controller.cc ('k') | content/browser/android/touch_point.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698