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/frame/Navigator.h" | 8 #include "core/frame/Navigator.h" |
9 #include "modules/push_messaging/PushManager.h" | 9 #include "modules/push_messaging/PushManager.h" |
10 | 10 |
11 namespace WebCore { | 11 namespace blink { |
12 | 12 |
13 NavigatorPushManager::NavigatorPushManager() | 13 NavigatorPushManager::NavigatorPushManager() |
14 { | 14 { |
15 } | 15 } |
16 | 16 |
17 NavigatorPushManager::~NavigatorPushManager() | 17 NavigatorPushManager::~NavigatorPushManager() |
18 { | 18 { |
19 } | 19 } |
20 | 20 |
21 const char* NavigatorPushManager::supplementName() | 21 const char* NavigatorPushManager::supplementName() |
(...skipping 22 matching lines...) Expand all Loading... |
44 m_pushManager = PushManager::create(); | 44 m_pushManager = PushManager::create(); |
45 return m_pushManager.get(); | 45 return m_pushManager.get(); |
46 } | 46 } |
47 | 47 |
48 void NavigatorPushManager::trace(Visitor* visitor) | 48 void NavigatorPushManager::trace(Visitor* visitor) |
49 { | 49 { |
50 visitor->trace(m_pushManager); | 50 visitor->trace(m_pushManager); |
51 WillBeHeapSupplement<Navigator>::trace(visitor); | 51 WillBeHeapSupplement<Navigator>::trace(visitor); |
52 } | 52 } |
53 | 53 |
54 } // namespace WebCore | 54 } // namespace blink |
OLD | NEW |