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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentAppManager.h

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/PaymentAppManager.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentAppManager.h b/third_party/WebKit/Source/modules/payments/PaymentAppManager.h
deleted file mode 100644
index fb48b6c059f2babaa20eeb5000ea8534b31f7bc2..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/payments/PaymentAppManager.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// 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 PaymentAppManager_h
-#define PaymentAppManager_h
-
-#include "bindings/core/v8/ScriptPromise.h"
-#include "bindings/core/v8/ScriptWrappable.h"
-#include "components/payments/content/payment_app.mojom-blink.h"
-#include "modules/ModulesExport.h"
-#include "platform/heap/Handle.h"
-
-namespace blink {
-
-class PaymentAppManifest;
-class ScriptPromiseResolver;
-class ScriptState;
-class ServiceWorkerRegistration;
-
-class MODULES_EXPORT PaymentAppManager final
- : public GarbageCollectedFinalized<PaymentAppManager>,
- public ScriptWrappable {
- DEFINE_WRAPPERTYPEINFO();
- WTF_MAKE_NONCOPYABLE(PaymentAppManager);
-
- public:
- static PaymentAppManager* create(ServiceWorkerRegistration*);
-
- ScriptPromise setManifest(ScriptState*, const PaymentAppManifest&);
- ScriptPromise getManifest(ScriptState*);
-
- DECLARE_TRACE();
-
- private:
- explicit PaymentAppManager(ServiceWorkerRegistration*);
-
- void onSetManifest(ScriptPromiseResolver*,
- payments::mojom::blink::PaymentAppManifestError);
- void onGetManifest(ScriptPromiseResolver*,
- payments::mojom::blink::PaymentAppManifestPtr,
- payments::mojom::blink::PaymentAppManifestError);
- void onServiceConnectionError();
-
- Member<ServiceWorkerRegistration> m_registration;
- payments::mojom::blink::PaymentAppManagerPtr m_manager;
-};
-
-} // namespace blink
-
-#endif // PaymentAppManager_h
« no previous file with comments | « third_party/WebKit/Source/modules/payments/BUILD.gn ('k') | third_party/WebKit/Source/modules/payments/PaymentAppManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698