| Index: third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.h
|
| diff --git a/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.h b/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.h
|
| index dd3d3cea695def9a244e5740e2794e3a99befde0..f5b0bbb903e1b565265a735487db96a65e62963e 100644
|
| --- a/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.h
|
| +++ b/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.h
|
| @@ -124,14 +124,16 @@ class ApplicationCacheHost final
|
| void selectCacheWithoutManifest();
|
| void selectCacheWithManifest(const KURL& manifestURL);
|
|
|
| - void willStartLoadingMainResource(ResourceRequest&);
|
| + // Annotate request for ApplicationCache. This internally calls
|
| + // willStartLoadingMainResource if it's for frame resource or
|
| + // willStartLoadingResource for subresource requests.
|
| + void willStartLoading(ResourceRequest&);
|
| +
|
| void didReceiveResponseForMainResource(const ResourceResponse&);
|
| void mainResourceDataReceived(const char* data, size_t length);
|
| void finishedLoadingMainResource();
|
| void failedLoadingMainResource();
|
|
|
| - void willStartLoadingResource(ResourceRequest&);
|
| -
|
| Status getStatus() const;
|
| bool update();
|
| bool swapCache();
|
| @@ -157,6 +159,9 @@ class ApplicationCacheHost final
|
| private:
|
| explicit ApplicationCacheHost(DocumentLoader*);
|
|
|
| + void willStartLoadingMainResource(ResourceRequest&);
|
| + void willStartLoadingResource(ResourceRequest&);
|
| +
|
| // WebApplicationCacheHostClient implementation
|
| void didChangeCacheAssociation() final;
|
| void notifyEventListener(WebApplicationCacheHost::EventID) final;
|
|
|