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

Unified Diff: runtime/bin/directory.h

Issue 2156243002: Fix DevFS on Android devices (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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 | runtime/bin/directory.cc » ('j') | runtime/bin/directory_android.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/directory.h
diff --git a/runtime/bin/directory.h b/runtime/bin/directory.h
index f45571072e45baad1f475b78fb96e44332dd4407..ee1f389cfe47f0f32b149d26372eb2caf39bde38 100644
--- a/runtime/bin/directory.h
+++ b/runtime/bin/directory.h
@@ -274,6 +274,8 @@ class Directory {
static const char* Current();
static const char* SystemTemp();
static const char* CreateTemp(const char* path);
+ // Set the system temporary directory.
+ static void SetSystemTemp(const char* path);
static bool SetCurrent(const char* path);
static bool Create(const char* path);
static bool Delete(const char* path, bool recursive);
@@ -290,6 +292,7 @@ class Directory {
static CObject* RenameRequest(const CObjectArray& request);
private:
+ static char* system_temp_path_override_;
DISALLOW_ALLOCATION();
DISALLOW_IMPLICIT_CONSTRUCTORS(Directory);
};
« no previous file with comments | « no previous file | runtime/bin/directory.cc » ('j') | runtime/bin/directory_android.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698