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 // Protector histogram values. | 15 // Protector histogram values. |
16 enum ProtectorError { | 16 enum ProtectorError { |
17 kProtectorErrorBackupInvalid, | 17 kProtectorErrorBackupInvalid, |
18 kProtectorErrorValueChanged, | 18 kProtectorErrorValueChanged, |
19 kProtectorErrorNoError, | |
Ivan Korotkov
2011/11/01 14:18:39
Maybe call it kProtectorNoError? Because ErrorNoEr
| |
19 | 20 |
20 // This is for convenience only, must always be the last. | 21 // This is for convenience only, must always be the last. |
21 kProtectorErrorCount | 22 kProtectorErrorCount |
22 }; | 23 }; |
23 | 24 |
24 } // namespace protector | 25 } // namespace protector |
25 | 26 |
26 #endif // CHROME_BROWSER_PROTECTOR_HISTOGRAMS_H_ | 27 #endif // CHROME_BROWSER_PROTECTOR_HISTOGRAMS_H_ |
27 | 28 |
OLD | NEW |