Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
index 0cb62fd8e335545ffaf00c793c0686c16e556e38..1c94da96ca048e39b142cfdecc004e0e5fff7300 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -2050,6 +2050,26 @@ void WebLocalFrameImpl::setHasReceivedUserGesture() { |
frame()->document()->setHasReceivedUserGesture(); |
} |
+void WebLocalFrameImpl::blinkFeatureUsageReport(const std::set<int>& features) { |
+ DCHECK(!features.empty()); |
+ // Assimilate all features used/performed by the browser into UseCounter. |
+ for (int feature : features) { |
+ UseCounter::count(frame(), static_cast<UseCounter::Feature>(feature)); |
+ } |
+} |
+ |
+void WebLocalFrameImpl::mixedContentFoundByTheBrowser( |
+ const WebURL& mainResourceUrl, |
+ const WebURL& mixedContentUrl, |
+ WebURLRequest::RequestContext requestContext, |
+ bool wasAllowed, |
+ bool hadRedirect) { |
+ DCHECK(frame()); |
+ MixedContentChecker::mixedContentFoundByTheBrowser( |
+ frame(), mainResourceUrl, mixedContentUrl, requestContext, wasAllowed, |
+ hadRedirect); |
+} |
+ |
void WebLocalFrameImpl::sendOrientationChangeEvent() { |
if (!frame()) |
return; |