Index: content/browser/android/command_line.h |
diff --git a/content/browser/android/command_line.h b/content/browser/android/command_line.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5e440800442d0756e133f48283518d931c5121c3 |
--- /dev/null |
+++ b/content/browser/android/command_line.h |
@@ -0,0 +1,18 @@ |
+// Copyright (c) 2012 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 CONTENT_BROWSER_ANDROID_COMMAND_LINE_H_ |
+#define CONTENT_BROWSER_ANDROID_COMMAND_LINE_H_ |
+#pragma once |
+ |
+#include <jni.h> |
+ |
+// Appends all strings in the given array as flags to the Chrome command line. |
+void InitNativeCommandLineFromJavaArray(JNIEnv* env, |
+ jobjectArray init_command_line); |
+ |
+// JNI registration boilerplate. |
+bool RegisterCommandLine(JNIEnv* env); |
+ |
+#endif // CONTENT_BROWSER_ANDROID_COMMAND_LINE_H_ |