OLD | NEW |
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 #ifndef CONTENT_COMMON_ANDROID_COMMAND_LINE_H_ | 5 #ifndef BASE_ANDROID_COMMAND_LINE_H_ |
6 #define CONTENT_COMMON_ANDROID_COMMAND_LINE_H_ | 6 #define BASE_ANDROID_COMMAND_LINE_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
| 10 #include "base/base_export.h" |
| 11 |
| 12 namespace base { |
| 13 namespace android { |
| 14 |
10 // 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. |
11 void InitNativeCommandLineFromJavaArray(JNIEnv* env, | 16 void BASE_EXPORT InitNativeCommandLineFromJavaArray( |
12 jobjectArray init_command_line); | 17 JNIEnv* env, |
| 18 jobjectArray init_command_line); |
13 | 19 |
14 // JNI registration boilerplate. | 20 // JNI registration boilerplate. |
15 bool RegisterCommandLine(JNIEnv* env); | 21 bool RegisterCommandLine(JNIEnv* env); |
16 | 22 |
17 #endif // CONTENT_COMMON_ANDROID_COMMAND_LINE_H_ | 23 } // namespace android |
| 24 } // namespace base |
| 25 |
| 26 #endif // BASE_ANDROID_COMMAND_LINE_H_ |
OLD | NEW |