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

Side by Side Diff: base/android/command_line_android.h

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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef BASE_ANDROID_COMMAND_LINE_ANDROID_H_ 5 #ifndef BASE_ANDROID_COMMAND_LINE_ANDROID_H_
6 #define BASE_ANDROID_COMMAND_LINE_ANDROID_H_ 6 #define BASE_ANDROID_COMMAND_LINE_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/base_export.h" 10 #include "base/base_export.h"
11 11
12 namespace base { 12 namespace base {
13 namespace android { 13 namespace android {
14 14
15 // Appends all strings in the given array as flags to the Chrome command line. 15 // Appends all strings in the given array as flags to the Chrome command line.
16 void BASE_EXPORT InitNativeCommandLineFromJavaArray( 16 void BASE_EXPORT InitNativeCommandLineFromJavaArray(
17 JNIEnv* env, 17 JNIEnv* env,
18 jobjectArray init_command_line); 18 jobjectArray init_command_line);
19 19
20 // JNI registration boilerplate.
21 bool RegisterCommandLine(JNIEnv* env);
22
23 } // namespace android 20 } // namespace android
24 } // namespace base 21 } // namespace base
25 22
26 #endif // BASE_ANDROID_COMMAND_LINE_ANDROID_H_ 23 #endif // BASE_ANDROID_COMMAND_LINE_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698