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

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

Issue 2226363002: Track subresources with cert errors separately from mixed content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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..a01dc3fb26f7e6eac6ffd8f60ce372f77dc78197 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -364,9 +364,13 @@ 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 insecure content loaded over
+ // HTTP.
virtual bool DisplayedInsecureContent() const = 0;
+ // True if this page displayed content loaded with HTTPS certificate errors.
+ virtual bool DisplayedContentWithCertErrors() const = 0;
jam 2016/08/11 19:53:20 this method and the one above are only called from
estark 2016/08/12 04:56:02 Done.
+
// Internal state ------------------------------------------------------------
// Indicates whether the WebContents is being captured (e.g., for screenshots
« chrome/browser/ssl/ssl_browser_tests.cc ('K') | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698