summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profiles/profile_manager.cc
diff options
context:
space:
mode:
authorjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-14 13:23:38 +0000
committerjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-14 13:23:38 +0000
commit7f6f44c9e44707612415d4c85cfe9924aeacd917 (patch)
tree167b6d29691a127ef3ab1ada5b6f9c774d99363d /chrome/browser/profiles/profile_manager.cc
parent7af0889d30c9a27b916aa49d4bfea7ea92465072 (diff)
downloadchromium_src-7f6f44c9e44707612415d4c85cfe9924aeacd917.zip
chromium_src-7f6f44c9e44707612415d4c85cfe9924aeacd917.tar.gz
chromium_src-7f6f44c9e44707612415d4c85cfe9924aeacd917.tar.bz2
Split UserMetrics into API vs. implementation. Move API to content/public.
TBR=davemoore@chromium.org BUG=98716 Review URL: http://codereview.chromium.org/8919017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114416 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profiles/profile_manager.cc')
-rw-r--r--chrome/browser/profiles/profile_manager.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
index 004f323..ed81da4 100644
--- a/chrome/browser/profiles/profile_manager.cc
+++ b/chrome/browser/profiles/profile_manager.cc
@@ -32,9 +32,9 @@
#include "chrome/common/logging_chrome.h"
#include "chrome/common/pref_names.h"
#include "chrome/common/url_constants.h"
-#include "content/browser/user_metrics.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_service.h"
+#include "content/public/browser/user_metrics.h"
#include "grit/generated_resources.h"
#include "net/http/http_transaction_factory.h"
#include "net/url_request/url_request_context.h"
@@ -48,6 +48,7 @@
#endif
using content::BrowserThread;
+using content::UserMetricsAction;
namespace {
@@ -409,7 +410,7 @@ void ProfileManager::NewWindowWithProfile(
if (browser) {
browser->window()->Activate();
} else {
- UserMetrics::RecordAction(UserMetricsAction("NewWindow"));
+ content::RecordAction(UserMetricsAction("NewWindow"));
CommandLine command_line(CommandLine::NO_PROGRAM);
int return_code;
BrowserInit browser_init;