| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 PaymentAppServiceWorkerRegistration_h | 5 #ifndef PaymentAppServiceWorkerRegistration_h |
| 6 #define PaymentAppServiceWorkerRegistration_h | 6 #define PaymentAppServiceWorkerRegistration_h |
| 7 | 7 |
| 8 #include "modules/serviceworkers/ServiceWorkerRegistration.h" | 8 #include "modules/serviceworkers/ServiceWorkerRegistration.h" |
| 9 #include "platform/Supplementable.h" | 9 #include "platform/Supplementable.h" |
| 10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 virtual ~PaymentAppServiceWorkerRegistration(); | 25 virtual ~PaymentAppServiceWorkerRegistration(); |
| 26 static PaymentAppServiceWorkerRegistration& from(ServiceWorkerRegistration&); | 26 static PaymentAppServiceWorkerRegistration& from(ServiceWorkerRegistration&); |
| 27 | 27 |
| 28 static PaymentAppManager* paymentAppManager(ScriptState*, | 28 static PaymentAppManager* paymentAppManager(ScriptState*, |
| 29 ServiceWorkerRegistration&); | 29 ServiceWorkerRegistration&); |
| 30 PaymentAppManager* paymentAppManager(ScriptState*); | 30 PaymentAppManager* paymentAppManager(ScriptState*); |
| 31 | 31 |
| 32 DECLARE_VIRTUAL_TRACE(); | 32 DECLARE_VIRTUAL_TRACE(); |
| 33 | 33 |
| 34 private: | 34 private: |
| 35 explicit PaymentAppServiceWorkerRegistration(ServiceWorkerRegistration*); | 35 explicit PaymentAppServiceWorkerRegistration(ServiceWorkerRegistration&); |
| 36 static const char* supplementName(); | 36 static const char* supplementName(); |
| 37 | 37 |
| 38 Member<ServiceWorkerRegistration> m_registration; | |
| 39 Member<PaymentAppManager> m_paymentAppManager; | 38 Member<PaymentAppManager> m_paymentAppManager; |
| 40 }; | 39 }; |
| 41 | 40 |
| 42 } // namespace blink | 41 } // namespace blink |
| 43 | 42 |
| 44 #endif // PaymentAppServiceWorkerRegistration_h | 43 #endif // PaymentAppServiceWorkerRegistration_h |
| OLD | NEW |