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

Unified Diff: public/platform/WebPushClient.h

Issue 888513003: Move Push-related Blink API headers into their own directory. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 months 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/push_messaging/PushSubscription.cpp ('k') | public/platform/WebPushError.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebPushClient.h
diff --git a/public/platform/WebPushClient.h b/public/platform/WebPushClient.h
index 1f9a6df598ea5dec58bc87f5b7425e290bc25ef9..3045de0ab1779af92b6fbc9a63ff547f11f2f3a7 100644
--- a/public/platform/WebPushClient.h
+++ b/public/platform/WebPushClient.h
@@ -1,31 +1 @@
-// 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 WebPushClient_h
-#define WebPushClient_h
-
-#include "public/platform/WebCallbacks.h"
-#include "public/platform/WebPushError.h"
-
-namespace blink {
-
-class WebServiceWorkerRegistration;
-struct WebPushSubscription;
-
-using WebPushSubscriptionCallbacks = WebCallbacks<WebPushSubscription, WebPushError>;
-// FIXME: Remove when no longer used by the embedder - https://crbug.com/446883.
-using WebPushRegistrationCallbacks = WebPushSubscriptionCallbacks;
-
-class WebPushClient {
-public:
- virtual ~WebPushClient() { }
-
- // Ownership of the WebServiceWorkerRegistration is not transferred.
- // Ownership of the callbacks is transferred to the client.
- virtual void registerPushMessaging(WebServiceWorkerRegistration*, WebPushRegistrationCallbacks*) { BLINK_ASSERT_NOT_REACHED(); }
-};
-
-} // namespace blink
-
-#endif // WebPushClient_h
+#include "public/platform/modules/push_messaging/WebPushClient.h"
« no previous file with comments | « Source/modules/push_messaging/PushSubscription.cpp ('k') | public/platform/WebPushError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698