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

Unified Diff: third_party/WebKit/public/web/WebFileChooserParams.h

Issue 1410423003: [SafeBrowsing] Conditionalize unverified download blocking on whitelist. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@flash-download-block
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebFileChooserParams.h
diff --git a/third_party/WebKit/public/web/WebFileChooserParams.h b/third_party/WebKit/public/web/WebFileChooserParams.h
index eaef311065998ff044d10fc4f093e4c128551c1c..8924f2f73601b80f5e377f4aa368362f0239b17e 100644
--- a/third_party/WebKit/public/web/WebFileChooserParams.h
+++ b/third_party/WebKit/public/web/WebFileChooserParams.h
@@ -32,6 +32,7 @@
#define WebFileChooserParams_h
#include "../platform/WebString.h"
+#include "../platform/WebURL.h"
#include "../platform/WebVector.h"
#include "WebFileChooserCompletion.h"
@@ -76,6 +77,9 @@ struct WebFileChooserParams {
// WebFileChooserCompletion that can handle files without local paths,
// 'false' should be specified to the flag.
bool needLocalPath;
+ // If non-empty, represents the URL of the requestor if the request was
+ // initiated by a document.
+ WebURL requestor;
WebFileChooserParams()
: multiSelect(false)
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698