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

Unified Diff: content/browser/download/download_item_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_unittest.cc ('k') | content/browser/download/download_item_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_item_impl.h
diff --git a/content/browser/download/download_item_impl.h b/content/browser/download/download_item_impl.h
index c768615f2d61ceb678fb77463676ee5cef889c76..419f72b09b61a089c26ee9312f79473dbcfcd979 100644
--- a/content/browser/download/download_item_impl.h
+++ b/content/browser/download/download_item_impl.h
@@ -273,12 +273,6 @@ class CONTENT_EXPORT DownloadItemImpl
void OnDownloadRenamedToFinalName(DownloadInterruptReason reason,
const FilePath& full_path);
- void ReleaseDownloadFile();
-
- // TODO(rdsmith,asanka): Move the AnnotateWithSourceInformation() call to the
- // final rename and eliminate the interrupt reason callback.
- void OnDownloadFileReleased(DownloadInterruptReason reason);
-
// Called if the embedder took over opening a download, to indicate that
// the download has been opened.
virtual void DelayedDownloadOpened(bool auto_opened);
@@ -298,10 +292,6 @@ class CONTENT_EXPORT DownloadItemImpl
// Check if a download is ready for completion.
bool IsDownloadReadyForCompletion();
- // Returns true if the download still needs to be renamed to
- // GetTargetFilePath().
- bool NeedsRename() const;
-
// Call to transition state; all state transitions should go through this.
void TransitionTo(DownloadInternalState new_state);
« no previous file with comments | « content/browser/download/download_file_unittest.cc ('k') | content/browser/download/download_item_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698