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

Unified Diff: net/disk_cache/simple/simple_index_file.cc

Issue 18383003: Move DeleteAfterReboot and Move to base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « net/disk_cache/cache_util_posix.cc ('k') | third_party/leveldatabase/env_chromium.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/simple/simple_index_file.cc
diff --git a/net/disk_cache/simple/simple_index_file.cc b/net/disk_cache/simple/simple_index_file.cc
index 39bbe8b2d8d28f7e873cdad7b2a9a6b7c34017ca..4da5313df5a8ce6561854b0376c99c578aeb9941 100644
--- a/net/disk_cache/simple/simple_index_file.cc
+++ b/net/disk_cache/simple/simple_index_file.cc
@@ -54,7 +54,7 @@ void WriteToDiskInternal(const base::FilePath& index_filename,
base::Delete(temp_filename, /* recursive = */ false);
} else {
// Swap temp and index_file.
- bool result = file_util::ReplaceFile(temp_filename, index_filename);
+ bool result = base::ReplaceFile(temp_filename, index_filename, NULL);
DCHECK(result);
}
if (app_on_background) {
« no previous file with comments | « net/disk_cache/cache_util_posix.cc ('k') | third_party/leveldatabase/env_chromium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698