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

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

Issue 7518032: Android's paths and message loop implementation with JNI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix dependence again. Created 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef BASE_ANDROID_PATH_UTILS_H_
6 #define BASE_ANDROID_PATH_UTILS_H_
7
8 #include <jni.h>
9 #include <string>
10
11 namespace base {
12 namespace android {
13
14 // Return the absolute path to the data directory of the current application.
15 // This method is dedicated for base_paths_android.c, Using
16 // PathService::Get(base::DIR_ANDROID_APP_DATA, ...) gets the data dir.
17 std::string GetDataDirectory();
18
19 // Return the absolute path to the cache directory. This method is dedicated for
20 // base_paths_android.c, Using PathService::Get(base::DIR_CACHE, ...) gets the
21 // cache dir.
22 std::string GetCacheDirectory();
23
24 bool RegisterPathUtils(JNIEnv* env);
25
26 } // namespace android
27 } // namespace base
28
29 #endif // BASE_ANDROID_PATH_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698