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

Unified Diff: chrome/browser/ntp_snippets/fake_download_item.h

Issue 2674973003: Adding a DownloadRestrictions group policy. (Closed)
Patch Set: Patch set 5 + rebase Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ntp_snippets/fake_download_item.h
diff --git a/chrome/browser/ntp_snippets/fake_download_item.h b/chrome/browser/ntp_snippets/fake_download_item.h
index 37edfd6bc89effc32a4977fb22452687f6c72875..d5182988e31482ff79714c23bd2b288f542386c6 100644
--- a/chrome/browser/ntp_snippets/fake_download_item.h
+++ b/chrome/browser/ntp_snippets/fake_download_item.h
@@ -115,8 +115,8 @@ class FakeDownloadItem : public content::DownloadItem {
bool GetOpened() const override;
content::BrowserContext* GetBrowserContext() const override;
content::WebContents* GetWebContents() const override;
- void OnContentCheckCompleted(
- content::DownloadDangerType danger_type) override;
+ void OnContentCheckCompleted(content::DownloadDangerType danger_type,
+ bool block_file) override;
void SetOpenWhenComplete(bool open) override;
void SetOpened(bool opened) override;
void SetDisplayName(const base::FilePath& name) override;

Powered by Google App Engine
This is Rietveld 408576698