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. |