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

Unified Diff: base/files/file_util_posix.cc

Issue 1273243002: Updates to base unittests so they run correctly in libchrome on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/files/file_path_unittest.cc ('k') | base/strings/sys_string_conversions_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/files/file_util_posix.cc
diff --git a/base/files/file_util_posix.cc b/base/files/file_util_posix.cc
index a8c5d44f9c753fdf0a29d8f5b7765d9b6d4e8f64..7fcb4a977c94bb7776809a44a6c1e6dd12e230eb 100644
--- a/base/files/file_util_posix.cc
+++ b/base/files/file_util_posix.cc
@@ -454,6 +454,8 @@ bool GetTempDir(FilePath* path) {
} else {
#if defined(OS_ANDROID)
return PathService::Get(base::DIR_CACHE, path);
+#elif defined(__BRILLO__)
+ *path = FilePath("/data/local/tmp");
Daniel Erat 2015/08/06 23:25:09 i think that this one shouldn't be upstreamed; __B
arihc 2015/08/06 23:51:22 Done.
#else
*path = FilePath("/tmp");
#endif
« no previous file with comments | « base/files/file_path_unittest.cc ('k') | base/strings/sys_string_conversions_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698