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

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

Issue 2674973003: Adding a DownloadRestrictions group policy. (Closed)
Patch Set: Rebase Created 3 years, 6 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
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 #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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698