Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index 91226f87578512b1516706f852f25c009a18c5af..9fc5bd164242676b53161fd1f2808147eb897a19 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -292,6 +292,7 @@ class CONTENT_EXPORT WebContentsImpl |
uint64_t GetUploadPosition() const override; |
const std::string& GetEncoding() const override; |
bool DisplayedInsecureContent() const override; |
+ bool DisplayedContentWithCertErrors() const override; |
void IncrementCapturerCount(const gfx::Size& capture_size) override; |
void DecrementCapturerCount() override; |
int GetCapturerCount() const override; |
@@ -1199,9 +1200,14 @@ class CONTENT_EXPORT WebContentsImpl |
// The canonicalized character encoding. |
std::string canonical_encoding_; |
- // True if this is a secure page which displayed insecure content. |
+ // True if this is a secure page which displayed mixed content (loaded |
+ // over HTTP). |
bool displayed_insecure_content_; |
+ // True if this page displayed subresources loaded with HTTPS |
+ // certificate errors. |
+ bool displayed_content_with_cert_errors_; |
+ |
// Whether the initial empty page has been accessed by another page, making it |
// unsafe to show the pending URL. Usually false unless another window tries |
// to modify the blank page. Always false after the first commit. |