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

Side by Side Diff: chrome/browser/ui/views/payments/payment_request_address_util.h

Issue 2625183002: [WebPayments] Adding Shipping Address and Contact Info display to order summary (Closed)
Patch Set: Created 3 years, 11 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.
anthonyvd 2017/01/12 15:42:11 Can we move the contents of this file in payment_r
tmartino 2017/01/18 17:28:24 Done
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 CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_ADDRESS_UTIL_H_
6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_ADDRESS_UTIL_H_
7
8 #include <memory>
9 #include <string>
10
11 #include "components/autofill/core/browser/autofill_profile.h"
12
13 namespace views {
14 class View;
15 }
16
17 namespace payments {
18
19 enum class AddressFormatType {
20 SHIPPING_SUMMARY,
21 SHIPPING_DETAILED,
22 CONTACT_SUMMARY,
23 CONTACT_DETAILED
24 };
25
26 std::unique_ptr<autofill::AutofillProfile> GetDummyProfile();
27
28 std::unique_ptr<views::View> GetPaymentRequestAddressLabel(
29 AddressFormatType type,
anthonyvd 2017/01/12 15:42:11 What's this parameter for (and same question for t
tmartino 2017/01/18 17:28:24 Changed name + documented
30 std::string locale,
31 autofill::AutofillProfile* profile);
32
33 } // namespace payments
34
35 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_ADDRESS_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698