Index: content/public/common/origin_util.h |
diff --git a/content/public/common/origin_util.h b/content/public/common/origin_util.h |
index c24361b4feaf376566efe40ea4000e505355b1e4..9f121431875f0fcda25cfe7d38edebd1a3dc6055 100644 |
--- a/content/public/common/origin_util.h |
+++ b/content/public/common/origin_util.h |
@@ -22,6 +22,12 @@ bool CONTENT_EXPORT IsOriginSecure(const GURL& url); |
// http (localhost only), https, or a custom-set secure scheme. |
bool CONTENT_EXPORT OriginCanAccessServiceWorkers(const GURL& url); |
+// Returns true if the origin of the URL was white listed as trustworthy by the |
+// client. This behaves similarly to |
+// SecurityPolicy::isOriginWhiteListedTrustworthy but without the uniqueness |
+// check. |
+bool CONTENT_EXPORT IsOriginWhiteListedTrustworthy(const GURL& url); |
+ |
} // namespace content |
#endif // CONTENT_PUBLIC_COMMON_ORIGIN_UTIL_H_ |