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

Side by Side Diff: chrome/common/extensions/extension.h

Issue 11189094: Implement sideload wipeout for Extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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/common/chrome_switches.cc ('k') | chrome/common/extensions/feature_switch.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_COMMON_EXTENSIONS_EXTENSION_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_
7 7
8 #include <algorithm> 8 #include <algorithm>
9 #include <iosfwd> 9 #include <iosfwd>
10 #include <map> 10 #include <map>
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 DEPRECATED_DISABLE_PERMISSIONS_INCREASE, 109 DEPRECATED_DISABLE_PERMISSIONS_INCREASE,
110 DEPRECATED_DISABLE_RELOAD, 110 DEPRECATED_DISABLE_RELOAD,
111 DEPRECATED_DISABLE_LAST, // Not used. 111 DEPRECATED_DISABLE_LAST, // Not used.
112 }; 112 };
113 113
114 enum DisableReason { 114 enum DisableReason {
115 DISABLE_NONE = 0, 115 DISABLE_NONE = 0,
116 DISABLE_USER_ACTION = 1 << 0, 116 DISABLE_USER_ACTION = 1 << 0,
117 DISABLE_PERMISSIONS_INCREASE = 1 << 1, 117 DISABLE_PERMISSIONS_INCREASE = 1 << 1,
118 DISABLE_RELOAD = 1 << 2, 118 DISABLE_RELOAD = 1 << 2,
119 DISABLE_UNSUPPORTED_REQUIREMENT = 1 << 3 119 DISABLE_UNSUPPORTED_REQUIREMENT = 1 << 3,
120 DISABLE_SIDELOAD_WIPEOUT = 1 << 4,
120 }; 121 };
121 122
122 enum InstallType { 123 enum InstallType {
123 INSTALL_ERROR, 124 INSTALL_ERROR,
124 DOWNGRADE, 125 DOWNGRADE,
125 REINSTALL, 126 REINSTALL,
126 UPGRADE, 127 UPGRADE,
127 NEW_INSTALL 128 NEW_INSTALL
128 }; 129 };
129 130
(...skipping 1134 matching lines...) Expand 10 before | Expand all | Expand 10 after
1264 1265
1265 UpdatedExtensionPermissionsInfo( 1266 UpdatedExtensionPermissionsInfo(
1266 const Extension* extension, 1267 const Extension* extension,
1267 const PermissionSet* permissions, 1268 const PermissionSet* permissions,
1268 Reason reason); 1269 Reason reason);
1269 }; 1270 };
1270 1271
1271 } // namespace extensions 1272 } // namespace extensions
1272 1273
1273 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 1274 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/common/extensions/feature_switch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698