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

Side by Side Diff: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc

Issue 401103004: Revert of Use language-specific street address line separators (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h" 5 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 section, country_code, inputs, 832 section, country_code, inputs,
833 MutableAddressLanguageCodeForSection(section)); 833 MutableAddressLanguageCodeForSection(section));
834 } 834 }
835 835
836 // Test whether we need to show the shipping section. If filling that section 836 // Test whether we need to show the shipping section. If filling that section
837 // would be a no-op, don't show it. 837 // would be a no-op, don't show it.
838 cares_about_shipping_ = form_structure_.FillFields( 838 cares_about_shipping_ = form_structure_.FillFields(
839 RequestedTypesForSection(SECTION_SHIPPING), 839 RequestedTypesForSection(SECTION_SHIPPING),
840 base::Bind(common::ServerTypeMatchesField, SECTION_SHIPPING), 840 base::Bind(common::ServerTypeMatchesField, SECTION_SHIPPING),
841 base::Bind(NullGetInfo), 841 base::Bind(NullGetInfo),
842 std::string(),
843 g_browser_process->GetApplicationLocale()); 842 g_browser_process->GetApplicationLocale());
844 843
845 transaction_amount_ = form_structure_.GetUniqueValue( 844 transaction_amount_ = form_structure_.GetUniqueValue(
846 HTML_TYPE_TRANSACTION_AMOUNT); 845 HTML_TYPE_TRANSACTION_AMOUNT);
847 transaction_currency_ = form_structure_.GetUniqueValue( 846 transaction_currency_ = form_structure_.GetUniqueValue(
848 HTML_TYPE_TRANSACTION_CURRENCY); 847 HTML_TYPE_TRANSACTION_CURRENCY);
849 848
850 account_chooser_model_.reset( 849 account_chooser_model_.reset(
851 new AccountChooserModel(this, 850 new AccountChooserModel(this,
852 profile_, 851 profile_,
(...skipping 3305 matching lines...) Expand 10 before | Expand all | Expand 10 after
4158 view_->UpdateButtonStrip(); 4157 view_->UpdateButtonStrip();
4159 } 4158 }
4160 4159
4161 void AutofillDialogControllerImpl::FetchWalletCookie() { 4160 void AutofillDialogControllerImpl::FetchWalletCookie() {
4162 net::URLRequestContextGetter* request_context = profile_->GetRequestContext(); 4161 net::URLRequestContextGetter* request_context = profile_->GetRequestContext();
4163 signin_helper_.reset(new wallet::WalletSigninHelper(this, request_context)); 4162 signin_helper_.reset(new wallet::WalletSigninHelper(this, request_context));
4164 signin_helper_->StartWalletCookieValueFetch(); 4163 signin_helper_->StartWalletCookieValueFetch();
4165 } 4164 }
4166 4165
4167 } // namespace autofill 4166 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698