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

Unified Diff: third_party/WebKit/Source/core/loader/MixedContentChecker.h

Issue 1415923015: Downgrade lock icon for broken-HTTPS subresources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove console message; see comment to mike Created 5 years, 1 month 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: third_party/WebKit/Source/core/loader/MixedContentChecker.h
diff --git a/third_party/WebKit/Source/core/loader/MixedContentChecker.h b/third_party/WebKit/Source/core/loader/MixedContentChecker.h
index d88780bda20c9b5f6fb3435ac3bef91bdcb55999..e2e50c4a13e56500d8aacceb03f1f26210284194 100644
--- a/third_party/WebKit/Source/core/loader/MixedContentChecker.h
+++ b/third_party/WebKit/Source/core/loader/MixedContentChecker.h
@@ -31,6 +31,7 @@
#ifndef MixedContentChecker_h
#define MixedContentChecker_h
+#include "base/gtest_prod_util.h"
#include "core/CoreExport.h"
#include "platform/heap/Handle.h"
#include "platform/network/ResourceRequest.h"
@@ -42,6 +43,7 @@ namespace blink {
class FrameLoaderClient;
class LocalFrame;
class KURL;
+class ResourceResponse;
class SecurityOrigin;
class CORE_EXPORT MixedContentChecker final {
@@ -75,7 +77,10 @@ public:
// for a mixed content check for the given frame type.
static LocalFrame* effectiveFrameForFrameType(LocalFrame*, WebURLRequest::FrameType);
+ static void handleCertificateError(LocalFrame*, const ResourceRequest&, const ResourceResponse&);
+
private:
+ FRIEND_TEST_ALL_PREFIXES(MixedContentCheckerTest, HandleCertificateError);
enum MixedContentType {
Display,
Execution,

Powered by Google App Engine
This is Rietveld 408576698