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

Unified Diff: content/browser/download/download_item_impl.h

Issue 2674973003: Adding a DownloadRestrictions group policy. (Closed)
Patch Set: Test compile fix 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: content/browser/download/download_item_impl.h
diff --git a/content/browser/download/download_item_impl.h b/content/browser/download/download_item_impl.h
index c899f25016b113ef24356a9f5cb565b2d8be20e4..49cb205783347ca3e6c0adac3345ff1655c8cd18 100644
--- a/content/browser/download/download_item_impl.h
+++ b/content/browser/download/download_item_impl.h
@@ -9,6 +9,7 @@
#include <memory>
#include <string>
+#include <vector>
#include "base/callback_forward.h"
#include "base/files/file_path.h"
@@ -160,7 +161,8 @@ class CONTENT_EXPORT DownloadItemImpl
bool GetOpened() const override;
BrowserContext* GetBrowserContext() const override;
WebContents* GetWebContents() const override;
- void OnContentCheckCompleted(DownloadDangerType danger_type) override;
+ void OnContentCheckCompleted(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