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

Side by Side Diff: components/payments/core/strings_util.h

Issue 2784973002: Move string helper functions to components/core for iOS use. (Closed)
Patch Set: Deps, part 3 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
« no previous file with comments | « components/payments/core/DEPS ('k') | components/payments/core/strings_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_PAYMENTS_CORE_STRINGS_UTIL_H_
6 #define COMPONENTS_PAYMENTS_CORE_STRINGS_UTIL_H_
7
8 #include "base/strings/string16.h"
9 #include "components/payments/core/payment_options_provider.h"
10
11 namespace payments {
12
13 // Gets the appropriate display string for the Shipping Address string for the
14 // given PaymentShippingType.
15 base::string16 GetShippingAddressSectionString(
16 PaymentShippingType shipping_type);
17
18 // Gets the appropriate display string for the Shipping Option string for the
19 // given PaymentShippingType.
20 base::string16 GetShippingOptionSectionString(
21 PaymentShippingType shipping_type);
22
23 } // namespace payments
24
25 #endif // COMPONENTS_PAYMENTS_CORE_STRINGS_UTIL_H_
OLDNEW
« no previous file with comments | « components/payments/core/DEPS ('k') | components/payments/core/strings_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698