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

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

Issue 147533004: Remove unneeded JNI registrations. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Fix android webview build issues. Created 6 years, 8 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 8 // can
9 // thus use base/ and the C++ STL. 9 // thus use base/ and the C++ STL.
10 10
11 #include "content/shell/android/linker_test_apk/chromium_linker_test_linker_test s.h"
12
13 #include <errno.h> 11 #include <errno.h>
14 #include <sys/mman.h> 12 #include <sys/mman.h>
15 #include <stdio.h> 13 #include <stdio.h>
16 #include <string> 14 #include <string>
17 15
18 #include "base/basictypes.h" 16 #include "base/basictypes.h"
19 #include "base/debug/proc_maps_linux.h" 17 #include "base/debug/proc_maps_linux.h"
20 #include "base/logging.h" 18 #include "base/logging.h"
21 #include "base/strings/stringprintf.h" 19 #include "base/strings/stringprintf.h"
22 20
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 jboolean in_browser_process) { 171 jboolean in_browser_process) {
174 return RunChecks(in_browser_process, true); 172 return RunChecks(in_browser_process, true);
175 } 173 }
176 174
177 jboolean CheckForNoSharedRelros(JNIEnv* env, 175 jboolean CheckForNoSharedRelros(JNIEnv* env,
178 jclass clazz, 176 jclass clazz,
179 jboolean in_browser_process) { 177 jboolean in_browser_process) {
180 return RunChecks(in_browser_process, false); 178 return RunChecks(in_browser_process, false);
181 } 179 }
182 180
183 bool RegisterLinkerTestsJni(JNIEnv* env) { return RegisterNativesImpl(env); }
184
185 } // namespace content 181 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698