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

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

Issue 11867025: Download autocheckout whitelist and enable autocheckout for whitelisted sites only. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to head Created 7 years, 10 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
« no previous file with comments | « chrome/browser/autofill/personal_data_manager_unittest.cc ('k') | chrome/chrome_browser.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <string> 7 #include <string>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/string_split.h" 10 #include "base/string_split.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 AutofillDialogController::~AutofillDialogController() {} 122 AutofillDialogController::~AutofillDialogController() {}
123 123
124 AutofillDialogControllerImpl::AutofillDialogControllerImpl( 124 AutofillDialogControllerImpl::AutofillDialogControllerImpl(
125 content::WebContents* contents, 125 content::WebContents* contents,
126 const FormData& form, 126 const FormData& form,
127 const GURL& source_url, 127 const GURL& source_url,
128 const content::SSLStatus& ssl_status, 128 const content::SSLStatus& ssl_status,
129 const base::Callback<void(const FormStructure*)>& callback) 129 const base::Callback<void(const FormStructure*)>& callback)
130 : profile_(Profile::FromBrowserContext(contents->GetBrowserContext())), 130 : profile_(Profile::FromBrowserContext(contents->GetBrowserContext())),
131 contents_(contents), 131 contents_(contents),
132 form_structure_(form), 132 form_structure_(form, std::string()),
133 source_url_(source_url), 133 source_url_(source_url),
134 ssl_status_(ssl_status), 134 ssl_status_(ssl_status),
135 callback_(callback), 135 callback_(callback),
136 wallet_client_(profile_->GetRequestContext()), 136 wallet_client_(profile_->GetRequestContext()),
137 ALLOW_THIS_IN_INITIALIZER_LIST(suggested_email_(this)), 137 ALLOW_THIS_IN_INITIALIZER_LIST(suggested_email_(this)),
138 ALLOW_THIS_IN_INITIALIZER_LIST(suggested_cc_(this)), 138 ALLOW_THIS_IN_INITIALIZER_LIST(suggested_cc_(this)),
139 ALLOW_THIS_IN_INITIALIZER_LIST(suggested_billing_(this)), 139 ALLOW_THIS_IN_INITIALIZER_LIST(suggested_billing_(this)),
140 ALLOW_THIS_IN_INITIALIZER_LIST(suggested_shipping_(this)), 140 ALLOW_THIS_IN_INITIALIZER_LIST(suggested_shipping_(this)),
141 section_showing_popup_(SECTION_BILLING) { 141 section_showing_popup_(SECTION_BILLING) {
142 // TODO(estade): |this| should observe PersonalDataManager. 142 // TODO(estade): |this| should observe PersonalDataManager.
(...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 DialogSection section) { 951 DialogSection section) {
952 return const_cast<DetailInputs*>(&RequestedFieldsForSection(section)); 952 return const_cast<DetailInputs*>(&RequestedFieldsForSection(section));
953 } 953 }
954 954
955 void AutofillDialogControllerImpl::HidePopup() { 955 void AutofillDialogControllerImpl::HidePopup() {
956 if (popup_controller_) 956 if (popup_controller_)
957 popup_controller_->Hide(); 957 popup_controller_->Hide();
958 } 958 }
959 959
960 } // namespace autofill 960 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/autofill/personal_data_manager_unittest.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698