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

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

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/BUILD.gn ('k') | components/google/core/browser/google_search_metrics.cc » ('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.h
diff --git a/components/google/core/browser/google_search_metrics.h b/components/google/core/browser/google_search_metrics.h
deleted file mode 100644
index d6d1211b13d6f35e0227f8baa407cc3233de9628..0000000000000000000000000000000000000000
--- a/components/google/core/browser/google_search_metrics.h
+++ /dev/null
@@ -1,45 +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.
-
-#ifndef COMPONENTS_GOOGLE_CORE_BROWSER_GOOGLE_SEARCH_METRICS_H_
-#define COMPONENTS_GOOGLE_CORE_BROWSER_GOOGLE_SEARCH_METRICS_H_
-
-#include "build/build_config.h"
-
-// A thin helper class used by parties interested in reporting Google search
-// metrics (mostly counts of searches from different access points). This class
-// partly exists to make testing easier.
-class GoogleSearchMetrics {
- public:
- // Various Google Search access points, to be used with UMA enumeration
- // histograms.
- enum AccessPoint {
- AP_OMNIBOX,
- AP_OMNIBOX_INSTANT,
- AP_DIRECT_NAV,
- AP_DIRECT_NAV_INSTANT,
- AP_HOME_PAGE,
- AP_HOME_PAGE_INSTANT,
- AP_SEARCH_APP,
- AP_SEARCH_APP_INSTANT,
- AP_OTHER,
- AP_OTHER_INSTANT,
- AP_BOUNDARY,
- };
-
- GoogleSearchMetrics();
- virtual ~GoogleSearchMetrics();
-
- // Record a single Google search from source |ap|.
- virtual void RecordGoogleSearch(AccessPoint ap) const;
-
-#if defined(OS_ANDROID)
- // Record a single Android Google search from source |ap|. |prerender_enabled|
- // is set to true when prerendering is enabled via settings.
- virtual void RecordAndroidGoogleSearch(AccessPoint ap,
- bool prerender_enabled) const;
-#endif
-};
-
-#endif // COMPONENTS_GOOGLE_CORE_BROWSER_GOOGLE_SEARCH_METRICS_H_
« no previous file with comments | « components/google/core/browser/BUILD.gn ('k') | components/google/core/browser/google_search_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698