| Index: content/public/common/origin_util.h
|
| diff --git a/content/public/common/origin_util.h b/content/public/common/origin_util.h
|
| index e3efd6b5213ec86a068fc54083edf95e24ac331a..bb050c94327f26842ecbc7e0c274a8d4152346bd 100644
|
| --- a/content/public/common/origin_util.h
|
| +++ b/content/public/common/origin_util.h
|
| @@ -18,8 +18,12 @@ namespace content {
|
| // See https://www.w3.org/TR/powerful-features/#is-origin-trustworthy.
|
| bool CONTENT_EXPORT IsOriginSecure(const GURL& url);
|
|
|
| +// Returns true if the origin can register a service worker. Scheme must be
|
| +// http (localhost only), https, or a custom-set secure scheme.
|
| +bool CONTENT_EXPORT OriginCanAccessServiceWorkers(const GURL& url);
|
| +
|
| // Resets the internal schemes/origins whitelist. Used only for testing.
|
| -void CONTENT_EXPORT ResetSecureSchemesAndOriginsForTesting();
|
| +void CONTENT_EXPORT ResetSchemesAndOriginsWhitelistForTesting();
|
|
|
| } // namespace content
|
|
|
|
|