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

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

Issue 2760263002: Reland of PlzNavigate: send SourceLocation when mixed content is found (Closed)
Patch Set: Created 3 years, 9 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: 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 6366345d7c4d83656ef724d3eccc93280f9964a5..2773c492ff0b0b46ce9c022f63917b3555a2f464 100644
--- a/third_party/WebKit/Source/core/loader/MixedContentChecker.h
+++ b/third_party/WebKit/Source/core/loader/MixedContentChecker.h
@@ -47,6 +47,7 @@
class KURL;
class ResourceResponse;
class SecurityOrigin;
+class SourceLocation;
// Checks resource loads for mixed content. If PlzNavigate is enabled then this
// class only checks for sub-resource loads while frame-level loads are
@@ -113,7 +114,8 @@
const KURL& mixedContentUrl,
WebURLRequest::RequestContext,
bool wasAllowed,
- bool hadRedirect);
+ bool hadRedirect,
+ std::unique_ptr<SourceLocation>);
private:
FRIEND_TEST_ALL_PREFIXES(MixedContentCheckerTest, HandleCertificateError);
@@ -126,7 +128,8 @@
const KURL&,
const KURL&,
WebURLRequest::RequestContext,
- bool allowed);
+ bool allowed,
+ std::unique_ptr<SourceLocation>);
static void logToConsoleAboutWebSocket(LocalFrame*,
const KURL&,
const KURL&,

Powered by Google App Engine
This is Rietveld 408576698