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

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

Issue 14973007: Auto-install/uninstall shared module dependencies for extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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
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 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 }; 84 };
85 85
86 enum DisableReason { 86 enum DisableReason {
87 DISABLE_NONE = 0, 87 DISABLE_NONE = 0,
88 DISABLE_USER_ACTION = 1 << 0, 88 DISABLE_USER_ACTION = 1 << 0,
89 DISABLE_PERMISSIONS_INCREASE = 1 << 1, 89 DISABLE_PERMISSIONS_INCREASE = 1 << 1,
90 DISABLE_RELOAD = 1 << 2, 90 DISABLE_RELOAD = 1 << 2,
91 DISABLE_UNSUPPORTED_REQUIREMENT = 1 << 3, 91 DISABLE_UNSUPPORTED_REQUIREMENT = 1 << 3,
92 DISABLE_SIDELOAD_WIPEOUT = 1 << 4, 92 DISABLE_SIDELOAD_WIPEOUT = 1 << 4,
93 DISABLE_UNKNOWN_FROM_SYNC = 1 << 5, 93 DISABLE_UNKNOWN_FROM_SYNC = 1 << 5,
94 DISABLE_MISSING_IMPORT = 1 << 6,
94 }; 95 };
95 96
96 enum InstallType { 97 enum InstallType {
97 INSTALL_ERROR, 98 INSTALL_ERROR,
98 DOWNGRADE, 99 DOWNGRADE,
99 REINSTALL, 100 REINSTALL,
100 UPGRADE, 101 UPGRADE,
101 NEW_INSTALL 102 NEW_INSTALL
102 }; 103 };
103 104
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 741
741 UpdatedExtensionPermissionsInfo( 742 UpdatedExtensionPermissionsInfo(
742 const Extension* extension, 743 const Extension* extension,
743 const PermissionSet* permissions, 744 const PermissionSet* permissions,
744 Reason reason); 745 Reason reason);
745 }; 746 };
746 747
747 } // namespace extensions 748 } // namespace extensions
748 749
749 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 750 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698