| Index: content/child/web_url_request_util.cc
|
| diff --git a/content/child/web_url_request_util.cc b/content/child/web_url_request_util.cc
|
| index 74091e38455876a82699c7f67aa6d01b46dc2edf..e23e5b7bea1889207fe62a34ea84cefd73dba05f 100644
|
| --- a/content/child/web_url_request_util.cc
|
| +++ b/content/child/web_url_request_util.cc
|
| @@ -456,6 +456,18 @@ RequestContextType GetRequestContextTypeForWebURLRequest(
|
| return static_cast<RequestContextType>(request.getRequestContext());
|
| }
|
|
|
| +STATIC_ASSERT_ENUM(SkipServiceWorker::NONE,
|
| + WebURLRequest::SkipServiceWorker::None);
|
| +STATIC_ASSERT_ENUM(SkipServiceWorker::CONTROLLING,
|
| + WebURLRequest::SkipServiceWorker::Controlling);
|
| +STATIC_ASSERT_ENUM(SkipServiceWorker::ALL,
|
| + WebURLRequest::SkipServiceWorker::All);
|
| +
|
| +SkipServiceWorker GetSkipServiceWorkerForWebURLRequest(
|
| + const blink::WebURLRequest& request) {
|
| + return static_cast<SkipServiceWorker>(request.skipServiceWorker());
|
| +}
|
| +
|
| blink::WebURLError CreateWebURLError(const blink::WebURL& unreachable_url,
|
| bool stale_copy_in_cache,
|
| int reason) {
|
|
|