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