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

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

Issue 2775343002: PaymentHandler: Initial implementation for PaymentInstruments. (Closed)
Patch Set: PaymentHandler: Initial implementation for PaymentInstruments. 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/PaymentInstruments.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentInstruments.cpp b/third_party/WebKit/Source/modules/payments/PaymentInstruments.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..2ba0b38693c3b2bcfc98346ac9af3ee823b45627
--- /dev/null
+++ b/third_party/WebKit/Source/modules/payments/PaymentInstruments.cpp
@@ -0,0 +1,43 @@
+// Copyright 2017 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.
+
+#include "modules/payments/PaymentInstruments.h"
+
+#include "bindings/core/v8/ScriptPromise.h"
+#include "modules/payments/PaymentInstrument.h"
+
+namespace blink {
+
+PaymentInstruments::PaymentInstruments() {}
+
+ScriptPromise PaymentInstruments::deleteInstrument(
+ const String& instrumentKey) {
+ NOTIMPLEMENTED();
+ return ScriptPromise();
+}
+
+ScriptPromise PaymentInstruments::get(const String& instrumentKey) {
+ NOTIMPLEMENTED();
+ return ScriptPromise();
+}
+
+ScriptPromise PaymentInstruments::keys() {
+ NOTIMPLEMENTED();
+ return ScriptPromise();
+}
+
+ScriptPromise PaymentInstruments::has(const String& instrumentKey) {
+ NOTIMPLEMENTED();
+ return ScriptPromise();
+}
+
+ScriptPromise PaymentInstruments::set(const String& instrumentKey,
+ const PaymentInstrument& details) {
+ NOTIMPLEMENTED();
+ return ScriptPromise();
+}
+
+DEFINE_TRACE(PaymentInstruments) {}
+
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698