| Index: chrome/common/origin_util.h
|
| diff --git a/chrome/common/origin_util.h b/chrome/common/origin_util.h
|
| index 2b8cd5e90d782061940ce60e555804fab7970167..58c02052f5bd35a29dfd697c4904265dbe1c4072 100644
|
| --- a/chrome/common/origin_util.h
|
| +++ b/chrome/common/origin_util.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef CHROME_COMMON_ORIGIN_UTIL_H_
|
| #define CHROME_COMMON_ORIGIN_UTIL_H_
|
|
|
| +#include <set>
|
| +
|
| class GURL;
|
|
|
| // Returns true if the origin is trustworthy: that is, if its contents can be
|
| @@ -14,4 +16,11 @@ class GURL;
|
| // See https://www.w3.org/TR/powerful-features/#is-origin-trustworthy.
|
| bool IsOriginSecure(const GURL& url);
|
|
|
| +// Returns a set of whitelisted origins that are specified by command-line
|
| +// options.
|
| +const std::set<GURL>& GetWhiteListedSecureOrigins();
|
| +
|
| +// Clear whitelisted origins.
|
| +void ClearWhiteListedSecureOrigins();
|
| +
|
| #endif // CHROME_COMMON_ORIGIN_UTIL_H_
|
|
|