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

Unified Diff: components/payments/core/payment_method_data.h

Issue 2797833002: [Payments] base::string16 -> std::string in PaymentMethodData (Closed)
Patch Set: addressed comments 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/payments/core/payment_method_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/payments/core/payment_method_data.h
diff --git a/components/payments/core/payment_method_data.h b/components/payments/core/payment_method_data.h
index 5993de3445509506c90c65e9575e60e6613f074b..5bc7241db272c29a020ffc971e1529944b619a1b 100644
--- a/components/payments/core/payment_method_data.h
+++ b/components/payments/core/payment_method_data.h
@@ -6,10 +6,9 @@
#define COMPONENTS_PAYMENTS_CORE_PAYMENT_METHOD_DATA_H_
#include <memory>
+#include <string>
#include <vector>
-#include "base/strings/string16.h"
-
namespace base {
class DictionaryValue;
}
@@ -33,16 +32,16 @@ class PaymentMethodData {
// Payment method identifiers for payment methods that the merchant web site
// accepts.
- std::vector<base::string16> supported_methods;
+ std::vector<std::string> supported_methods;
// A JSON-serialized object that provides optional information that might be
// needed by the supported payment methods.
- base::string16 data;
+ std::string data;
// When the methods include "basic-card", a list of networks and types that
// are supported.
- std::vector<base::string16> supported_networks;
- std::vector<base::string16> supported_types;
+ std::vector<std::string> supported_networks;
+ std::vector<std::string> supported_types;
};
} // namespace payments
« no previous file with comments | « no previous file | components/payments/core/payment_method_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698