From e6e30ac7da61cf09099d861344b3c22e5d5d158c Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> Date: Mon, 13 Jan 2014 21:24:39 +0000 Subject: Move the guts of user_metrics to a new static lib in //base/metrics. I retained a couple of wrapper functions in content that post back to the UI thread if they are called from another thread. All existing code will continue to use these wrappers. The intent is that some code that I don't want to depend on content that only lives on the UI thread can now call //base/metrics code directly. R=isherman@chromium.org, jam@chromium.org http://crbug.com/332504 Review URL: https://codereview.chromium.org/129223004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244580 0039d316-1c4b-4281-b951-d872f2087c98 --- components/plugins/renderer/plugin_placeholder.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/plugins') diff --git a/components/plugins/renderer/plugin_placeholder.cc b/components/plugins/renderer/plugin_placeholder.cc index 14aff70..deb64d7 100644 --- a/components/plugins/renderer/plugin_placeholder.cc +++ b/components/plugins/renderer/plugin_placeholder.cc @@ -25,8 +25,7 @@ #include "third_party/WebKit/public/web/WebView.h" #include "third_party/re2/re2/re2.h" -using content::RenderThread; -using content::UserMetricsAction; +using base::UserMetricsAction; using blink::WebElement; using blink::WebFrame; using blink::WebMouseEvent; @@ -36,6 +35,7 @@ using blink::WebPluginContainer; using blink::WebPluginParams; using blink::WebScriptSource; using blink::WebURLRequest; +using content::RenderThread; namespace plugins { -- cgit v1.1