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 3b3e71541ead4c598d35ff80585e20a14da3c14a..9273f57c2f7d003f4913bdf250e5c97fdf8d83fb 100644 |
--- a/content/browser/download/download_file_impl.h |
+++ b/content/browser/download/download_file_impl.h |
@@ -41,8 +41,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; |
@@ -64,13 +65,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_; |