| 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 1172e4b171335c117aa4a39b3328872c88968e3c..b2e211332a2af92644f3d13386f4b034d1706bce 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;
|
|
|