| Index: content/public/common/file_chooser_params.h
|
| diff --git a/content/public/common/file_chooser_params.h b/content/public/common/file_chooser_params.h
|
| index ad612ab9ce22842085b01b1ae495bbfae368bdd5..cb9d934b43f506050db7882d8ef6af33ab9ba77d 100644
|
| --- a/content/public/common/file_chooser_params.h
|
| +++ b/content/public/common/file_chooser_params.h
|
| @@ -10,6 +10,7 @@
|
| #include "base/files/file_path.h"
|
| #include "base/strings/string16.h"
|
| #include "content/common/content_export.h"
|
| +#include "url/gurl.h"
|
|
|
| namespace content {
|
|
|
| @@ -54,6 +55,11 @@ struct CONTENT_EXPORT FileChooserParams {
|
| // If true, the data should be obtained using the device's camera/mic/etc.
|
| bool capture;
|
| #endif
|
| +
|
| + // If non-empty, represents the URL of the requestor if the request was
|
| + // initiated by a document. Note that this value should be considered
|
| + // untrustworthy since it is specified by the sandbox and not validated.
|
| + GURL requestor;
|
| };
|
|
|
| } // namespace content
|
|
|