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

Unified Diff: components/dom_distiller/content/browser/distiller_javascript_service_impl.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: components/dom_distiller/content/browser/distiller_javascript_service_impl.cc
diff --git a/components/dom_distiller/content/browser/distiller_javascript_service_impl.cc b/components/dom_distiller/content/browser/distiller_javascript_service_impl.cc
index 508e0773f8aebb8f3609bf995c6572b75fb9e46f..79183c2e54011d466ffe3994a74907ed8b21ab0d 100644
--- a/components/dom_distiller/content/browser/distiller_javascript_service_impl.cc
+++ b/components/dom_distiller/content/browser/distiller_javascript_service_impl.cc
@@ -7,9 +7,9 @@
#include <utility>
#include "base/memory/ptr_util.h"
+#include "base/metrics/user_metrics.h"
#include "components/dom_distiller/content/browser/distiller_ui_handle.h"
#include "components/dom_distiller/core/feedback_reporter.h"
-#include "content/public/browser/user_metrics.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
namespace dom_distiller {
@@ -24,7 +24,7 @@ DistillerJavaScriptServiceImpl::~DistillerJavaScriptServiceImpl() {}
void DistillerJavaScriptServiceImpl::HandleDistillerClosePanelCall(
bool animate) {
- content::RecordAction(base::UserMetricsAction("DomDistiller_ViewOriginal"));
+ base::RecordAction(base::UserMetricsAction("DomDistiller_ViewOriginal"));
if (!distiller_ui_handle_) {
return;
}
« no previous file with comments | « chrome/browser/ui/webui/signin/user_manager_screen_handler.cc ('k') | components/guest_view/browser/guest_view_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698