summaryrefslogtreecommitdiffstats
path: root/components/autofill/browser/wallet/wallet_address_unittest.cc
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-22 07:46:35 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-22 07:46:35 +0000
commit5f877331f7a9f3a917ceb378ffe7cb5315f2f0d0 (patch)
treebdea5c6ae76490b65fb2951a64e7bdeed312ab6a /components/autofill/browser/wallet/wallet_address_unittest.cc
parenteac2b36333c3947f650e96c3b45e9afed616e4b3 (diff)
downloadchromium_src-5f877331f7a9f3a917ceb378ffe7cb5315f2f0d0.zip
chromium_src-5f877331f7a9f3a917ceb378ffe7cb5315f2f0d0.tar.gz
chromium_src-5f877331f7a9f3a917ceb378ffe7cb5315f2f0d0.tar.bz2
Revert 201451 "Autofill:requestAutocomplete: Enable prompting fo..."
This change adds new static initializers in wallet_address.cc. > Autofill:requestAutocomplete: Enable prompting for complete address when instrument being used doesn't have full address. > > BUG=173517 > > Review URL: https://chromiumcodereview.appspot.com/15136002 TBR=ramankk@chromium.org Review URL: https://codereview.chromium.org/15689005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201460 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/autofill/browser/wallet/wallet_address_unittest.cc')
-rw-r--r--components/autofill/browser/wallet/wallet_address_unittest.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/components/autofill/browser/wallet/wallet_address_unittest.cc b/components/autofill/browser/wallet/wallet_address_unittest.cc
index 476d3ab..7ac92f7 100644
--- a/components/autofill/browser/wallet/wallet_address_unittest.cc
+++ b/components/autofill/browser/wallet/wallet_address_unittest.cc
@@ -88,7 +88,6 @@ const char kValidAddress[] =
"{"
" \"id\":\"id\","
" \"phone_number\":\"phone_number\","
- " \"is_minimal_address\":\"true\","
" \"postal_address\":"
" {"
" \"recipient_name\":\"recipient_name\","
@@ -146,8 +145,7 @@ const char kClientValidAddress[] =
" \"state\":\"state\","
" \"postal_code\":\"postal_code\","
" \"phone_number\":\"phone_number\","
- " \"country_code\":\"country_code\","
- " \"type\":\"FULL\""
+ " \"country_code\":\"country_code\""
"}";
} // anonymous namespace
@@ -216,7 +214,6 @@ TEST_F(WalletAddressTest, CreateAddressWithID) {
ASCIIToUTF16("postal_code_number"),
ASCIIToUTF16("phone_number"),
"id");
- address.set_is_complete_address(false);
ASSERT_EQ(address, *Address::CreateAddress(*dict_));
ASSERT_EQ(address, *Address::CreateAddressWithID(*dict_));
}