1 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef EXTENSIONS_BROWSER_BLACKLIST_STATE_H_ 6 #define EXTENSIONS_BROWSER_BLACKLIST_STATE_H_ 7 8 namespace extensions { 9 10 // The numeric values here match the values of the respective enum in 11 // ClientCRXListInfoResponse proto. 12 enum BlacklistState { 13 NOT_BLACKLISTED = 0, 14 BLACKLISTED_MALWARE = 1, 15 BLACKLISTED_SECURITY_VULNERABILITY = 2, 16 BLACKLISTED_CWS_POLICY_VIOLATION = 3, 17 BLACKLISTED_POTENTIALLY_UNWANTED = 4, 18 BLACKLISTED_UNKNOWN // Used when we couldn't connect to server, 19 // e.g. when offline. 20 }; 21 22 } // namespace extensions 23 24 #endif // EXTENSIONS_BROWSER_BLACKLIST_STATE_H_ 25