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

Unified Diff: components/autofill/core/browser/autofill_client.h

Issue 1136473006: Don't autofill credit cards on non-secure pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add period Created 5 years, 5 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/core/browser/autofill_client.h
diff --git a/components/autofill/core/browser/autofill_client.h b/components/autofill/core/browser/autofill_client.h
index 6d2edcab3db9f361f4383d63bb7b4556b46d6cb3..11700dc6515f5c515d5b8eda7bccc00662c0302a 100644
--- a/components/autofill/core/browser/autofill_client.h
+++ b/components/autofill/core/browser/autofill_client.h
@@ -12,6 +12,7 @@
#include "base/memory/weak_ptr.h"
#include "base/strings/string16.h"
#include "ui/base/window_open_disposition.h"
+#include "url/gurl.h"
class IdentityProvider;
@@ -173,6 +174,9 @@ class AutofillClient {
// Opens |url| with the supplied |disposition|.
virtual void LinkClicked(const GURL& url,
WindowOpenDisposition disposition) = 0;
+
+ // If the context is secure.
+ virtual bool IsContextSecure(const GURL& form_origin) = 0;
};
} // namespace autofill
« no previous file with comments | « chrome/browser/ui/autofill/chrome_autofill_client.cc ('k') | components/autofill/core/browser/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698