OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 #include "modules/push_messaging/NavigatorPushManager.h" | 6 #include "modules/push_messaging/NavigatorPushManager.h" |
7 | 7 |
8 #include "core/dom/Document.h" | |
9 #include "core/frame/Navigator.h" | 8 #include "core/frame/Navigator.h" |
10 #include "modules/push_messaging/PushManager.h" | 9 #include "modules/push_messaging/PushManager.h" |
11 | 10 |
12 namespace WebCore { | 11 namespace WebCore { |
13 | 12 |
14 NavigatorPushManager::NavigatorPushManager() | 13 NavigatorPushManager::NavigatorPushManager() |
15 { | 14 { |
16 } | 15 } |
17 | 16 |
18 NavigatorPushManager::~NavigatorPushManager() | 17 NavigatorPushManager::~NavigatorPushManager() |
(...skipping 27 matching lines...) Expand all Loading... |
46 return m_pushManager.get(); | 45 return m_pushManager.get(); |
47 } | 46 } |
48 | 47 |
49 void NavigatorPushManager::trace(Visitor* visitor) | 48 void NavigatorPushManager::trace(Visitor* visitor) |
50 { | 49 { |
51 visitor->trace(m_pushManager); | 50 visitor->trace(m_pushManager); |
52 WillBeHeapSupplement<Navigator>::trace(visitor); | 51 WillBeHeapSupplement<Navigator>::trace(visitor); |
53 } | 52 } |
54 | 53 |
55 } // namespace WebCore | 54 } // namespace WebCore |
OLD | NEW |