| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_PROTECTOR_HISTOGRAMS_H_ | 5 #ifndef CHROME_BROWSER_PROTECTOR_HISTOGRAMS_H_ |
| 6 #define CHROME_BROWSER_PROTECTOR_HISTOGRAMS_H_ | 6 #define CHROME_BROWSER_PROTECTOR_HISTOGRAMS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 class TemplateURL; | 9 class TemplateURL; |
| 10 | 10 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 // Histogram name to report when user accepts new startup settings. | 54 // Histogram name to report when user accepts new startup settings. |
| 55 extern const char kProtectorHistogramStartupSettingsApplied[]; | 55 extern const char kProtectorHistogramStartupSettingsApplied[]; |
| 56 // Histogram name to report the new startup settings when the backup is | 56 // Histogram name to report the new startup settings when the backup is |
| 57 // valid and a change is detected. | 57 // valid and a change is detected. |
| 58 extern const char kProtectorHistogramStartupSettingsChanged[]; | 58 extern const char kProtectorHistogramStartupSettingsChanged[]; |
| 59 // Histogram name to report when user keeps previous startup settings. | 59 // Histogram name to report when user keeps previous startup settings. |
| 60 extern const char kProtectorHistogramStartupSettingsDiscarded[]; | 60 extern const char kProtectorHistogramStartupSettingsDiscarded[]; |
| 61 // Histogram name to report when user ignores startup settings change. | 61 // Histogram name to report when user ignores startup settings change. |
| 62 extern const char kProtectorHistogramStartupSettingsTimeout[]; | 62 extern const char kProtectorHistogramStartupSettingsTimeout[]; |
| 63 | 63 |
| 64 // Histogram name to report when user accepts new homepage. |
| 65 extern const char kProtectorHistogramHomepageApplied[]; |
| 66 // Histogram name to report the new homepage when the backup is valid and a |
| 67 // change is detected. |
| 68 extern const char kProtectorHistogramHomepageChanged[]; |
| 69 // Histogram name to report when user keeps previous homepage. |
| 70 extern const char kProtectorHistogramHomepageDiscarded[]; |
| 71 // Histogram name to report when user ignores homepage change. |
| 72 extern const char kProtectorHistogramHomepageTimeout[]; |
| 73 |
| 64 // Maximum value of search provider index in histogram enums. | 74 // Maximum value of search provider index in histogram enums. |
| 65 extern const int kProtectorMaxSearchProviderID; | 75 extern const int kProtectorMaxSearchProviderID; |
| 66 | 76 |
| 67 // Returns index to be used in histograms for given search provider (which may | 77 // Returns index to be used in histograms for given search provider (which may |
| 68 // be NULL, in which case a special index will be returned). | 78 // be NULL, in which case a special index will be returned). |
| 69 int GetSearchProviderHistogramID(const TemplateURL* turl); | 79 int GetSearchProviderHistogramID(const TemplateURL* turl); |
| 70 | 80 |
| 71 } // namespace protector | 81 } // namespace protector |
| 72 | 82 |
| 73 #endif // CHROME_BROWSER_PROTECTOR_HISTOGRAMS_H_ | 83 #endif // CHROME_BROWSER_PROTECTOR_HISTOGRAMS_H_ |
| OLD | NEW |