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

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

Issue 564123002: Measure resources from private IP addresses in public websites. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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: Source/core/loader/MixedContentChecker.h
diff --git a/Source/core/loader/MixedContentChecker.h b/Source/core/loader/MixedContentChecker.h
index 5dcfda388bfbbd9bea6b41d07222cff92805a5b3..a63be7cee110969096c773439e51d6f8ec2c3048 100644
--- a/Source/core/loader/MixedContentChecker.h
+++ b/Source/core/loader/MixedContentChecker.h
@@ -50,6 +50,8 @@ public:
static bool checkFormAction(LocalFrame*, const KURL&);
static bool isMixedContent(SecurityOrigin*, const KURL&);
+ static bool checkMixedPrivatePublic(LocalFrame*, const AtomicString& resourceIPAddress);
+
private:
enum ContextType {
ContextTypeBlockable,

Powered by Google App Engine
This is Rietveld 408576698