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

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

Issue 16611003: Ignore ajax on specified pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unittests 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
Index: components/autofill/browser/autocheckout_manager.cc
diff --git a/components/autofill/browser/autocheckout_manager.cc b/components/autofill/browser/autocheckout_manager.cc
index eb0a58da0a958f83bd8cf54a486dc0f45ec03653..a92e650625588c1f5ea3e7f07aedab0c6caf12d6 100644
--- a/components/autofill/browser/autocheckout_manager.cc
+++ b/components/autofill/browser/autocheckout_manager.cc
@@ -255,6 +255,10 @@ void AutocheckoutManager::OnFormsSeen() {
autocheckout_offered_ = false;
}
+bool AutocheckoutManager::ShouldIgnoreDynamicFormChanges() {
+ return in_autocheckout_flow_ && page_meta_data_->ignore_ajax;
Ilya Sherman 2013/06/11 01:11:20 nit: Would be nice to use "DynamicFormChanges" or
Dane Wallinga 2013/06/11 19:03:32 Done.
+}
+
void AutocheckoutManager::MaybeShowAutocheckoutBubble(
const GURL& frame_url,
const content::SSLStatus& ssl_status,

Powered by Google App Engine
This is Rietveld 408576698