Chromium Code Reviews| Index: third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerGlobalScope.h |
| diff --git a/third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerGlobalScope.h b/third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerGlobalScope.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7f7c1d7db9b9f06b31b7ff016d93571fc8f55c18 |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerGlobalScope.h |
| @@ -0,0 +1,21 @@ |
| +// Copyright 2016 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 PaymentAppServiceWorkerGlobalScope_h |
| +#define PaymentAppServiceWorkerGlobalScope_h |
| + |
| +#include "core/events/EventTarget.h" |
| + |
| +namespace blink { |
| + |
| +class PaymentAppServiceWorkerGlobalScope { |
| + STATIC_ONLY(PaymentAppServiceWorkerGlobalScope); |
|
please use gerrit instead
2016/11/21 20:31:36
Please #inclued "wtf/Allocator.h" for STATIC_ONLY.
zino
2016/11/21 23:22:13
Done.
|
| + |
| + public: |
| + DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(paymentrequest); |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // PaymentAppServiceWorkerGlobalScope_h |