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

Unified Diff: ios/web/payments/payment_request.cc

Issue 2352513002: PaymentRequest: Deprecate careOf attribute in PaymentAddress. (Closed)
Patch Set: PaymentRequest: Deprecate careOf attribute in PaymentAddress. Created 4 years, 3 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 | « chrome/test/data/android/payments/util.js ('k') | third_party/WebKit/Source/core/frame/Deprecation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/payments/payment_request.cc
diff --git a/ios/web/payments/payment_request.cc b/ios/web/payments/payment_request.cc
index 95b4e9818a88db7141a95384a2e3062204b852bc..ca77381e8821f6f40da6535f37a50e3366ee95a0 100644
--- a/ios/web/payments/payment_request.cc
+++ b/ios/web/payments/payment_request.cc
@@ -21,7 +21,6 @@ static const char kAddressSortingCode[] = "sortingCode";
static const char kAddressLanguageCode[] = "languageCode";
static const char kAddressOrganization[] = "organization";
static const char kAddressRecipient[] = "recipient";
-static const char kAddressCareOf[] = "careOf";
static const char kAddressPhone[] = "phone";
static const char kMethodData[] = "methodData";
static const char kSupportedMethods[] = "supportedMethods";
@@ -95,8 +94,6 @@ std::unique_ptr<base::DictionaryValue> PaymentAddress::ToDictionaryValue()
result->SetString(kAddressOrganization, this->organization);
if (!this->recipient.empty())
result->SetString(kAddressRecipient, this->recipient);
- if (!this->care_of.empty())
- result->SetString(kAddressCareOf, this->care_of);
if (!this->phone.empty())
result->SetString(kAddressPhone, this->phone);
« no previous file with comments | « chrome/test/data/android/payments/util.js ('k') | third_party/WebKit/Source/core/frame/Deprecation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698