summaryrefslogtreecommitdiffstats
path: root/chrome/browser/google/google_search_metrics.cc
blob: b3dd3b8eec912967ddf02471f4acef3658f19c8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (c) 2012 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 "chrome/browser/google/google_search_metrics.h"

#include "base/logging.h"
#include "base/metrics/histogram.h"
#include "chrome/browser/metrics/metrics_service.h"

GoogleSearchMetrics::GoogleSearchMetrics() {
}

GoogleSearchMetrics::~GoogleSearchMetrics() {
}

void GoogleSearchMetrics::RecordGoogleSearch(AccessPoint ap) const {
  DCHECK_NE(AP_BOUNDARY, ap);
  UMA_HISTOGRAM_ENUMERATION("GoogleSearch.AccessPoint", ap, AP_BOUNDARY);
}