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

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

Issue 783983003: Push API: move PushManager from Navigator to ServiceWorkerRegistration [switchover 6/6] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address review comments. Created 6 years 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/NavigatorPushManager.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/push_messaging/NavigatorPushManager.h
diff --git a/Source/modules/push_messaging/NavigatorPushManager.h b/Source/modules/push_messaging/NavigatorPushManager.h
deleted file mode 100644
index ccf4c091fefdb0215fa61d11a23319e28fa87a23..0000000000000000000000000000000000000000
--- a/Source/modules/push_messaging/NavigatorPushManager.h
+++ /dev/null
@@ -1,36 +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 NavigatorPushManager_h
-#define NavigatorPushManager_h
-
-#include "platform/Supplementable.h"
-#include "platform/heap/Handle.h"
-
-namespace blink {
-
-class Navigator;
-class PushManager;
-
-class NavigatorPushManager final : public NoBaseWillBeGarbageCollectedFinalized<NavigatorPushManager>, public WillBeHeapSupplement<Navigator> {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorPushManager);
-public:
- virtual ~NavigatorPushManager();
- static NavigatorPushManager& from(Navigator&);
-
- static PushManager* push(Navigator&);
- PushManager* pushManager();
-
- void trace(Visitor*);
-
-private:
- NavigatorPushManager();
- static const char* supplementName();
-
- PersistentWillBeMember<PushManager> m_pushManager;
-};
-
-} // namespace blink
-
-#endif // NavigatorPushManager_h
« no previous file with comments | « Source/modules/modules.gypi ('k') | Source/modules/push_messaging/NavigatorPushManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698