| Index: third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerCacheStorage.h
|
| diff --git a/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerCacheStorage.h b/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerCacheStorage.h
|
| index aed4b381af241515065ee94b961531c514e29ff3..e80412d176736a28baf818f924c91f9f395dc676 100644
|
| --- a/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerCacheStorage.h
|
| +++ b/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerCacheStorage.h
|
| @@ -18,9 +18,10 @@ namespace blink {
|
|
|
| class WebServiceWorkerCache;
|
|
|
| -// An interface to the CacheStorage API, implemented by the embedder and passed in to Blink. Blink's implementation
|
| -// of the ServiceWorker spec will call these methods to create/open caches, and expect callbacks from the embedder
|
| -// after operations complete.
|
| +// An interface to the CacheStorage API, implemented by the embedder and passed
|
| +// in to Blink. Blink's implementation of the ServiceWorker spec will call these
|
| +// methods to create/open caches, and expect callbacks from the embedder after
|
| +// operations complete.
|
| class WebServiceWorkerCacheStorage {
|
| public:
|
| using CacheStorageCallbacks = WebCallbacks<void, WebServiceWorkerCacheError>;
|
| @@ -34,12 +35,12 @@ class WebServiceWorkerCacheStorage {
|
|
|
| virtual ~WebServiceWorkerCacheStorage() {}
|
|
|
| - // Ownership of the CacheStorage*Callbacks methods passes to the WebServiceWorkerCacheStorage instance, which
|
| - // will delete it after calling onSuccess or onFailure.
|
| + // Ownership of the CacheStorage*Callbacks methods passes to the
|
| + // WebServiceWorkerCacheStorage instance, which will delete it after calling
|
| + // onSuccess or onFailure.
|
|
|
| - // dispatchOpen() can return a WebServiceWorkerCache object. These
|
| - // objects are owned by Blink and should be destroyed when they are no
|
| - // longer needed.
|
| + // dispatchOpen() can return a WebServiceWorkerCache object. These objects
|
| + // are owned by Blink and should be destroyed when they are no longer needed.
|
| virtual void dispatchHas(CacheStorageCallbacks*,
|
| const WebString& cacheName) = 0;
|
| virtual void dispatchOpen(CacheStorageWithCacheCallbacks*,
|
|
|