| Index: chrome/browser/protector/histograms.h
|
| diff --git a/chrome/browser/protector/histograms.h b/chrome/browser/protector/histograms.h
|
| index e00b814d17f57fd5167c83eb4b792a127259c6a3..ef4389b1c9be6cee014323ebf20afd279d85fcd2 100644
|
| --- a/chrome/browser/protector/histograms.h
|
| +++ b/chrome/browser/protector/histograms.h
|
| @@ -6,6 +6,8 @@
|
| #define CHROME_BROWSER_PROTECTOR_HISTOGRAMS_H_
|
| #pragma once
|
|
|
| +class TemplateURL;
|
| +
|
| namespace protector {
|
|
|
| // Histogram name to report protection errors for the default search
|
| @@ -26,7 +28,22 @@ enum ProtectorError {
|
| kProtectorErrorCount
|
| };
|
|
|
| +// Histogram name to report the new default search provider.
|
| +extern const char kProtectorHistogramNewSearchProvider[];
|
| +// Histogram name to report when user accepts new default search provider.
|
| +extern const char kProtectorHistogramSearchProviderApplied[];
|
| +// Histogram name to report when user keeps previous default search provider.
|
| +extern const char kProtectorHistogramSearchProviderDiscarded[];
|
| +// Histogram name to report when user ignores search provider change.
|
| +extern const char kProtectorHistogramSearchProviderTimeout[];
|
| +
|
| +// Returns index to be used in histograms for given search provider (which may
|
| +// be NULL, in which case a special index will be returned).
|
| +int GetSearchProviderHistogramID(const TemplateURL* t_url);
|
| +
|
| +// Maximum value of search provider index in histogram enums.
|
| +extern const int kProtectorMaxSearchProviderID;
|
| +
|
| } // namespace protector
|
|
|
| #endif // CHROME_BROWSER_PROTECTOR_HISTOGRAMS_H_
|
| -
|
|
|