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

Unified Diff: base/file_util_win.cc

Issue 13196006: Move path functions from file_util to FilePath object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
Index: base/file_util_win.cc
diff --git a/base/file_util_win.cc b/base/file_util_win.cc
index f7897a0ab9b8d559a901f18c2fcab4f1987a8ef5..04879563476131842d88b16c4d316568bd9f9963 100644
--- a/base/file_util_win.cc
+++ b/base/file_util_win.cc
@@ -37,15 +37,6 @@ const DWORD kFileShareAll =
} // namespace
-bool AbsolutePath(FilePath* path) {
- base::ThreadRestrictions::AssertIOAllowed();
- wchar_t file_path_buf[MAX_PATH];
- if (!_wfullpath(file_path_buf, path->value().c_str(), MAX_PATH))
- return false;
- *path = FilePath(file_path_buf);
- return true;
-}
-
int CountFilesCreatedAfter(const FilePath& path,
const base::Time& comparison_time) {
base::ThreadRestrictions::AssertIOAllowed();

Powered by Google App Engine
This is Rietveld 408576698