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

Side by Side Diff: third_party/WebKit/Source/modules/payments/PaymentRequest.h

Issue 1702223002: PaymentRequest API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 2016 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 #ifndef PaymentRequest_h
6 #define PaymentRequest_h
7
8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "modules/ModulesExport.h"
10 #include "platform/heap/Handle.h"
11 #include "wtf/Noncopyable.h"
12 #include "wtf/Vector.h"
13 #include "wtf/text/WTFString.h"
14
15 namespace blink {
16
17 class ExecutionContext;
18
19 class MODULES_EXPORT PaymentRequest : public GarbageCollectedFinalized<PaymentRe quest>, public ScriptWrappable {
20 DEFINE_WRAPPERTYPEINFO();
21 WTF_MAKE_NONCOPYABLE(PaymentRequest);
22
23 public:
24 static RawPtr<PaymentRequest> create(const Vector<String>&);
Marijn Kruisselbrink 2016/02/17 01:33:21 No need to use RawPtr<Foo>. Just Foo* should work
25
26 explicit PaymentRequest(const Vector<String>&);
27 virtual ~PaymentRequest();
28
29 DECLARE_TRACE();
30
31 private:
32
33 Vector<String> m_supportedMethods;
34 };
35
36 } // namespace blink
37
38 #endif // PaymentRequest_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/modules.gypi ('k') | third_party/WebKit/Source/modules/payments/PaymentRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698