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

Unified Diff: base/file_util_android.cc

Issue 10332218: Fix temp dir path for Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/file_util_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util_android.cc
diff --git a/base/file_util_android.cc b/base/file_util_android.cc
index 6807d8d504a109e744578b26ad0f9a2294b1f4c3..bd3e836ff7bca51139d264e96ea6a539e6d11865 100644
--- a/base/file_util_android.cc
+++ b/base/file_util_android.cc
@@ -5,12 +5,12 @@
#include "base/file_util.h"
#include "base/file_path.h"
+#include "base/path_service.h"
namespace file_util {
bool GetShmemTempDir(FilePath* path, bool executable) {
- *path = FilePath("/data/local/tmp");
- return true;
+ return PathService::Get(base::DIR_CACHE, path);
}
} // namespace file_util
« no previous file with comments | « no previous file | base/file_util_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698