| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 namespace protector { | 9 namespace protector { |
| 10 | 10 |
| 11 // Histogram name to report protection errors for the default search | 11 // Histogram name to report protection errors for the default search |
| 12 // provider. | 12 // provider. |
| 13 extern const char kProtectorHistogramDefaultSearchProvider[]; | 13 extern const char kProtectorHistogramDefaultSearchProvider[]; |
| 14 | 14 |
| 15 extern const char kProtectorBackupInvalidCounter[]; |
| 16 extern const char kProtectorValueChangedCounter[]; |
| 17 extern const char kProtectorValueValidCounter[]; |
| 18 |
| 15 // Protector histogram values. | 19 // Protector histogram values. |
| 16 enum ProtectorError { | 20 enum ProtectorError { |
| 17 kProtectorErrorBackupInvalid, | 21 kProtectorErrorBackupInvalid, |
| 18 kProtectorErrorValueChanged, | 22 kProtectorErrorValueChanged, |
| 23 kProtectorErrorValueValid, |
| 19 | 24 |
| 20 // This is for convenience only, must always be the last. | 25 // This is for convenience only, must always be the last. |
| 21 kProtectorErrorCount | 26 kProtectorErrorCount |
| 22 }; | 27 }; |
| 23 | 28 |
| 24 } // namespace protector | 29 } // namespace protector |
| 25 | 30 |
| 26 #endif // CHROME_BROWSER_PROTECTOR_HISTOGRAMS_H_ | 31 #endif // CHROME_BROWSER_PROTECTOR_HISTOGRAMS_H_ |
| 27 | 32 |
| OLD | NEW |