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 b604c2022bb2e09806530d245f133e1f74c95137..3fcfa7543b50234f4f0bf39bc03eae5787e856ee 100644 |
--- a/third_party/WebKit/public/web/WebLocalFrame.h |
+++ b/third_party/WebKit/public/web/WebLocalFrame.h |
@@ -11,7 +11,9 @@ |
#include "WebHistoryItem.h" |
#include "public/platform/WebCachePolicy.h" |
#include "public/platform/WebURLError.h" |
+#include "public/platform/WebURLRequest.h" |
#include "public/platform/site_engagement.mojom-shared.h" |
+#include <set> |
namespace base { |
class SingleThreadTaskRunner; |
@@ -157,6 +159,20 @@ class WebLocalFrame : public WebFrame { |
// one of its descendants having processed a user gesture. |
virtual void setHasReceivedUserGesture() = 0; |
+ // Updates the renderer with a list of unique blink::UseCounter::Feature |
+ // values representing Blink features "used" (or "performed") by the browser |
+ // during the current page load happening on the frame. |
+ virtual void blinkFeatureUsageReport(const std::set<int>& features) = 0; |
+ |
+ // Informs the renderer that mixed content was found by the browser. The |
+ // included data is used for instance to report to the CSP policy and to log |
+ // to the frame console. |
+ virtual void mixedContentFoundByTheBrowser(const WebURL& mainResourceUrl, |
+ const WebURL& mixedContentUrl, |
+ WebURLRequest::RequestContext, |
+ bool wasAllowed, |
+ bool hadRedirect) = 0; |
+ |
// Orientation Changes ---------------------------------------------------- |
// Notify the frame that the screen orientation has changed. |