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

Side by Side 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, 8 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "modules/payments/PaymentInstruments.h"
6
7 #include "bindings/core/v8/ScriptPromise.h"
8 #include "modules/payments/PaymentInstrument.h"
9 #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.
10
11 namespace blink {
12
13 DEFINE_TRACE(PaymentInstruments) {}
14
15 PaymentInstruments::PaymentInstruments() {}
16
17 ScriptPromise PaymentInstruments::deleteInstrument(
18 const String& instrumentKey) {
19 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
20 return ScriptPromise();
21 }
22
23 ScriptPromise PaymentInstruments::get(const String& instrumentKey) {
24 NOTIMPLEMENTED();
25 return ScriptPromise();
26 }
27
28 ScriptPromise PaymentInstruments::keys() {
29 NOTIMPLEMENTED();
30 return ScriptPromise();
31 }
32
33 ScriptPromise PaymentInstruments::has(const String& instrumentKey) {
34 NOTIMPLEMENTED();
35 return ScriptPromise();
36 }
37
38 ScriptPromise PaymentInstruments::set(const String& instrumentKey,
39 const PaymentInstrument& details) {
40 NOTIMPLEMENTED();
41 return ScriptPromise();
42 }
43
44 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698