OLD | NEW |
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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 NOTREACHED(); | 360 NOTREACHED(); |
361 return nullptr; | 361 return nullptr; |
362 } | 362 } |
363 | 363 |
364 content::WebContents* FakeDownloadItem::GetWebContents() const { | 364 content::WebContents* FakeDownloadItem::GetWebContents() const { |
365 NOTREACHED(); | 365 NOTREACHED(); |
366 return nullptr; | 366 return nullptr; |
367 } | 367 } |
368 | 368 |
369 void FakeDownloadItem::OnContentCheckCompleted( | 369 void FakeDownloadItem::OnContentCheckCompleted( |
370 content::DownloadDangerType danger_type) { | 370 content::DownloadDangerType danger_type, |
| 371 bool block_file) { |
371 NOTREACHED(); | 372 NOTREACHED(); |
372 } | 373 } |
373 | 374 |
374 void FakeDownloadItem::SetOpenWhenComplete(bool open) { | 375 void FakeDownloadItem::SetOpenWhenComplete(bool open) { |
375 NOTREACHED(); | 376 NOTREACHED(); |
376 } | 377 } |
377 | 378 |
378 void FakeDownloadItem::SetOpened(bool opened) { | 379 void FakeDownloadItem::SetOpened(bool opened) { |
379 NOTREACHED(); | 380 NOTREACHED(); |
380 } | 381 } |
381 | 382 |
382 void FakeDownloadItem::SetDisplayName(const base::FilePath& name) { | 383 void FakeDownloadItem::SetDisplayName(const base::FilePath& name) { |
383 NOTREACHED(); | 384 NOTREACHED(); |
384 } | 385 } |
385 | 386 |
386 std::string FakeDownloadItem::DebugString(bool verbose) const { | 387 std::string FakeDownloadItem::DebugString(bool verbose) const { |
387 NOTREACHED(); | 388 NOTREACHED(); |
388 return std::string(); | 389 return std::string(); |
389 } | 390 } |
390 | 391 |
391 } // namespace test | 392 } // namespace test |
OLD | NEW |