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

Unified Diff: components/autofill/content/browser/autofill_driver_impl.cc

Issue 17052008: [Autofill] Remove the "Disable native Autofill UI" flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 6 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 | « components/autofill/content/browser/autofill_driver_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/content/browser/autofill_driver_impl.cc
diff --git a/components/autofill/content/browser/autofill_driver_impl.cc b/components/autofill/content/browser/autofill_driver_impl.cc
index 9df913f0a283c422b8c11de290448341b17a01ee..4fba2f1f78aed9de84f8fe7c8bd93cd7e211d933 100644
--- a/components/autofill/content/browser/autofill_driver_impl.cc
+++ b/components/autofill/content/browser/autofill_driver_impl.cc
@@ -23,8 +23,7 @@ void AutofillDriverImpl::CreateForWebContentsAndDelegate(
content::WebContents* contents,
autofill::AutofillManagerDelegate* delegate,
const std::string& app_locale,
- AutofillManager::AutofillDownloadManagerState enable_download_manager,
- bool enable_native_ui) {
+ AutofillManager::AutofillDownloadManagerState enable_download_manager) {
if (FromWebContents(contents))
return;
@@ -32,8 +31,7 @@ void AutofillDriverImpl::CreateForWebContentsAndDelegate(
new AutofillDriverImpl(contents,
delegate,
app_locale,
- enable_download_manager,
- enable_native_ui));
+ enable_download_manager));
// Trigger the lazy creation of AutocheckoutWhitelistManagerService, and
// schedule a fetch of the Autocheckout whitelist file if it's not already
// loaded. This helps ensure that the whitelist will be available by the time
@@ -52,14 +50,11 @@ AutofillDriverImpl::AutofillDriverImpl(
content::WebContents* web_contents,
autofill::AutofillManagerDelegate* delegate,
const std::string& app_locale,
- AutofillManager::AutofillDownloadManagerState enable_download_manager,
- bool enable_native_ui)
+ AutofillManager::AutofillDownloadManagerState enable_download_manager)
: content::WebContentsObserver(web_contents),
autofill_manager_(this, delegate, app_locale, enable_download_manager) {
- if (enable_native_ui) {
- SetAutofillExternalDelegate(scoped_ptr<AutofillExternalDelegate>(
- new AutofillExternalDelegate(web_contents, &autofill_manager_)));
- }
+ SetAutofillExternalDelegate(scoped_ptr<AutofillExternalDelegate>(
+ new AutofillExternalDelegate(web_contents, &autofill_manager_)));
}
AutofillDriverImpl::~AutofillDriverImpl() {}
« no previous file with comments | « components/autofill/content/browser/autofill_driver_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698