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

Side by Side Diff: extensions/common/extension.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 | « extensions/browser/extension_prefs.cc ('k') | extensions/extensions.gyp » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 EXTENSIONS_COMMON_EXTENSION_H_ 5 #ifndef EXTENSIONS_COMMON_EXTENSION_H_
6 #define EXTENSIONS_COMMON_EXTENSION_H_ 6 #define EXTENSIONS_COMMON_EXTENSION_H_
7 7
8 #include <algorithm> 8 #include <algorithm>
9 #include <iosfwd> 9 #include <iosfwd>
10 #include <map> 10 #include <map>
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 enum DisableReason { 83 enum DisableReason {
84 DISABLE_NONE = 0, 84 DISABLE_NONE = 0,
85 DISABLE_USER_ACTION = 1 << 0, 85 DISABLE_USER_ACTION = 1 << 0,
86 DISABLE_PERMISSIONS_INCREASE = 1 << 1, 86 DISABLE_PERMISSIONS_INCREASE = 1 << 1,
87 DISABLE_RELOAD = 1 << 2, 87 DISABLE_RELOAD = 1 << 2,
88 DISABLE_UNSUPPORTED_REQUIREMENT = 1 << 3, 88 DISABLE_UNSUPPORTED_REQUIREMENT = 1 << 3,
89 DISABLE_SIDELOAD_WIPEOUT = 1 << 4, 89 DISABLE_SIDELOAD_WIPEOUT = 1 << 4,
90 DISABLE_UNKNOWN_FROM_SYNC = 1 << 5, 90 DISABLE_UNKNOWN_FROM_SYNC = 1 << 5,
91 DISABLE_PERMISSIONS_CONSENT = 1 << 6, // Unused - abandoned experiment. 91 DISABLE_PERMISSIONS_CONSENT = 1 << 6, // Unused - abandoned experiment.
92 DISABLE_KNOWN_DISABLED = 1 << 7, 92 DISABLE_KNOWN_DISABLED = 1 << 7,
93 93 DISABLE_NOT_VERIFIED = 1 << 8, // Disabled because we could not verify
94 // Disabled because we could not verify the install. 94 // the install.
95 DISABLE_NOT_VERIFIED = 1 << 8, 95 DISABLE_GREYLIST = 1 << 9
96 }; 96 };
97 97
98 enum InstallType { 98 enum InstallType {
99 INSTALL_ERROR, 99 INSTALL_ERROR,
100 DOWNGRADE, 100 DOWNGRADE,
101 REINSTALL, 101 REINSTALL,
102 UPGRADE, 102 UPGRADE,
103 NEW_INSTALL 103 NEW_INSTALL
104 }; 104 };
105 105
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 531
532 UpdatedExtensionPermissionsInfo( 532 UpdatedExtensionPermissionsInfo(
533 const Extension* extension, 533 const Extension* extension,
534 const PermissionSet* permissions, 534 const PermissionSet* permissions,
535 Reason reason); 535 Reason reason);
536 }; 536 };
537 537
538 } // namespace extensions 538 } // namespace extensions
539 539
540 #endif // EXTENSIONS_COMMON_EXTENSION_H_ 540 #endif // EXTENSIONS_COMMON_EXTENSION_H_
OLDNEW
« no previous file with comments | « extensions/browser/extension_prefs.cc ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698