Home
last modified time | relevance | path

Searched refs:GoogleSearchMetrics (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/chrome/browser/google/
Dgoogle_search_counter_unittest.cc17 class MockSearchMetrics : public GoogleSearchMetrics {
20 void(GoogleSearchMetrics::AccessPoint ap));
43 GoogleSearchMetrics::AccessPoint expected_metric);
46 void ExpectMetricsLogged(GoogleSearchMetrics::AccessPoint ap);
74 GoogleSearchMetrics::AccessPoint expected_metric) { in TestGoogleSearch()
87 if (expected_metric != GoogleSearchMetrics::AP_BOUNDARY) in TestGoogleSearch()
100 GoogleSearchMetrics::AccessPoint ap) { in ExpectMetricsLogged()
105 TestGoogleSearch(std::string(), false, GoogleSearchMetrics::AP_BOUNDARY); in TEST_F()
110 GoogleSearchMetrics::AP_OMNIBOX); in TEST_F()
115 GoogleSearchMetrics::AP_BOUNDARY); in TEST_F()
[all …]
Dgoogle_search_metrics.cc11 GoogleSearchMetrics::GoogleSearchMetrics() { in GoogleSearchMetrics() function in GoogleSearchMetrics
14 GoogleSearchMetrics::~GoogleSearchMetrics() { in ~GoogleSearchMetrics()
17 void GoogleSearchMetrics::RecordGoogleSearch(AccessPoint ap) const { in RecordGoogleSearch()
Dgoogle_search_counter.cc49 : search_metrics_(new GoogleSearchMetrics) { in GoogleSearchCounter()
72 search_metrics_->RecordGoogleSearch(GoogleSearchMetrics::AP_OMNIBOX); in ProcessCommittedEntry()
74 search_metrics_->RecordGoogleSearch(GoogleSearchMetrics::AP_SEARCH_APP); in ProcessCommittedEntry()
78 search_metrics_->RecordGoogleSearch(GoogleSearchMetrics::AP_OTHER); in ProcessCommittedEntry()
83 GoogleSearchMetrics* search_metrics) { in SetSearchMetricsForTesting()
Dgoogle_search_metrics.h11 class GoogleSearchMetrics {
29 GoogleSearchMetrics();
30 virtual ~GoogleSearchMetrics();
Dgoogle_search_counter.h36 void SetSearchMetricsForTesting(GoogleSearchMetrics* search_metrics);
47 scoped_ptr<GoogleSearchMetrics> search_metrics_;