summaryrefslogtreecommitdiffstats
path: root/content/browser/download/download_file_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/download/download_file_impl.h')
-rw-r--r--content/browser/download/download_file_impl.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/content/browser/download/download_file_impl.h b/content/browser/download/download_file_impl.h
index 1083132..b3630e5 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_;