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

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

Issue 2202793002: base: Remove unneeded RegisterNatives() calls on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@jnireg2
Patch Set: rebase Created 4 years, 4 months 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/locale_utils.cc ('k') | base/android/path_utils.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 (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 BASE_ANDROID_PATH_UTILS_H_ 5 #ifndef BASE_ANDROID_PATH_UTILS_H_
6 #define BASE_ANDROID_PATH_UTILS_H_ 6 #define BASE_ANDROID_PATH_UTILS_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"
(...skipping 30 matching lines...) Expand all
41 41
42 // Retrieves the path to the native JNI libraries via 42 // Retrieves the path to the native JNI libraries via
43 // ApplicationInfo.nativeLibraryDir on the Java side. The result is placed in 43 // ApplicationInfo.nativeLibraryDir on the Java side. The result is placed in
44 // the FilePath pointed to by 'result'. 44 // the FilePath pointed to by 'result'.
45 BASE_EXPORT bool GetNativeLibraryDirectory(FilePath* result); 45 BASE_EXPORT bool GetNativeLibraryDirectory(FilePath* result);
46 46
47 // Retrieves the absolute path to the external storage directory. The result 47 // Retrieves the absolute path to the external storage directory. The result
48 // is placed in the FilePath pointed to by 'result'. 48 // is placed in the FilePath pointed to by 'result'.
49 BASE_EXPORT bool GetExternalStorageDirectory(FilePath* result); 49 BASE_EXPORT bool GetExternalStorageDirectory(FilePath* result);
50 50
51 bool RegisterPathUtils(JNIEnv* env);
52
53 } // namespace android 51 } // namespace android
54 } // namespace base 52 } // namespace base
55 53
56 #endif // BASE_ANDROID_PATH_UTILS_H_ 54 #endif // BASE_ANDROID_PATH_UTILS_H_
OLDNEW
« no previous file with comments | « base/android/locale_utils.cc ('k') | base/android/path_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698