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

Unified Diff: base/file_util.h

Issue 10160011: Create VisualElementsManifest.xml from template -- install VisualElements in the version directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove shortname property Created 8 years, 8 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 | chrome/chrome_installer_util.gypi » ('j') | chrome/installer/mini_installer/chrome.release » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util.h
diff --git a/base/file_util.h b/base/file_util.h
index b6e634d6e1871dbcaec28f6a6e9e6cb859d9fc26..ed230f898aebdeeaec1fe0ae6de5c0abb1160bc8 100644
--- a/base/file_util.h
+++ b/base/file_util.h
@@ -117,6 +117,7 @@ BASE_EXPORT bool DeleteAfterReboot(const FilePath& path);
// If a simple rename is not possible, such as in the case where the paths are
// on different volumes, this will attempt to copy and delete. Returns
// true for success.
+// If |to_path| already exists, it is overwritten.
gab 2012/04/27 01:40:21 This is already the current behavior, but I needed
BASE_EXPORT bool Move(const FilePath& from_path, const FilePath& to_path);
// Renames file |from_path| to |to_path|. Both paths must be on the same
« no previous file with comments | « no previous file | chrome/chrome_installer_util.gypi » ('j') | chrome/installer/mini_installer/chrome.release » ('J')

Powered by Google App Engine
This is Rietveld 408576698