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 10831323c37ea82ca03654d8260e69ef4071acc2..b3630e5555a68077f67c0d67c62c161156d4b2a5 100644 |
--- a/content/browser/download/download_file_impl.h |
+++ b/content/browser/download/download_file_impl.h |
@@ -40,8 +40,9 @@ class CONTENT_EXPORT DownloadFileImpl : virtual public content::DownloadFile { |
// DownloadFile functions. |
virtual content::DownloadInterruptReason Initialize() OVERRIDE; |
- virtual content::DownloadInterruptReason Rename( |
- const FilePath& full_path) OVERRIDE; |
+ virtual void Rename(const FilePath& full_path, |
+ bool overwrite_existing_file, |
+ const RenameCompletionCallback& callback) OVERRIDE; |
virtual void Detach() OVERRIDE; |
virtual void Cancel() OVERRIDE; |
virtual void AnnotateWithSourceInformation() OVERRIDE; |
@@ -63,13 +64,13 @@ class CONTENT_EXPORT DownloadFileImpl : virtual public content::DownloadFile { |
const char* data, size_t data_len); |
private: |
+ // Send an update on our progress. |
+ void SendUpdate(); |
+ |
// Called when there's some activity on stream_reader_ that needs to be |
// handled. |
void StreamActive(); |
- // Send updates on our progress. |
- void SendUpdate(); |
- |
// The base file instance. |
BaseFile file_; |