Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Side by Side Diff: base/android/command_line.h

Issue 62333025: [Android] Move CommandLine.java to base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_ANDROID_COMMAND_LINE_H_ 5 #ifndef BASE_ANDROID_COMMAND_LINE_H_
6 #define CONTENT_COMMON_ANDROID_COMMAND_LINE_H_ 6 #define BASE_ANDROID_COMMAND_LINE_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/base_export.h"
11
12 namespace base {
13 namespace android {
14
10 // Appends all strings in the given array as flags to the Chrome command line. 15 // Appends all strings in the given array as flags to the Chrome command line.
11 void InitNativeCommandLineFromJavaArray(JNIEnv* env, 16 void BASE_EXPORT InitNativeCommandLineFromJavaArray(
12 jobjectArray init_command_line); 17 JNIEnv* env,
18 jobjectArray init_command_line);
13 19
14 // JNI registration boilerplate. 20 // JNI registration boilerplate.
15 bool RegisterCommandLine(JNIEnv* env); 21 bool RegisterCommandLine(JNIEnv* env);
16 22
17 #endif // CONTENT_COMMON_ANDROID_COMMAND_LINE_H_ 23 } // namespace android
24 } // namespace base
25
26 #endif // BASE_ANDROID_COMMAND_LINE_H_
OLDNEW
« no previous file with comments | « base/android/base_jni_registrar.cc ('k') | base/android/command_line.cc » ('j') | base/base.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698