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

Unified Diff: content/public/browser/user_metrics.h

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: content/public/browser/user_metrics.h
diff --git a/content/public/browser/user_metrics.h b/content/public/browser/user_metrics.h
deleted file mode 100644
index 950643677b819ab62e29fe183a3e961816db364a..0000000000000000000000000000000000000000
--- a/content/public/browser/user_metrics.h
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_PUBLIC_BROWSER_USER_METRICS_H_
-#define CONTENT_PUBLIC_BROWSER_USER_METRICS_H_
-
-#include <string>
-
-#include "base/callback.h"
-#include "base/metrics/user_metrics_action.h"
-#include "content/common/content_export.h"
-
-namespace content {
-
-// TODO(beaudoin): Get rid of these methods now that the base:: version does
-// thread hopping. Tracked in crbug.com/601483.
-// Wrappers around functions defined in base/metrics/user_metrics.h, refer to
-// that header for full documentation. These wrappers can be called from any
-// thread (they will post back to the UI thread to do the recording).
-
-CONTENT_EXPORT void RecordAction(const base::UserMetricsAction& action);
-CONTENT_EXPORT void RecordComputedAction(const std::string& action);
-
-} // namespace content
-
-#endif // CONTENT_PUBLIC_BROWSER_USER_METRICS_H_
« no previous file with comments | « content/public/browser/browser_message_filter.cc ('k') | extensions/browser/api/metrics_private/metrics_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698