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

Side by Side Diff: components/payments/content/payment_request_spec.h

Issue 2811593009: [Payments] move //components/payments/content/*.mojom files to //components/payments/mojom (Closed)
Patch Set: Reland after updating chrome_content_browser_client.cc to fix android build 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 2017 The Chromium Authors. All rights reserved. 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 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 COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_SPEC_H_ 5 #ifndef COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_SPEC_H_
6 #define COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_SPEC_H_ 6 #define COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_SPEC_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/observer_list.h" 13 #include "base/observer_list.h"
14 #include "components/payments/content/payment_request.mojom.h"
15 #include "components/payments/core/currency_formatter.h" 14 #include "components/payments/core/currency_formatter.h"
16 #include "components/payments/core/payment_options_provider.h" 15 #include "components/payments/core/payment_options_provider.h"
16 #include "components/payments/mojom/payment_request.mojom.h"
17 17
18 namespace payments { 18 namespace payments {
19 19
20 // Identifier for the basic card payment method in the PaymentMethodData. 20 // Identifier for the basic card payment method in the PaymentMethodData.
21 extern const char kBasicCardMethodName[]; 21 extern const char kBasicCardMethodName[];
22 22
23 // The spec contains all the options that the merchant has specified about this 23 // The spec contains all the options that the merchant has specified about this
24 // Payment Request. It's a (mostly) read-only view, which can be updated in 24 // Payment Request. It's a (mostly) read-only view, which can be updated in
25 // certain occasions by the merchant (see API). 25 // certain occasions by the merchant (see API).
26 class PaymentRequestSpec : public PaymentOptionsProvider { 26 class PaymentRequestSpec : public PaymentOptionsProvider {
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // notified. 154 // notified.
155 base::ObserverList<Observer> observers_; 155 base::ObserverList<Observer> observers_;
156 Observer* observer_for_testing_; 156 Observer* observer_for_testing_;
157 157
158 DISALLOW_COPY_AND_ASSIGN(PaymentRequestSpec); 158 DISALLOW_COPY_AND_ASSIGN(PaymentRequestSpec);
159 }; 159 };
160 160
161 } // namespace payments 161 } // namespace payments
162 162
163 #endif // COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_SPEC_H_ 163 #endif // COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_SPEC_H_
OLDNEW
« no previous file with comments | « components/payments/content/payment_request.mojom ('k') | components/payments/content/payment_request_spec_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698