Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: extensions/browser/blacklist_state.h

Issue 98463005: Enable/disable extensions upon changes in blacklist. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | extensions/browser/extension_prefs.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | extensions/browser/extension_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698