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 5 #ifndef CONTENT_COMMON_ANDROID_COMMAND_LINE_H_ 6 #define CONTENT_COMMON_ANDROID_COMMAND_LINE_H_ 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 17 #endif // CONTENT_COMMON_ANDROID_COMMAND_LINE_H_ 18