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

Unified Diff: chrome/browser/chromeos/set_time_dialog.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/chromeos/set_time_dialog.cc
diff --git a/chrome/browser/chromeos/set_time_dialog.cc b/chrome/browser/chromeos/set_time_dialog.cc
index 5c4530c550475695888014af9c3ac5222b65f352..13446262a1cd3e12718782666c550443689f52c9 100644
--- a/chrome/browser/chromeos/set_time_dialog.cc
+++ b/chrome/browser/chromeos/set_time_dialog.cc
@@ -5,10 +5,10 @@
#include "chrome/browser/chromeos/set_time_dialog.h"
#include "ash/public/cpp/shell_window_ids.h"
+#include "base/metrics/user_metrics.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/ui/browser_dialogs.h"
#include "chrome/common/url_constants.h"
-#include "content/public/browser/user_metrics.h"
#include "ui/gfx/geometry/size.h"
using content::WebContents;
@@ -26,7 +26,7 @@ const int kDefaultHeight = 235;
// static
void SetTimeDialog::ShowDialogInParent(gfx::NativeWindow parent) {
DCHECK(parent);
- content::RecordAction(base::UserMetricsAction("Options_SetTimeDialog_Show"));
+ base::RecordAction(base::UserMetricsAction("Options_SetTimeDialog_Show"));
chrome::ShowWebDialog(parent, ProfileManager::GetActiveUserProfile(),
new SetTimeDialog());
}
@@ -34,7 +34,7 @@ void SetTimeDialog::ShowDialogInParent(gfx::NativeWindow parent) {
// static
void SetTimeDialog::ShowDialogInContainer(int container_id) {
DCHECK_NE(container_id, ash::kShellWindowId_Invalid);
- content::RecordAction(base::UserMetricsAction("Options_SetTimeDialog_Show"));
+ base::RecordAction(base::UserMetricsAction("Options_SetTimeDialog_Show"));
chrome::ShowWebDialogInContainer(container_id,
ProfileManager::GetActiveUserProfile(),
new SetTimeDialog());

Powered by Google App Engine
This is Rietveld 408576698