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

Unified Diff: components/google/core/browser/google_search_metrics.cc

Issue 1320553002: [Cleanup] Remove the no longer used GoogleSearch.AccessPoint metric. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove a stale forward declaration Created 5 years, 3 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/google/core/browser/google_search_metrics.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/google/core/browser/google_search_metrics.cc
diff --git a/components/google/core/browser/google_search_metrics.cc b/components/google/core/browser/google_search_metrics.cc
deleted file mode 100644
index d284a7c1b971aa8c657791a6cb125f1bc9299804..0000000000000000000000000000000000000000
--- a/components/google/core/browser/google_search_metrics.cc
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2014 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.
-
-#include "components/google/core/browser/google_search_metrics.h"
-
-#include "base/logging.h"
-#include "base/metrics/histogram_macros.h"
-
-GoogleSearchMetrics::GoogleSearchMetrics() {
-}
-
-GoogleSearchMetrics::~GoogleSearchMetrics() {
-}
-
-void GoogleSearchMetrics::RecordGoogleSearch(AccessPoint ap) const {
- DCHECK_NE(AP_BOUNDARY, ap);
- UMA_HISTOGRAM_ENUMERATION("GoogleSearch.AccessPoint", ap, AP_BOUNDARY);
-}
-
-#if defined(OS_ANDROID)
-void GoogleSearchMetrics::RecordAndroidGoogleSearch(
- AccessPoint ap,
- bool prerender_enabled) const {
- DCHECK_NE(AP_BOUNDARY, ap);
- if (prerender_enabled) {
- UMA_HISTOGRAM_ENUMERATION("GoogleSearch.AccessPoint_PrerenderEnabled",
- ap, AP_BOUNDARY);
- } else {
- UMA_HISTOGRAM_ENUMERATION("GoogleSearch.AccessPoint_PrerenderDisabled",
- ap, AP_BOUNDARY);
- }
-}
-#endif
« no previous file with comments | « components/google/core/browser/google_search_metrics.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698