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

Unified Diff: base/sys_info.h

Issue 276012: Convert SysInfo::AmountOfFreeDiskSpace from wstring to FilePath. (Closed)
Patch Set: compile Created 11 years, 2 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/sys_info_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/sys_info.h
diff --git a/base/sys_info.h b/base/sys_info.h
index 5469da545111832fa3cea84d6cf7c158220d02f9..7460fe09a66319242d56bc8a6b328af591f22c99 100644
--- a/base/sys_info.h
+++ b/base/sys_info.h
@@ -9,6 +9,8 @@
#include <string>
+class FilePath;
+
namespace base {
class SysInfo {
@@ -26,7 +28,7 @@ class SysInfo {
// Return the available disk space in bytes on the volume containing |path|,
// or -1 on failure.
- static int64 AmountOfFreeDiskSpace(const std::wstring& path);
+ static int64 AmountOfFreeDiskSpace(const FilePath& path);
// Return true if the given environment variable is defined.
// TODO: find a better place for HasEnvVar.
« no previous file with comments | « no previous file | base/sys_info_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698