Searched refs:GoogleSearchMetrics (Results 1 – 5 of 5) sorted by relevance
17 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 …]
11 GoogleSearchMetrics::GoogleSearchMetrics() { in GoogleSearchMetrics() function in GoogleSearchMetrics14 GoogleSearchMetrics::~GoogleSearchMetrics() { in ~GoogleSearchMetrics()17 void GoogleSearchMetrics::RecordGoogleSearch(AccessPoint ap) const { in RecordGoogleSearch()
49 : 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()
11 class GoogleSearchMetrics {29 GoogleSearchMetrics();30 virtual ~GoogleSearchMetrics();
36 void SetSearchMetricsForTesting(GoogleSearchMetrics* search_metrics);47 scoped_ptr<GoogleSearchMetrics> search_metrics_;