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

Unified Diff: content/public/browser/web_contents.h

Issue 2603823002: Prohibit web payments on sites with bad SSL certificates (Closed)
Patch Set: Created 3 years, 11 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: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index a5e25357162ed23c75c10f613567c16cf8d84e25..dc877ffe37adcef1a563c9934872c0d2a9cc27bd 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -228,6 +228,10 @@ class WebContents : public PageNavigator,
// See also GetVisibleURL above, which may differ from this URL.
virtual const GURL& GetLastCommittedURL() const = 0;
+ // Returns true for localhost, file:/// scheme, and https:// scheme with a
+ // valid SSL certificate.
+ virtual bool IsContextSecure() const = 0;
+
// Return the currently active RenderProcessHost and RenderViewHost. Each of
// these may change over time.
virtual RenderProcessHost* GetRenderProcessHost() const = 0;

Powered by Google App Engine
This is Rietveld 408576698