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

Side by Side Diff: content/public/test/fake_download_item.cc

Issue 2720613002: Downloads: Added transient flag to download item and download database (Closed)
Patch Set: fix tests Created 3 years, 8 months 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
« no previous file with comments | « content/public/test/fake_download_item.h ('k') | content/public/test/mock_download_item.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "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
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
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
OLDNEW
« no previous file with comments | « content/public/test/fake_download_item.h ('k') | content/public/test/mock_download_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698