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

Unified Diff: content/shell/renderer/test_runner/mock_web_push_client.h

Issue 716763002: Revert "Revert of Implement getPermissionStatus in MockWebPushClient" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 | « no previous file | content/shell/renderer/test_runner/mock_web_push_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/mock_web_push_client.h
diff --git a/content/shell/renderer/test_runner/mock_web_push_client.h b/content/shell/renderer/test_runner/mock_web_push_client.h
index fc3e94ed962cfba56d8dd3876e78777c72085d1b..6ffc3a62ede9d42302d41b074c16675b437056ad 100644
--- a/content/shell/renderer/test_runner/mock_web_push_client.h
+++ b/content/shell/renderer/test_runner/mock_web_push_client.h
@@ -37,6 +37,9 @@ class MockWebPushClient : public blink::WebPushClient {
virtual void registerPushMessaging(
blink::WebPushRegistrationCallbacks* callbacks,
blink::WebServiceWorkerProvider* service_worker_provider);
+ virtual void getPermissionStatus(
+ blink::WebPushPermissionStatusCallback* callback,
+ blink::WebServiceWorkerProvider* provider);
std::string end_point_;
std::string registration_id_;
« no previous file with comments | « no previous file | content/shell/renderer/test_runner/mock_web_push_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698