Chromium Code Reviews| 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..a0d916c83dd98d08b94605944d266b3c1b262177 |
| --- /dev/null |
| +++ b/content/browser/android/command_line.h |
| @@ -0,0 +1,18 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
|
Ted C
2012/05/09 00:26:41
2012
|
| +// 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_ |