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

Unified Diff: chrome/browser/ui/views/tabs/stacked_tab_strip_layout.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/ui/views/tabs/browser_tab_strip_controller.cc ('k') | chrome/browser/ui/views/tabs/tab.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc
diff --git a/chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc b/chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc
index 5246e11346ba6908228390a54943fb417918c36b..71b6a5250122a6d2a977f1a6c9d483bbbe8d28bc 100644
--- a/chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc
+++ b/chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc
@@ -7,8 +7,8 @@
#include <stdio.h>
#include "base/logging.h"
+#include "base/metrics/user_metrics.h"
#include "base/strings/string_number_conversions.h"
-#include "content/public/browser/user_metrics.h"
using base::UserMetricsAction;
@@ -78,7 +78,7 @@ void StackedTabStripLayout::DragActiveTab(int delta) {
if (delta == 0 || !requires_stacking())
return;
- content::RecordAction(UserMetricsAction("StackedTab_DragActiveTab"));
+ base::RecordAction(UserMetricsAction("StackedTab_DragActiveTab"));
int initial_x = ideal_x(active_index());
// If we're at a particular edge and start dragging, expose all the tabs after
// the tab (or before when dragging to the left).
« no previous file with comments | « chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc ('k') | chrome/browser/ui/views/tabs/tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698