1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "chrome/browser/google/google_search_metrics.h" 6 7 #include "base/logging.h" 8 #include "base/metrics/histogram.h" 9 #include "chrome/browser/metrics/metrics_service.h" 10 11 GoogleSearchMetrics::GoogleSearchMetrics() { 12 } 13 14 GoogleSearchMetrics::~GoogleSearchMetrics() { 15 } 16 17 void GoogleSearchMetrics::RecordGoogleSearch(AccessPoint ap) const { 18 DCHECK_NE(AP_BOUNDARY, ap); 19 UMA_HISTOGRAM_ENUMERATION("GoogleSearch.AccessPoint", ap, AP_BOUNDARY); 20 } 21