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

Unified Diff: Source/modules/push_messaging/PushPermissionStatusCallbacks.h

Issue 1304723002: [PushMessaging] Use appopriate type parameters for WebCallbacks (1/3). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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
« no previous file with comments | « no previous file | Source/modules/push_messaging/PushPermissionStatusCallbacks.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/push_messaging/PushPermissionStatusCallbacks.h
diff --git a/Source/modules/push_messaging/PushPermissionStatusCallbacks.h b/Source/modules/push_messaging/PushPermissionStatusCallbacks.h
index 838d443c4e637a56fb2d5876ed899967cd2a0b89..79d1570d9cf2350b2295b44bda650f448eb8dd7d 100644
--- a/Source/modules/push_messaging/PushPermissionStatusCallbacks.h
+++ b/Source/modules/push_messaging/PushPermissionStatusCallbacks.h
@@ -26,10 +26,10 @@ public:
explicit PushPermissionStatusCallbacks(ScriptPromiseResolver*);
~PushPermissionStatusCallbacks() override;
- void onSuccess(WebPushPermissionStatus*) override;
+ void onSuccess(WebPushPermissionStatus) override;
// Called if for some reason the status of the push permission cannot be checked.
- void onError(WebPushError*) override;
+ void onError(const WebPushError&) override;
private:
static WTF::String permissionString(WebPushPermissionStatus);
« no previous file with comments | « no previous file | Source/modules/push_messaging/PushPermissionStatusCallbacks.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698