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

Unified Diff: content/child/push_messaging/push_provider.h

Issue 1133083002: Reject the permissionState promise with NotSupported Exception (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix failing test Created 5 years, 7 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: content/child/push_messaging/push_provider.h
diff --git a/content/child/push_messaging/push_provider.h b/content/child/push_messaging/push_provider.h
index e44bf41b943af62b3abe8150e8a7eadee1535252..47442ae0230820edd0ba183b93ac7531a3347b8e 100644
--- a/content/child/push_messaging/push_provider.h
+++ b/content/child/push_messaging/push_provider.h
@@ -77,7 +77,8 @@ class PushProvider : public blink::WebPushProvider,
void OnGetRegistrationError(int request_id, PushGetRegistrationStatus status);
void OnGetPermissionStatusSuccess(int request_id,
blink::WebPushPermissionStatus status);
- void OnGetPermissionStatusError(int request_id);
+ void OnGetPermissionStatusError(int request_id,
+ blink::WebPushError::ErrorType error);
scoped_refptr<ThreadSafeSender> thread_safe_sender_;
scoped_refptr<PushDispatcher> push_dispatcher_;

Powered by Google App Engine
This is Rietveld 408576698