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

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

Issue 96323002: Implement i18n::addressinput::Downloader for requestAutocomplete() (and (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years 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
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_controller_impl.h ('k') | components/autofill.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2531 matching lines...) Expand 10 before | Expand all | Expand 10 after
2542 const GURL& source_url, 2542 const GURL& source_url,
2543 const base::Callback<void(const FormStructure*)>& callback) 2543 const base::Callback<void(const FormStructure*)>& callback)
2544 : WebContentsObserver(contents), 2544 : WebContentsObserver(contents),
2545 profile_(Profile::FromBrowserContext(contents->GetBrowserContext())), 2545 profile_(Profile::FromBrowserContext(contents->GetBrowserContext())),
2546 initial_user_state_(AutofillMetrics::DIALOG_USER_STATE_UNKNOWN), 2546 initial_user_state_(AutofillMetrics::DIALOG_USER_STATE_UNKNOWN),
2547 form_structure_(form_structure), 2547 form_structure_(form_structure),
2548 invoked_from_same_origin_(true), 2548 invoked_from_same_origin_(true),
2549 source_url_(source_url), 2549 source_url_(source_url),
2550 callback_(callback), 2550 callback_(callback),
2551 wallet_client_(profile_->GetRequestContext(), this, source_url), 2551 wallet_client_(profile_->GetRequestContext(), this, source_url),
2552 validation_downloader_(profile_->GetRequestContext()),
2552 wallet_items_requested_(false), 2553 wallet_items_requested_(false),
2553 handling_use_wallet_link_click_(false), 2554 handling_use_wallet_link_click_(false),
2554 passive_failed_(false), 2555 passive_failed_(false),
2555 country_combobox_model_(*GetManager()), 2556 country_combobox_model_(*GetManager()),
2556 suggested_cc_(this), 2557 suggested_cc_(this),
2557 suggested_billing_(this), 2558 suggested_billing_(this),
2558 suggested_cc_billing_(this), 2559 suggested_cc_billing_(this),
2559 suggested_shipping_(this), 2560 suggested_shipping_(this),
2560 cares_about_shipping_(true), 2561 cares_about_shipping_(true),
2561 input_showing_popup_(NULL), 2562 input_showing_popup_(NULL),
(...skipping 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after
3566 view_->UpdateButtonStrip(); 3567 view_->UpdateButtonStrip();
3567 } 3568 }
3568 3569
3569 void AutofillDialogControllerImpl::FetchWalletCookie() { 3570 void AutofillDialogControllerImpl::FetchWalletCookie() {
3570 net::URLRequestContextGetter* request_context = profile_->GetRequestContext(); 3571 net::URLRequestContextGetter* request_context = profile_->GetRequestContext();
3571 signin_helper_.reset(new wallet::WalletSigninHelper(this, request_context)); 3572 signin_helper_.reset(new wallet::WalletSigninHelper(this, request_context));
3572 signin_helper_->StartWalletCookieValueFetch(); 3573 signin_helper_->StartWalletCookieValueFetch();
3573 } 3574 }
3574 3575
3575 } // namespace autofill 3576 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_controller_impl.h ('k') | components/autofill.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698