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

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

Issue 2226523002: Add separate plumbing for subresources with certificate errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo Created 4 years, 4 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
« no previous file with comments | « content/public/browser/ssl_host_state_delegate.h ('k') | content/public/common/ssl_status.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index c34b11889a9e5edaaecd2bee0d09d5edbd8a1f2e..4baed231555bddeedc7fd36fc200ebfb1c057358 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -364,9 +364,14 @@ class WebContents : public PageNavigator,
// Returns the character encoding of the page.
virtual const std::string& GetEncoding() const = 0;
- // True if this is a secure page which displayed insecure content.
+ // True if this is a secure page which displayed content loaded over
+ // an insecure (HTTP) connection.
virtual bool DisplayedInsecureContent() const = 0;
+ // True if this is a secure page which displayed content loaded over
+ // a connection with certificate errors.
+ virtual bool DisplayedContentWithCertificateErrors() const = 0;
+
// Internal state ------------------------------------------------------------
// Indicates whether the WebContents is being captured (e.g., for screenshots
« no previous file with comments | « content/public/browser/ssl_host_state_delegate.h ('k') | content/public/common/ssl_status.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698