Durable Storage: Refactor browser test and test the basic "deny" flow.
[chromium-blink-merge.git] / extensions / browser / blacklist_state.h
blobd7f16e23158bad42282ca0430865f29ed9240588
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.
5 #ifndef EXTENSIONS_BROWSER_BLACKLIST_STATE_H_
6 #define EXTENSIONS_BROWSER_BLACKLIST_STATE_H_
8 namespace extensions {
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.
22 } // namespace extensions
24 #endif // EXTENSIONS_BROWSER_BLACKLIST_STATE_H_