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..398282057336a0468e530b03162c6c18a6cdf00c |
--- /dev/null |
+++ b/third_party/WebKit/Source/modules/payments/PaymentInstruments.cpp |
@@ -0,0 +1,44 @@ |
+// 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" |
+#include "platform/wtf/text/WTFString.h" |
please use gerrit instead
2017/03/28 16:33:29
Lets include this in the header instead.
zino
2017/03/29 15:51:23
Done.
|
+ |
+namespace blink { |
+ |
+DEFINE_TRACE(PaymentInstruments) {} |
+ |
+PaymentInstruments::PaymentInstruments() {} |
+ |
+ScriptPromise PaymentInstruments::deleteInstrument( |
+ const String& instrumentKey) { |
+ NOTIMPLEMENTED(); |
please use gerrit instead
2017/03/28 16:33:29
#include "base/logging.h"
zino
2017/03/29 15:51:23
Can we include this? Not sure but it might be allo
|
+ 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(); |
+} |
+ |
+} // namespace blink |