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

Unified Diff: components/browsing_data/core/browsing_data_utils.cc

Issue 2963973002: Log basic/advanced tab action from java (Closed)
Patch Set: Add histogram Created 3 years, 6 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 | « components/browsing_data/core/browsing_data_utils.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/browsing_data/core/browsing_data_utils.cc
diff --git a/components/browsing_data/core/browsing_data_utils.cc b/components/browsing_data/core/browsing_data_utils.cc
index 7dba88ed150cf7ccaeb3ceefd2acac7014db1d0e..5e04932b640cd8d2e9e1534e0ef3aabefba06c76 100644
--- a/components/browsing_data/core/browsing_data_utils.cc
+++ b/components/browsing_data/core/browsing_data_utils.cc
@@ -91,22 +91,6 @@ void RecordTimePeriodChange(TimePeriod period) {
}
}
-void RecordDeletionFromTab(ClearBrowsingDataTab tab) {
- UMA_HISTOGRAM_ENUMERATION("History.ClearBrowsingData.UserDeletedFromTab", tab,
- browsing_data::ClearBrowsingDataTab::NUM_TYPES);
- switch (tab) {
- case ClearBrowsingDataTab::BASIC:
- base::RecordAction(base::UserMetricsAction("ClearBrowsingData_BasicTab"));
- break;
- case ClearBrowsingDataTab::ADVANCED:
- base::RecordAction(
- base::UserMetricsAction("ClearBrowsingData_AdvancedTab"));
- break;
- case ClearBrowsingDataTab::NUM_TYPES:
- NOTREACHED();
- }
-}
-
base::string16 GetCounterTextFromResult(
const BrowsingDataCounter::Result* result) {
base::string16 text;
« no previous file with comments | « components/browsing_data/core/browsing_data_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698