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

Side by Side Diff: chrome/browser/ntp_snippets/fake_download_item.cc

Issue 2439533002: Download Feedback Service should upload all eligible downloads (Closed)
Patch Set: make windows bots happy Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ntp_snippets/fake_download_item.h" 5 #include "chrome/browser/ntp_snippets/fake_download_item.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 8
9 using content::DownloadItem; 9 using content::DownloadItem;
10 10
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 const GURL& FakeDownloadItem::GetOriginalUrl() const { 116 const GURL& FakeDownloadItem::GetOriginalUrl() const {
117 return original_url_; 117 return original_url_;
118 } 118 }
119 119
120 // The methods below are not supported and are not expected to be called. 120 // The methods below are not supported and are not expected to be called.
121 void FakeDownloadItem::ValidateDangerousDownload() { 121 void FakeDownloadItem::ValidateDangerousDownload() {
122 NOTREACHED(); 122 NOTREACHED();
123 } 123 }
124 124
125 void FakeDownloadItem::StealDangerousDownload( 125 void FakeDownloadItem::StealDangerousDownload(
126 bool delete_file_afterward,
126 const AcquireFileCallback& callback) { 127 const AcquireFileCallback& callback) {
127 NOTREACHED(); 128 NOTREACHED();
128 callback.Run(base::FilePath()); 129 callback.Run(base::FilePath());
129 } 130 }
130 131
131 void FakeDownloadItem::Pause() { 132 void FakeDownloadItem::Pause() {
132 NOTREACHED(); 133 NOTREACHED();
133 } 134 }
134 135
135 void FakeDownloadItem::Resume() { 136 void FakeDownloadItem::Resume() {
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 void FakeDownloadItem::SetDisplayName(const base::FilePath& name) { 379 void FakeDownloadItem::SetDisplayName(const base::FilePath& name) {
379 NOTREACHED(); 380 NOTREACHED();
380 } 381 }
381 382
382 std::string FakeDownloadItem::DebugString(bool verbose) const { 383 std::string FakeDownloadItem::DebugString(bool verbose) const {
383 NOTREACHED(); 384 NOTREACHED();
384 return std::string(); 385 return std::string();
385 } 386 }
386 387
387 } // namespace test 388 } // namespace test
OLDNEW
« no previous file with comments | « chrome/browser/ntp_snippets/fake_download_item.h ('k') | chrome/browser/safe_browsing/download_feedback_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698