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

Unified Diff: chrome/browser/media/android/remote/record_cast_action.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
Index: chrome/browser/media/android/remote/record_cast_action.cc
diff --git a/chrome/browser/media/android/remote/record_cast_action.cc b/chrome/browser/media/android/remote/record_cast_action.cc
index 44d7ef357c8211dd3f9e50ae48a855783eab31ae..b25a5e4754a437ee85d7a5aadd03cddd86de601d 100644
--- a/chrome/browser/media/android/remote/record_cast_action.cc
+++ b/chrome/browser/media/android/remote/record_cast_action.cc
@@ -7,13 +7,11 @@
#include <jni.h>
#include "base/metrics/histogram_macros.h"
-#include "content/public/browser/user_metrics.h"
+#include "base/metrics/user_metrics.h"
#include "jni/RecordCastAction_jni.h"
#include "media/base/container_names.h"
-using base::UserMetricsAction;
using base::android::JavaParamRef;
-using content::RecordAction;
namespace {
@@ -52,7 +50,7 @@ static void RecordRemotePlaybackDeviceSelected(JNIEnv*,
}
static void RecordCastPlayRequested(JNIEnv*, const JavaParamRef<jclass>&) {
- RecordAction(UserMetricsAction("Cast_Sender_CastPlayRequested"));
+ base::RecordAction(base::UserMetricsAction("Cast_Sender_CastPlayRequested"));
}
static void RecordCastDefaultPlayerResult(JNIEnv*,

Powered by Google App Engine
This is Rietveld 408576698