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

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

Issue 77473002: [Android] Fix x86 compilation with multiply defined command_line.cc (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
« no previous file with comments | « base/android/command_line.cc ('k') | base/android/command_line_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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 BASE_ANDROID_COMMAND_LINE_H_ 5 #ifndef BASE_ANDROID_COMMAND_LINE_ANDROID_H_
6 #define BASE_ANDROID_COMMAND_LINE_H_ 6 #define BASE_ANDROID_COMMAND_LINE_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/base_export.h" 10 #include "base/base_export.h"
11 11
12 namespace base { 12 namespace base {
13 namespace android { 13 namespace android {
14 14
15 // 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.
16 void BASE_EXPORT InitNativeCommandLineFromJavaArray( 16 void BASE_EXPORT InitNativeCommandLineFromJavaArray(
17 JNIEnv* env, 17 JNIEnv* env,
18 jobjectArray init_command_line); 18 jobjectArray init_command_line);
19 19
20 // JNI registration boilerplate. 20 // JNI registration boilerplate.
21 bool RegisterCommandLine(JNIEnv* env); 21 bool RegisterCommandLine(JNIEnv* env);
22 22
23 } // namespace android 23 } // namespace android
24 } // namespace base 24 } // namespace base
25 25
26 #endif // BASE_ANDROID_COMMAND_LINE_H_ 26 #endif // BASE_ANDROID_COMMAND_LINE_ANDROID_H_
OLDNEW
« no previous file with comments | « base/android/command_line.cc ('k') | base/android/command_line_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698