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 b54487a2e59b265d948f17b59b67a28f91cd502d..22473b153a188850a12e783f021304d29ea362e2 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -119,6 +119,7 @@ |
#include "core/frame/FrameHost.h" |
#include "core/frame/FrameView.h" |
#include "core/frame/Settings.h" |
+#include "core/frame/UseCounter.h" |
#include "core/html/HTMLAnchorElement.h" |
#include "core/html/HTMLCollection.h" |
#include "core/html/HTMLFormElement.h" |
@@ -2137,6 +2138,16 @@ void WebLocalFrameImpl::requestRunTask(WebSuspendableTask* task) const |
frame()->document()->postSuspendableTask(WebSuspendableTaskWrapper::create(adoptPtr(task))); |
} |
+void WebLocalFrameImpl::didCallAddSearchProvider() |
+{ |
+ UseCounter::count(frame(), UseCounter::ExternalAddSearchProvider); |
+} |
+ |
+void WebLocalFrameImpl::didCallIsSearchProviderInstalled() |
+{ |
+ UseCounter::count(frame(), UseCounter::ExternalIsSearchProviderInstalled); |
+} |
+ |
void WebLocalFrameImpl::willBeDetached() |
{ |
if (m_devToolsAgent) |