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

Unified Diff: third_party/WebKit/public/web/WebLocalFrame.h

Issue 1905033002: PlzNavigate: Move navigation-level mixed content checks to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@console-security-message
Patch Set: Rebase after 3 spin off CLs landed. Created 4 years 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/public/web/WebLocalFrame.h
diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h
index d0ea1220b29a82ae9b612382c20005102f4da124..20e840cd7b46673ebc032594626d34539927b6c8 100644
--- a/third_party/WebKit/public/web/WebLocalFrame.h
+++ b/third_party/WebKit/public/web/WebLocalFrame.h
@@ -12,6 +12,7 @@
#include "public/platform/WebCachePolicy.h"
#include "public/platform/WebURLError.h"
#include "public/platform/site_engagement.mojom-shared.h"
+#include <set>
namespace base {
class SingleThreadTaskRunner;
@@ -156,6 +157,13 @@ class WebLocalFrame : public WebFrame {
// one of its descendants having processed a user gesture.
virtual void setHasReceivedUserGesture() = 0;
+ // Updates the frame with information gathered from mixed content checks
+ // executed on the browser.
+ virtual void mixedContentUpdateFromBrowser(const std::set<int>& features,
+ bool mixedContentWasFound,
+ const WebURL& mixedContentUrl,
+ bool mixedContentHadRedirect) = 0;
+
// Orientation Changes ----------------------------------------------------
// Notify the frame that the screen orientation has changed.

Powered by Google App Engine
This is Rietveld 408576698