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