| 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 #ifndef PushController_h | 5 #ifndef PushController_h |
| 6 #define PushController_h | 6 #define PushController_h |
| 7 | 7 |
| 8 #include "core/frame/LocalFrame.h" | 8 #include "core/frame/LocalFrame.h" |
| 9 #include "modules/ModulesExport.h" | 9 #include "modules/ModulesExport.h" |
| 10 #include "platform/Supplementable.h" | 10 #include "platform/Supplementable.h" |
| 11 #include "wtf/Forward.h" | 11 #include "platform/wtf/Forward.h" |
| 12 #include "wtf/Noncopyable.h" | 12 #include "platform/wtf/Noncopyable.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class WebPushClient; | 16 class WebPushClient; |
| 17 | 17 |
| 18 class PushController final : public GarbageCollected<PushController>, | 18 class PushController final : public GarbageCollected<PushController>, |
| 19 public Supplement<LocalFrame> { | 19 public Supplement<LocalFrame> { |
| 20 USING_GARBAGE_COLLECTED_MIXIN(PushController); | 20 USING_GARBAGE_COLLECTED_MIXIN(PushController); |
| 21 WTF_MAKE_NONCOPYABLE(PushController); | 21 WTF_MAKE_NONCOPYABLE(PushController); |
| 22 | 22 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 36 WebPushClient* Client() const { return client_; } | 36 WebPushClient* Client() const { return client_; } |
| 37 | 37 |
| 38 WebPushClient* client_; | 38 WebPushClient* client_; |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 MODULES_EXPORT void ProvidePushControllerTo(LocalFrame&, WebPushClient*); | 41 MODULES_EXPORT void ProvidePushControllerTo(LocalFrame&, WebPushClient*); |
| 42 | 42 |
| 43 } // namespace blink | 43 } // namespace blink |
| 44 | 44 |
| 45 #endif // PushController_h | 45 #endif // PushController_h |
| OLD | NEW |