Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 | |
| OLD | NEW |