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

Unified Diff: components/autofill/browser/autocomplete_history_manager.cc

Issue 15097004: Enable Autocomplete feature for chromium webview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@setSaveFormData2
Patch Set: make personal_data_ optional Created 7 years, 7 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
Index: components/autofill/browser/autocomplete_history_manager.cc
diff --git a/components/autofill/browser/autocomplete_history_manager.cc b/components/autofill/browser/autocomplete_history_manager.cc
index 5d982949f0b15c2c4c22926d35358cec3b572fa9..3a5514501dd6392cc7d0cf309c09165cc4bbb652 100644
--- a/components/autofill/browser/autocomplete_history_manager.cc
+++ b/components/autofill/browser/autocomplete_history_manager.cc
@@ -127,7 +127,7 @@ void AutocompleteHistoryManager::OnFormSubmitted(const FormData& form) {
if (!*autofill_enabled_)
return;
- if (browser_context_->IsOffTheRecord())
+ if (external_delegate_ && external_delegate_->ShouldIgnoreFormData())
benm (inactive) 2013/05/23 12:02:21 In what situation is external_delegate_ not instal
sgurun-gerrit only 2013/05/23 17:10:01 This is a fair point. I did a code search and foun
return;
// Don't save data that was submitted through JavaScript.

Powered by Google App Engine
This is Rietveld 408576698