blob: cf117e2b4e54cbd6dc4206c45e3c8021c27ba4c0 [file] [log] [blame]
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_ANDROID_COMMAND_LINE_ANDROID_H_
#define BASE_ANDROID_COMMAND_LINE_ANDROID_H_
#include <jni.h>
#include "base/base_export.h"
namespace base {
namespace android {
// Appends all strings in the given array as flags to the Chrome command line.
void BASE_EXPORT InitNativeCommandLineFromJavaArray(
JNIEnv* env,
jobjectArray init_command_line);
// JNI registration boilerplate.
bool RegisterCommandLine(JNIEnv* env);
} // namespace android
} // namespace base
#endif // BASE_ANDROID_COMMAND_LINE_ANDROID_H_