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 859ed9967d4c420907b7b2fb2ce70167129e7875..5517365ac75444787ef1b6deb09114b670c92981 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -2069,6 +2069,26 @@ void WebLocalFrameImpl::setHasReceivedUserGesture() { |
frame()->setDocumentHasReceivedUserGesture(); |
} |
+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::mixedContentFound( |
+ const WebURL& mainResourceUrl, |
+ const WebURL& mixedContentUrl, |
+ WebURLRequest::RequestContext requestContext, |
+ bool wasAllowed, |
+ bool hadRedirect) { |
+ DCHECK(frame()); |
+ MixedContentChecker::mixedContentFound(frame(), mainResourceUrl, |
+ mixedContentUrl, requestContext, |
+ wasAllowed, hadRedirect); |
+} |
+ |
void WebLocalFrameImpl::sendOrientationChangeEvent() { |
if (!frame()) |
return; |