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

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

Issue 726563004: MixedContentChecker should not log blocked preload requests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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: Source/core/loader/MixedContentChecker.h
diff --git a/Source/core/loader/MixedContentChecker.h b/Source/core/loader/MixedContentChecker.h
index c30a59e6af49f7eb84faf253c5a79c5019cc513a..b87384eae51de9cead0398e56b7287a2a5361cf2 100644
--- a/Source/core/loader/MixedContentChecker.h
+++ b/Source/core/loader/MixedContentChecker.h
@@ -48,7 +48,8 @@ class MixedContentChecker final {
public:
explicit MixedContentChecker(LocalFrame*);
- static bool shouldBlockFetch(LocalFrame*, const ResourceRequest&, const KURL&);
+ enum SuppressLogType { LogIfBlocked, SuppressLog };
Mike West 2014/11/14 08:08:17 Please use the same language as we use in CSP: htt
kouhei (in TOK) 2014/11/14 09:19:31 Done.
+ static bool shouldBlockFetch(LocalFrame*, const ResourceRequest&, const KURL&, SuppressLogType);
bool canDisplayInsecureContent(SecurityOrigin* securityOrigin, const KURL& url) const
{

Powered by Google App Engine
This is Rietveld 408576698