Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerRegistration.cpp

Issue 2848243004: Clean up bindings/core/v8 (Part 2) (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #include "modules/payments/PaymentAppServiceWorkerRegistration.h" 5 #include "modules/payments/PaymentAppServiceWorkerRegistration.h"
6 6
7 #include "bindings/core/v8/ScriptState.h"
8 #include "core/dom/Document.h" 7 #include "core/dom/Document.h"
9 #include "modules/payments/PaymentManager.h" 8 #include "modules/payments/PaymentManager.h"
10 #include "modules/serviceworkers/ServiceWorkerRegistration.h" 9 #include "modules/serviceworkers/ServiceWorkerRegistration.h"
10 #include "platform/bindings/ScriptState.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 PaymentAppServiceWorkerRegistration::~PaymentAppServiceWorkerRegistration() {} 14 PaymentAppServiceWorkerRegistration::~PaymentAppServiceWorkerRegistration() {}
15 15
16 // static 16 // static
17 PaymentAppServiceWorkerRegistration& PaymentAppServiceWorkerRegistration::From( 17 PaymentAppServiceWorkerRegistration& PaymentAppServiceWorkerRegistration::From(
18 ServiceWorkerRegistration& registration) { 18 ServiceWorkerRegistration& registration) {
19 PaymentAppServiceWorkerRegistration* supplement = 19 PaymentAppServiceWorkerRegistration* supplement =
20 static_cast<PaymentAppServiceWorkerRegistration*>( 20 static_cast<PaymentAppServiceWorkerRegistration*>(
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 PaymentAppServiceWorkerRegistration::PaymentAppServiceWorkerRegistration( 54 PaymentAppServiceWorkerRegistration::PaymentAppServiceWorkerRegistration(
55 ServiceWorkerRegistration* registration) 55 ServiceWorkerRegistration* registration)
56 : registration_(registration) {} 56 : registration_(registration) {}
57 57
58 // static 58 // static
59 const char* PaymentAppServiceWorkerRegistration::SupplementName() { 59 const char* PaymentAppServiceWorkerRegistration::SupplementName() {
60 return "PaymentAppServiceWorkerRegistration"; 60 return "PaymentAppServiceWorkerRegistration";
61 } 61 }
62 62
63 } // namespace blink 63 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698