Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Unified Diff: third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerCacheStorage.h

Issue 2387983002: Worker: Reflow comments in worker components (Closed)
Patch Set: manually tweak Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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*,

Powered by Google App Engine
This is Rietveld 408576698