OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 static const int kPageActionIconMaxSize; | 153 static const int kPageActionIconMaxSize; |
154 static const int kBrowserActionIconMaxSize; | 154 static const int kBrowserActionIconMaxSize; |
155 static const int kSidebarIconMaxSize; | 155 static const int kSidebarIconMaxSize; |
156 | 156 |
157 // Each permission is a module that the extension is permitted to use. | 157 // Each permission is a module that the extension is permitted to use. |
158 // | 158 // |
159 // NOTE: To add a new permission, define it here, and add an entry to | 159 // NOTE: To add a new permission, define it here, and add an entry to |
160 // Extension::kPermissions. | 160 // Extension::kPermissions. |
161 static const char kBackgroundPermission[]; | 161 static const char kBackgroundPermission[]; |
162 static const char kBookmarkPermission[]; | 162 static const char kBookmarkPermission[]; |
| 163 static const char kContentSettingsPermission[]; |
163 static const char kContextMenusPermission[]; | 164 static const char kContextMenusPermission[]; |
164 static const char kCookiePermission[]; | 165 static const char kCookiePermission[]; |
165 static const char kExperimentalPermission[]; | 166 static const char kExperimentalPermission[]; |
166 static const char kGeolocationPermission[]; | 167 static const char kGeolocationPermission[]; |
167 static const char kHistoryPermission[]; | 168 static const char kHistoryPermission[]; |
168 static const char kIdlePermission[]; | 169 static const char kIdlePermission[]; |
169 static const char kManagementPermission[]; | 170 static const char kManagementPermission[]; |
170 static const char kNotificationPermission[]; | 171 static const char kNotificationPermission[]; |
171 static const char kProxyPermission[]; | 172 static const char kProxyPermission[]; |
172 static const char kTabPermission[]; | 173 static const char kTabPermission[]; |
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
785 // Was the extension already disabled? | 786 // Was the extension already disabled? |
786 bool already_disabled; | 787 bool already_disabled; |
787 | 788 |
788 // The extension being unloaded - this should always be non-NULL. | 789 // The extension being unloaded - this should always be non-NULL. |
789 const Extension* extension; | 790 const Extension* extension; |
790 | 791 |
791 UnloadedExtensionInfo(const Extension* extension, Reason reason); | 792 UnloadedExtensionInfo(const Extension* extension, Reason reason); |
792 }; | 793 }; |
793 | 794 |
794 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 795 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
OLD | NEW |