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

Unified Diff: Source/modules/notifications/NotificationClient.h

Issue 103083002: Decouple FileSystem and WebSQL callbacks from VoidCallback and it non-refcounted (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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 | « Source/modules/notifications/NotificationCenter.cpp ('k') | Source/modules/webdatabase/Database.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/notifications/NotificationClient.h
diff --git a/Source/modules/notifications/NotificationClient.h b/Source/modules/notifications/NotificationClient.h
index 56e962b7f92267e32188127596795fa767b6e780..4a0e44f528f70a4b77f9c1a7cdf51a861fcf32be 100644
--- a/Source/modules/notifications/NotificationClient.h
+++ b/Source/modules/notifications/NotificationClient.h
@@ -75,7 +75,7 @@ public:
// Requests user permission to show desktop notifications from a particular
// script context. The callback parameter should be run when the user has
// made a decision.
- virtual void requestPermission(ExecutionContext*, PassRefPtr<VoidCallback>) = 0;
+ virtual void requestPermission(ExecutionContext*, PassOwnPtr<VoidCallback>) = 0;
#endif
virtual void requestPermission(ExecutionContext*, PassOwnPtr<NotificationPermissionCallback>) = 0;
« no previous file with comments | « Source/modules/notifications/NotificationCenter.cpp ('k') | Source/modules/webdatabase/Database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698