Override server-side simple-cache trial with commandline switches.
[chromium-blink-merge.git] / chrome / browser / google / google_search_metrics.cc
blobb3dd3b8eec912967ddf02471f4acef3658f19c8c
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.
5 #include "chrome/browser/google/google_search_metrics.h"
7 #include "base/logging.h"
8 #include "base/metrics/histogram.h"
9 #include "chrome/browser/metrics/metrics_service.h"
11 GoogleSearchMetrics::GoogleSearchMetrics() {
14 GoogleSearchMetrics::~GoogleSearchMetrics() {
17 void GoogleSearchMetrics::RecordGoogleSearch(AccessPoint ap) const {
18 DCHECK_NE(AP_BOUNDARY, ap);
19 UMA_HISTOGRAM_ENUMERATION("GoogleSearch.AccessPoint", ap, AP_BOUNDARY);