[DevTools] Remote JSON requests from javascript (Chromium side)
[chromium-blink-merge.git] / base / android / command_line_android.h
blobcf117e2b4e54cbd6dc4206c45e3c8021c27ba4c0
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.
5 #ifndef BASE_ANDROID_COMMAND_LINE_ANDROID_H_
6 #define BASE_ANDROID_COMMAND_LINE_ANDROID_H_
8 #include <jni.h>
10 #include "base/base_export.h"
12 namespace base {
13 namespace android {
15 // Appends all strings in the given array as flags to the Chrome command line.
16 void BASE_EXPORT InitNativeCommandLineFromJavaArray(
17 JNIEnv* env,
18 jobjectArray init_command_line);
20 // JNI registration boilerplate.
21 bool RegisterCommandLine(JNIEnv* env);
23 } // namespace android
24 } // namespace base
26 #endif // BASE_ANDROID_COMMAND_LINE_ANDROID_H_