| Index: chrome/browser/safe_browsing/download_feedback.cc
|
| diff --git a/chrome/browser/safe_browsing/download_feedback.cc b/chrome/browser/safe_browsing/download_feedback.cc
|
| index fef426ad7aeb686670e087af2e9812f79a2ac217..6748d2db833794147ed94853893e242f348ba229 100644
|
| --- a/chrome/browser/safe_browsing/download_feedback.cc
|
| +++ b/chrome/browser/safe_browsing/download_feedback.cc
|
| @@ -108,7 +108,9 @@ DownloadFeedbackImpl::~DownloadFeedbackImpl() {
|
| uploader_.reset();
|
| }
|
|
|
| - base::FileUtilProxy::Delete(file_task_runner_, file_path_, false,
|
| + base::FileUtilProxy::Delete(file_task_runner_.get(),
|
| + file_path_,
|
| + false,
|
| base::FileUtilProxy::StatusCallback());
|
| }
|
|
|
| @@ -135,15 +137,16 @@ void DownloadFeedbackImpl::Start(const base::Closure& finish_callback) {
|
| std::string metadata_string;
|
| bool ok = report_metadata.SerializeToString(&metadata_string);
|
| DCHECK(ok);
|
| - uploader_.reset(TwoPhaseUploader::Create(
|
| - request_context_getter_,
|
| - file_task_runner_,
|
| - url,
|
| - metadata_string,
|
| - file_path_,
|
| - TwoPhaseUploader::ProgressCallback(),
|
| - base::Bind(&DownloadFeedbackImpl::FinishedUpload, base::Unretained(this),
|
| - finish_callback)));
|
| + uploader_.reset(
|
| + TwoPhaseUploader::Create(request_context_getter_.get(),
|
| + file_task_runner_.get(),
|
| + url,
|
| + metadata_string,
|
| + file_path_,
|
| + TwoPhaseUploader::ProgressCallback(),
|
| + base::Bind(&DownloadFeedbackImpl::FinishedUpload,
|
| + base::Unretained(this),
|
| + finish_callback)));
|
| uploader_->Start();
|
| }
|
|
|
|
|