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

Unified Diff: content/browser/download/download_file_impl.h

Issue 11366121: Split DownloadFile::Rename into RenameAndUniquify and RenameAndAnnotate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to LKGR. Created 8 years, 1 month 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 | « content/browser/download/download_file.h ('k') | content/browser/download/download_file_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_file_impl.h
diff --git a/content/browser/download/download_file_impl.h b/content/browser/download/download_file_impl.h
index e8b8b77628e1571d2454b0899c2f5213ce3d8b36..e32df90e87df16770709ed17c9a943ce8e8450e5 100644
--- a/content/browser/download/download_file_impl.h
+++ b/content/browser/download/download_file_impl.h
@@ -49,10 +49,13 @@ class CONTENT_EXPORT DownloadFileImpl : virtual public DownloadFile {
// DownloadFile functions.
virtual void Initialize(const InitializeCallback& callback) OVERRIDE;
- virtual void Rename(const FilePath& full_path,
- bool overwrite_existing_file,
- const RenameCompletionCallback& callback) OVERRIDE;
- virtual void Detach(const DetachCompletionCallback& callback) OVERRIDE;
+ virtual void RenameAndUniquify(
+ const FilePath& full_path,
+ const RenameCompletionCallback& callback) OVERRIDE;
+ virtual void RenameAndAnnotate(
+ const FilePath& full_path,
+ const RenameCompletionCallback& callback) OVERRIDE;
+ virtual void Detach() OVERRIDE;
virtual void Cancel() OVERRIDE;
virtual FilePath FullPath() const OVERRIDE;
virtual bool InProgress() const OVERRIDE;
« no previous file with comments | « content/browser/download/download_file.h ('k') | content/browser/download/download_file_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698