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

Unified Diff: chrome/browser/profiles/profile_metrics.cc

Issue 2771233002: Remove the wrapper functions content::RecordAction et al (Closed)
Patch Set: Rebased Created 3 years, 9 months 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/profiles/profile_manager.cc ('k') | chrome/browser/profiles/profile_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_metrics.cc
diff --git a/chrome/browser/profiles/profile_metrics.cc b/chrome/browser/profiles/profile_metrics.cc
index 94548585f2cd5d7a37e0ee75170c81f53f573bf8..4f3125dacc64cb32f83bd63d5cfaa5854bc6044c 100644
--- a/chrome/browser/profiles/profile_metrics.cc
+++ b/chrome/browser/profiles/profile_metrics.cc
@@ -9,6 +9,7 @@
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/metrics/histogram_macros.h"
+#include "base/metrics/user_metrics.h"
#include "build/build_config.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/profiles/profile.h"
@@ -21,7 +22,6 @@
#include "chrome/installer/util/google_update_settings.h"
#include "components/profile_metrics/counts.h"
#include "content/public/browser/browser_thread.h"
-#include "content/public/browser/user_metrics.h"
namespace {
@@ -536,7 +536,7 @@ void ProfileMetrics::LogProfileLaunch(Profile* profile) {
NUM_PROFILE_TYPE_METRICS);
if (profile->IsSupervised()) {
- content::RecordAction(
+ base::RecordAction(
base::UserMetricsAction("ManagedMode_NewManagedUserWindow"));
}
}
« no previous file with comments | « chrome/browser/profiles/profile_manager.cc ('k') | chrome/browser/profiles/profile_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698