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

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

Issue 2790013002: PaymentHandler: Implement set/get methods in PaymentInstruments (blink) (Closed)
Patch Set: blink 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PaymentManager_h 5 #ifndef PaymentManager_h
6 #define PaymentManager_h 6 #define PaymentManager_h
7 7
8 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptWrappable.h" 9 #include "bindings/core/v8/ScriptWrappable.h"
10 #include "components/payments/mojom/payment_app.mojom-blink.h" 10 #include "components/payments/mojom/payment_app.mojom-blink.h"
(...skipping 28 matching lines...) Expand all
39 explicit PaymentManager(ServiceWorkerRegistration*); 39 explicit PaymentManager(ServiceWorkerRegistration*);
40 40
41 void OnSetManifest(ScriptPromiseResolver*, 41 void OnSetManifest(ScriptPromiseResolver*,
42 payments::mojom::blink::PaymentAppManifestError); 42 payments::mojom::blink::PaymentAppManifestError);
43 void OnGetManifest(ScriptPromiseResolver*, 43 void OnGetManifest(ScriptPromiseResolver*,
44 payments::mojom::blink::PaymentAppManifestPtr, 44 payments::mojom::blink::PaymentAppManifestPtr,
45 payments::mojom::blink::PaymentAppManifestError); 45 payments::mojom::blink::PaymentAppManifestError);
46 void OnServiceConnectionError(); 46 void OnServiceConnectionError();
47 47
48 Member<ServiceWorkerRegistration> registration_; 48 Member<ServiceWorkerRegistration> registration_;
49 payments::mojom::blink::PaymentManagerPtr manager_;
49 Member<PaymentInstruments> instruments_; 50 Member<PaymentInstruments> instruments_;
50 payments::mojom::blink::PaymentManagerPtr manager_;
51 }; 51 };
52 52
53 } // namespace blink 53 } // namespace blink
54 54
55 #endif // PaymentManager_h 55 #endif // PaymentManager_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698