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

Side by Side Diff: chrome/browser/ntp_snippets/fake_download_item.cc

Issue 209613002: Download shelf autohides on showing in shell, just same as regular open Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added browser and unit tests. Renamed 'UserActed' to 'OpenedOrShown'. Created 4 years, 1 month 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 | « chrome/browser/ntp_snippets/fake_download_item.h ('k') | chrome/browser/platform_util.cc » ('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 "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
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
OLDNEW
« no previous file with comments | « chrome/browser/ntp_snippets/fake_download_item.h ('k') | chrome/browser/platform_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698