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

Unified Diff: Source/modules/push_messaging/PushPermissionClient.h

Issue 728443002: Remove PushPermissionClient. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Delete override. 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
Index: Source/modules/push_messaging/PushPermissionClient.h
diff --git a/Source/modules/push_messaging/PushPermissionClient.h b/Source/modules/push_messaging/PushPermissionClient.h
deleted file mode 100644
index 7a377309b47399258789058e07b6732c89828b7e..0000000000000000000000000000000000000000
--- a/Source/modules/push_messaging/PushPermissionClient.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef PushPermissionClient_h
-#define PushPermissionClient_h
-
-#include "platform/Supplementable.h"
-#include "public/platform/WebCallback.h"
-#include "wtf/PassOwnPtr.h"
-
-namespace blink {
-
-class ExecutionContext;
-class LocalFrame;
-
-class PushPermissionClient : public WillBeHeapSupplement<LocalFrame> {
-public:
- virtual ~PushPermissionClient() { }
-
- // Requests user permission to use the Push API from the origin of the
- // current frame. The provided callback will be run when a decision has been
- // made.
- virtual void requestPermission(ExecutionContext*, WebCallback*) = 0;
-
- // WillBeHeapSupplement requirements.
- static const char* supplementName();
- static PushPermissionClient* from(ExecutionContext*);
-};
-
-void providePushPermissionClientTo(LocalFrame&, PassOwnPtrWillBeRawPtr<PushPermissionClient>);
-
-} // namespace blink
-
-#endif // PushPermissionClient_h
« no previous file with comments | « Source/modules/push_messaging/PushManager.cpp ('k') | Source/modules/push_messaging/PushPermissionClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698