| Index: content/shell/renderer/test_runner/mock_web_push_client.cc
|
| diff --git a/content/shell/renderer/test_runner/mock_web_push_client.cc b/content/shell/renderer/test_runner/mock_web_push_client.cc
|
| index 76ff1336dd3d20e7a94a5dc64e509cbbd215ce69..98bd8d20090afc18d642b3d483ffdd4953b0681d 100644
|
| --- a/content/shell/renderer/test_runner/mock_web_push_client.cc
|
| +++ b/content/shell/renderer/test_runner/mock_web_push_client.cc
|
| @@ -7,7 +7,6 @@
|
| #include "base/logging.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "third_party/WebKit/public/platform/WebPushError.h"
|
| -#include "third_party/WebKit/public/platform/WebPushPermissionStatus.h"
|
| #include "third_party/WebKit/public/platform/WebPushRegistration.h"
|
| #include "third_party/WebKit/public/platform/WebString.h"
|
|
|
| @@ -57,20 +56,4 @@
|
| delete callbacks;
|
| }
|
|
|
| -void MockWebPushClient::getPermissionStatus(
|
| - blink::WebPushPermissionCallback* callback,
|
| - blink::WebServiceWorkerProvider* provider) {
|
| - blink::WebPushPermissionStatus status;
|
| - if (error_message_.empty())
|
| - status = blink::WebPushPermissionStatusGranted;
|
| - else if (error_message_.compare("deny_permission") == 0)
|
| - status = blink::WebPushPermissionStatusDenied;
|
| - else
|
| - status = blink::WebPushPermissionStatusDefault;
|
| -
|
| - callback->onSuccess(&status);
|
| - delete callback;
|
| -}
|
| -
|
| -
|
| } // namespace content
|
|
|