| 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
|
|
|