Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Unified Diff: chrome/browser/ui/webui/flash_ui.cc

Issue 8919017: Split UserMetrics into API vs. implementation. Move API to content/public. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Version for commit (merged again). Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/webui/downloads_dom_handler.cc ('k') | chrome/browser/ui/webui/history_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/flash_ui.cc
diff --git a/chrome/browser/ui/webui/flash_ui.cc b/chrome/browser/ui/webui/flash_ui.cc
index 1bf0cd3df5344a85fa9490e209a35ea786d4c4ad..cdcd6f38a490ca27c3e9e6d23ad40621959dcf79 100644
--- a/chrome/browser/ui/webui/flash_ui.cc
+++ b/chrome/browser/ui/webui/flash_ui.cc
@@ -29,7 +29,7 @@
#include "content/browser/gpu/gpu_data_manager.h"
#include "content/browser/plugin_service.h"
#include "content/browser/tab_contents/tab_contents.h"
-#include "content/browser/user_metrics.h"
+#include "content/public/browser/user_metrics.h"
#include "grit/browser_resources.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
@@ -42,6 +42,8 @@
#include "base/win/windows_version.h"
#endif
+using content::UserMetricsAction;
+
namespace {
ChromeWebUIDataSource* CreateFlashUIHTMLSource() {
@@ -362,7 +364,7 @@ void FlashDOMHandler::MaybeRespondToPage() {
///////////////////////////////////////////////////////////////////////////////
FlashUI::FlashUI(TabContents* contents) : ChromeWebUI(contents) {
- UserMetrics::RecordAction(
+ content::RecordAction(
UserMetricsAction("ViewAboutFlash"));
AddMessageHandler((new FlashDOMHandler())->Attach(this));
« no previous file with comments | « chrome/browser/ui/webui/downloads_dom_handler.cc ('k') | chrome/browser/ui/webui/history_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698