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 CONTENT_COMMON_ANDROID_COMMAND_LINE_H_ |
6 #define CONTENT_COMMON_ANDROID_COMMAND_LINE_H_ | 6 #define CONTENT_COMMON_ANDROID_COMMAND_LINE_H_ |
7 #pragma once | |
8 | 7 |
9 #include <jni.h> | 8 #include <jni.h> |
10 | 9 |
11 // Appends all strings in the given array as flags to the Chrome command line. | 10 // Appends all strings in the given array as flags to the Chrome command line. |
12 void InitNativeCommandLineFromJavaArray(JNIEnv* env, | 11 void InitNativeCommandLineFromJavaArray(JNIEnv* env, |
13 jobjectArray init_command_line); | 12 jobjectArray init_command_line); |
14 | 13 |
15 // JNI registration boilerplate. | 14 // JNI registration boilerplate. |
16 bool RegisterCommandLine(JNIEnv* env); | 15 bool RegisterCommandLine(JNIEnv* env); |
17 | 16 |
18 #endif // CONTENT_COMMON_ANDROID_COMMAND_LINE_H_ | 17 #endif // CONTENT_COMMON_ANDROID_COMMAND_LINE_H_ |
OLD | NEW |