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 "content/public/test/fake_download_item.h" | 5 #include "content/public/test/fake_download_item.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "net/http/http_response_headers.h" | 8 #include "net/http/http_response_headers.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 BrowserContext* FakeDownloadItem::GetBrowserContext() const { | 402 BrowserContext* FakeDownloadItem::GetBrowserContext() const { |
403 NOTREACHED(); | 403 NOTREACHED(); |
404 return nullptr; | 404 return nullptr; |
405 } | 405 } |
406 | 406 |
407 WebContents* FakeDownloadItem::GetWebContents() const { | 407 WebContents* FakeDownloadItem::GetWebContents() const { |
408 NOTREACHED(); | 408 NOTREACHED(); |
409 return nullptr; | 409 return nullptr; |
410 } | 410 } |
411 | 411 |
412 void FakeDownloadItem::OnContentCheckCompleted(DownloadDangerType danger_type) { | 412 void FakeDownloadItem::OnContentCheckCompleted(DownloadDangerType danger_type, |
| 413 DownloadInterruptReason reason) { |
413 NOTREACHED(); | 414 NOTREACHED(); |
414 } | 415 } |
415 | 416 |
416 void FakeDownloadItem::SetOpenWhenComplete(bool open) { | 417 void FakeDownloadItem::SetOpenWhenComplete(bool open) { |
417 NOTREACHED(); | 418 NOTREACHED(); |
418 } | 419 } |
419 | 420 |
420 void FakeDownloadItem::SetOpened(bool opened) { | 421 void FakeDownloadItem::SetOpened(bool opened) { |
421 NOTREACHED(); | 422 NOTREACHED(); |
422 } | 423 } |
423 | 424 |
424 void FakeDownloadItem::SetDisplayName(const base::FilePath& name) { | 425 void FakeDownloadItem::SetDisplayName(const base::FilePath& name) { |
425 NOTREACHED(); | 426 NOTREACHED(); |
426 } | 427 } |
427 | 428 |
428 std::string FakeDownloadItem::DebugString(bool verbose) const { | 429 std::string FakeDownloadItem::DebugString(bool verbose) const { |
429 NOTREACHED(); | 430 NOTREACHED(); |
430 return std::string(); | 431 return std::string(); |
431 } | 432 } |
432 | 433 |
433 } // namespace content | 434 } // namespace content |
OLD | NEW |