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

Unified Diff: components/autofill/content/browser/autocheckout_manager.h

Issue 16611003: Ignore ajax on specified pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unit tests 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/content/browser/autocheckout_manager.h
diff --git a/components/autofill/content/browser/autocheckout_manager.h b/components/autofill/content/browser/autocheckout_manager.h
index 4f13d22a234c77344e85faf65988da6877057d4b..014cc61d1afe7c75a4366d77f7c17774cc59744a 100644
--- a/components/autofill/content/browser/autocheckout_manager.h
+++ b/components/autofill/content/browser/autocheckout_manager.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/callback_forward.h"
+#include "base/gtest_prod_util.h"
Ilya Sherman 2013/06/19 23:25:13 nit: No longer needed.
Dane Wallinga 2013/06/20 19:46:41 Done.
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/strings/string16.h"
@@ -61,6 +62,10 @@ class AutocheckoutManager {
// Called when a page containing forms is loaded.
void OnFormsSeen();
+ // Whether ajax on the current page should be ignored during
+ // an Autocheckout flow.
+ bool ShouldIgnoreAjax();
+
// Causes the Autocheckout bubble to be displayed if the user hasn't seen it
// yet for the current page. |frame_url| is the page where Autocheckout is
// being initiated. |ssl_status| is the SSL status of the page. |bounding_box|

Powered by Google App Engine
This is Rietveld 408576698