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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerRegistration.cpp

Issue 2785523003: PaymentHandler: Rename PaymentAppManager to PaymentManager. (Closed)
Patch Set: PaymentHandler: Rename PaymentAppManager to PaymentManager. Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerRegistration.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerRegistration.cpp b/third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerRegistration.cpp
index 292b7117034f9a38801f846f9015b36629f79e1b..476f80a71b12de1216e8a7c7488a39aaa8b734c6 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerRegistration.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerRegistration.cpp
@@ -6,7 +6,7 @@
#include "bindings/core/v8/ScriptState.h"
#include "core/dom/Document.h"
-#include "modules/payments/PaymentAppManager.h"
+#include "modules/payments/PaymentManager.h"
#include "modules/serviceworkers/ServiceWorkerRegistration.h"
namespace blink {
@@ -30,24 +30,24 @@ PaymentAppServiceWorkerRegistration& PaymentAppServiceWorkerRegistration::from(
}
// static
-PaymentAppManager* PaymentAppServiceWorkerRegistration::paymentAppManager(
+PaymentManager* PaymentAppServiceWorkerRegistration::paymentManager(
ScriptState* scriptState,
ServiceWorkerRegistration& registration) {
return PaymentAppServiceWorkerRegistration::from(registration)
- .paymentAppManager(scriptState);
+ .paymentManager(scriptState);
}
-PaymentAppManager* PaymentAppServiceWorkerRegistration::paymentAppManager(
+PaymentManager* PaymentAppServiceWorkerRegistration::paymentManager(
ScriptState* scriptState) {
- if (!m_paymentAppManager) {
- m_paymentAppManager = PaymentAppManager::create(m_registration);
+ if (!m_paymentManager) {
+ m_paymentManager = PaymentManager::create(m_registration);
}
- return m_paymentAppManager.get();
+ return m_paymentManager.get();
}
DEFINE_TRACE(PaymentAppServiceWorkerRegistration) {
visitor->trace(m_registration);
- visitor->trace(m_paymentAppManager);
+ visitor->trace(m_paymentManager);
Supplement<ServiceWorkerRegistration>::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698