| Index: content/browser/service_worker/service_worker_request_handler.h
|
| diff --git a/content/browser/service_worker/service_worker_request_handler.h b/content/browser/service_worker/service_worker_request_handler.h
|
| index 42ac881bfc8ed6cf49e2fe763b5390c1d8365678..6ce4e03482fae791b529804c51f75ff5ce7b1f5c 100644
|
| --- a/content/browser/service_worker/service_worker_request_handler.h
|
| +++ b/content/browser/service_worker/service_worker_request_handler.h
|
| @@ -69,6 +69,12 @@ class CONTENT_EXPORT ServiceWorkerRequestHandler
|
| static scoped_ptr<net::URLRequestInterceptor> CreateInterceptor(
|
| ResourceContext* resource_context);
|
|
|
| + // Returns true if the request falls into the scope of a ServiceWorker.
|
| + // It's only reliable after the ServiceWorkerRequestHandler MaybeCreateJob
|
| + // method runs to completion for this request. The AppCache handler uses
|
| + // this to avoid colliding with ServiceWorkers.
|
| + static bool IsControlledByServiceWorker(net::URLRequest* request);
|
| +
|
| virtual ~ServiceWorkerRequestHandler();
|
|
|
| // Called via custom URLRequestJobFactory.
|
|
|