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

Unified Diff: Source/modules/push_messaging/PushManager.cpp

Issue 702003004: Rename PushPermissionCallback to PushPermissionStatusCallback [1/3] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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/modules.gypi ('k') | Source/modules/push_messaging/PushPermissionCallback.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/push_messaging/PushManager.cpp
diff --git a/Source/modules/push_messaging/PushManager.cpp b/Source/modules/push_messaging/PushManager.cpp
index 7987e2ee9f903b36b3cc7c4104a95e18b1399a25..1d6237303cfc982851815527c09c34023d47791c 100644
--- a/Source/modules/push_messaging/PushManager.cpp
+++ b/Source/modules/push_messaging/PushManager.cpp
@@ -16,7 +16,7 @@
#include "core/frame/LocalDOMWindow.h"
#include "modules/push_messaging/PushController.h"
#include "modules/push_messaging/PushError.h"
-#include "modules/push_messaging/PushPermissionCallback.h"
+#include "modules/push_messaging/PushPermissionStatusCallback.h"
#include "modules/push_messaging/PushRegistration.h"
#include "modules/serviceworkers/NavigatorServiceWorker.h"
#include "modules/serviceworkers/ServiceWorkerContainer.h"
@@ -72,7 +72,7 @@ ScriptPromise PushManager::hasPermission(ScriptState* scriptState)
RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
- client->getPermissionStatus(new PushPermissionCallback(resolver), serviceWorkerProvider);
+ client->getPermissionStatus(new PushPermissionStatusCallback(resolver), serviceWorkerProvider);
return resolver->promise();
}
« no previous file with comments | « Source/modules/modules.gypi ('k') | Source/modules/push_messaging/PushPermissionCallback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698