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 | 8 |
9 namespace content { | 9 namespace content { |
10 | 10 |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 bool FakeDownloadItem::GetOpened() const { | 365 bool FakeDownloadItem::GetOpened() const { |
366 NOTREACHED(); | 366 NOTREACHED(); |
367 return false; | 367 return false; |
368 } | 368 } |
369 | 369 |
370 base::Time FakeDownloadItem::GetLastAccessTime() const { | 370 base::Time FakeDownloadItem::GetLastAccessTime() const { |
371 NOTREACHED(); | 371 NOTREACHED(); |
372 return base::Time(); | 372 return base::Time(); |
373 } | 373 } |
374 | 374 |
| 375 bool FakeDownloadItem::IsTransient() const { |
| 376 NOTREACHED(); |
| 377 return false; |
| 378 } |
| 379 |
375 BrowserContext* FakeDownloadItem::GetBrowserContext() const { | 380 BrowserContext* FakeDownloadItem::GetBrowserContext() const { |
376 NOTREACHED(); | 381 NOTREACHED(); |
377 return nullptr; | 382 return nullptr; |
378 } | 383 } |
379 | 384 |
380 WebContents* FakeDownloadItem::GetWebContents() const { | 385 WebContents* FakeDownloadItem::GetWebContents() const { |
381 NOTREACHED(); | 386 NOTREACHED(); |
382 return nullptr; | 387 return nullptr; |
383 } | 388 } |
384 | 389 |
(...skipping 16 matching lines...) Expand all Loading... |
401 void FakeDownloadItem::SetDisplayName(const base::FilePath& name) { | 406 void FakeDownloadItem::SetDisplayName(const base::FilePath& name) { |
402 NOTREACHED(); | 407 NOTREACHED(); |
403 } | 408 } |
404 | 409 |
405 std::string FakeDownloadItem::DebugString(bool verbose) const { | 410 std::string FakeDownloadItem::DebugString(bool verbose) const { |
406 NOTREACHED(); | 411 NOTREACHED(); |
407 return std::string(); | 412 return std::string(); |
408 } | 413 } |
409 | 414 |
410 } // namespace content | 415 } // namespace content |
OLD | NEW |