[email protected] | e082556 | 2012-05-10 01:50:47 | [diff] [blame] | 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 |
| 3 | // found in the LICENSE file. |
| 4 | |
[email protected] | 380a2ce | 2012-06-18 18:48:55 | [diff] [blame] | 5 | #ifndef CONTENT_COMMON_ANDROID_COMMAND_LINE_H_ |
| 6 | #define CONTENT_COMMON_ANDROID_COMMAND_LINE_H_ |
[email protected] | e082556 | 2012-05-10 01:50:47 | [diff] [blame] | 7 | |
| 8 | #include <jni.h> |
| 9 | |
| 10 | // Appends all strings in the given array as flags to the Chrome command line. |
| 11 | void InitNativeCommandLineFromJavaArray(JNIEnv* env, |
| 12 | jobjectArray init_command_line); |
| 13 | |
| 14 | // JNI registration boilerplate. |
| 15 | bool RegisterCommandLine(JNIEnv* env); |
| 16 | |
[email protected] | 380a2ce | 2012-06-18 18:48:55 | [diff] [blame] | 17 | #endif // CONTENT_COMMON_ANDROID_COMMAND_LINE_H_ |