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

Side by Side Diff: content/shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc

Issue 1312153003: jni_generator: Pass object parameters as JavaParamRef. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // This file implements the native methods of 5 // This file implements the native methods of
6 // org.content.chromium.app.LinkerTests 6 // org.content.chromium.app.LinkerTests
7 // Unlike the content of linker_jni.cc, it is part of the content library and 7 // Unlike the content of linker_jni.cc, it is part of the content library and
8 // can thus use base/ and the C++ STL. 8 // can thus use base/ and the C++ STL.
9 9
10 #include "content/shell/android/linker_test_apk/chromium_linker_test_linker_test s.h" 10 #include "content/shell/android/linker_test_apk/chromium_linker_test_linker_test s.h"
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 } 189 }
190 } 190 }
191 191
192 VLOG(0) << prefix << "SUCCESS"; 192 VLOG(0) << prefix << "SUCCESS";
193 return true; 193 return true;
194 } 194 }
195 195
196 } // namespace 196 } // namespace
197 197
198 jboolean CheckForSharedRelros(JNIEnv* env, 198 jboolean CheckForSharedRelros(JNIEnv* env,
199 jclass clazz, 199 const JavaParamRef<jclass>& clazz,
200 jboolean in_browser_process) { 200 jboolean in_browser_process) {
201 return RunChecks(in_browser_process, true); 201 return RunChecks(in_browser_process, true);
202 } 202 }
203 203
204 jboolean CheckForNoSharedRelros(JNIEnv* env, 204 jboolean CheckForNoSharedRelros(JNIEnv* env,
205 jclass clazz, 205 const JavaParamRef<jclass>& clazz,
206 jboolean in_browser_process) { 206 jboolean in_browser_process) {
207 return RunChecks(in_browser_process, false); 207 return RunChecks(in_browser_process, false);
208 } 208 }
209 209
210 bool RegisterLinkerTestsJni(JNIEnv* env) { return RegisterNativesImpl(env); } 210 bool RegisterLinkerTestsJni(JNIEnv* env) { return RegisterNativesImpl(env); }
211 211
212 } // namespace content 212 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_android.cc ('k') | content/shell/android/shell_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698