OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_EXTENSIONS_BLACKLIST_STATE_H_ | 5 #ifndef EXTENSIONS_BROWSER_BLACKLIST_STATE_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_BLACKLIST_STATE_H_ | 6 #define EXTENSIONS_BROWSER_BLACKLIST_STATE_H_ |
7 | 7 |
8 namespace extensions { | 8 namespace extensions { |
9 | 9 |
10 // The numeric values here match the values of the respective enum in | 10 // The numeric values here match the values of the respective enum in |
11 // ClientCRXListInfoResponse proto. | 11 // ClientCRXListInfoResponse proto. |
12 enum BlacklistState { | 12 enum BlacklistState { |
13 NOT_BLACKLISTED = 0, | 13 NOT_BLACKLISTED = 0, |
14 BLACKLISTED_MALWARE = 1, | 14 BLACKLISTED_MALWARE = 1, |
15 BLACKLISTED_SECURITY_VULNERABILITY = 2, | 15 BLACKLISTED_SECURITY_VULNERABILITY = 2, |
16 BLACKLISTED_CWS_POLICY_VIOLATION = 3, | 16 BLACKLISTED_CWS_POLICY_VIOLATION = 3, |
17 BLACKLISTED_POTENTIALLY_UNWANTED = 4, | 17 BLACKLISTED_POTENTIALLY_UNWANTED = 4, |
18 BLACKLISTED_UNKNOWN // Used when we couldn't connect to server, | 18 BLACKLISTED_UNKNOWN // Used when we couldn't connect to server, |
19 // e.g. when offline. | 19 // e.g. when offline. |
20 }; | 20 }; |
21 | 21 |
22 } // namespace extensions | 22 } // namespace extensions |
23 | 23 |
24 #endif // CHROME_BROWSER_EXTENSIONS_BLACKLIST_STATE_H_ | 24 #endif // EXTENSIONS_BROWSER_BLACKLIST_STATE_H_ |
OLD | NEW |