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

Unified Diff: third_party/WebKit/Source/modules/push_messaging/PushSubscriptionCallbacks.h

Issue 2392543004: Reflow comments in the Push and Notification modules. (Closed)
Patch Set: Reflow comments in the Push and Notification modules. 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/Source/modules/push_messaging/PushSubscriptionCallbacks.h
diff --git a/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionCallbacks.h b/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionCallbacks.h
index e474484ccda23cd07681af6d7117c348b1a5b4ee..ccff90d51334c3d2288682185077470e481b0586 100644
--- a/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionCallbacks.h
+++ b/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionCallbacks.h
@@ -16,10 +16,10 @@ class ScriptPromiseResolver;
struct WebPushError;
struct WebPushSubscription;
-// PushSubscriptionCallbacks is an implementation of WebPushSubscriptionCallbacks
-// that will resolve the underlying promise depending on the result passed to
-// the callback. It takes a ServiceWorkerRegistration in its constructor and
-// will pass it to the PushSubscription.
+// This class is an implementation of WebPushSubscriptionCallbacks that will
+// resolve the underlying promise depending on the result passed to the
+// callback. It takes a ServiceWorkerRegistration in its constructor and will
+// pass it to the PushSubscription.
class PushSubscriptionCallbacks final : public WebPushSubscriptionCallbacks {
WTF_MAKE_NONCOPYABLE(PushSubscriptionCallbacks);
USING_FAST_MALLOC(PushSubscriptionCallbacks);
@@ -28,6 +28,7 @@ class PushSubscriptionCallbacks final : public WebPushSubscriptionCallbacks {
PushSubscriptionCallbacks(ScriptPromiseResolver*, ServiceWorkerRegistration*);
~PushSubscriptionCallbacks() override;
+ // WebPushSubscriptionCallbacks interface.
void onSuccess(std::unique_ptr<WebPushSubscription>) override;
void onError(const WebPushError&) override;

Powered by Google App Engine
This is Rietveld 408576698