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

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

Issue 6683060: Private API for extensions like ssh-client that need access to TCP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: m Created 9 years, 8 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 185
186 // Each permission is a module that the extension is permitted to use. 186 // Each permission is a module that the extension is permitted to use.
187 // 187 //
188 // NOTE: To add a new permission, define it here, and add an entry to 188 // NOTE: To add a new permission, define it here, and add an entry to
189 // Extension::kPermissions. 189 // Extension::kPermissions.
190 static const char kBackgroundPermission[]; 190 static const char kBackgroundPermission[];
191 static const char kBookmarkPermission[]; 191 static const char kBookmarkPermission[];
192 static const char kContentSettingsPermission[]; 192 static const char kContentSettingsPermission[];
193 static const char kContextMenusPermission[]; 193 static const char kContextMenusPermission[];
194 static const char kCookiePermission[]; 194 static const char kCookiePermission[];
195 static const char kChromeosInfoPrivatePermissions[]; 195 static const char kChromeosInfoPrivatePermission[];
196 static const char kDebuggerPermission[]; 196 static const char kDebuggerPermission[];
197 static const char kExperimentalPermission[]; 197 static const char kExperimentalPermission[];
198 static const char kFileSystemPermission[]; 198 static const char kFileSystemPermission[];
199 static const char kFileBrowserPrivatePermission[]; 199 static const char kFileBrowserPrivatePermission[];
200 static const char kGeolocationPermission[]; 200 static const char kGeolocationPermission[];
201 static const char kHistoryPermission[]; 201 static const char kHistoryPermission[];
202 static const char kIdlePermission[]; 202 static const char kIdlePermission[];
203 static const char kManagementPermission[]; 203 static const char kManagementPermission[];
204 static const char kNotificationPermission[]; 204 static const char kNotificationPermission[];
205 static const char kProxyPermission[]; 205 static const char kProxyPermission[];
206 static const char kTabPermission[]; 206 static const char kTabPermission[];
207 static const char kUnlimitedStoragePermission[]; 207 static const char kUnlimitedStoragePermission[];
208 static const char kWebstorePrivatePermission[]; 208 static const char kWebstorePrivatePermission[];
209 static const char kWebproxyPrivatePermission[];
209 210
210 static const Permission kPermissions[]; 211 static const Permission kPermissions[];
211 static const size_t kNumPermissions; 212 static const size_t kNumPermissions;
212 static const char* const kHostedAppPermissionNames[]; 213 static const char* const kHostedAppPermissionNames[];
213 static const size_t kNumHostedAppPermissions; 214 static const size_t kNumHostedAppPermissions;
214 215
215 // The old name for the unlimited storage permission, which is deprecated but 216 // The old name for the unlimited storage permission, which is deprecated but
216 // still accepted as meaning the same thing as kUnlimitedStoragePermission. 217 // still accepted as meaning the same thing as kUnlimitedStoragePermission.
217 static const char kOldUnlimitedStoragePermission[]; 218 static const char kOldUnlimitedStoragePermission[];
218 219
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 // Was the extension already disabled? 865 // Was the extension already disabled?
865 bool already_disabled; 866 bool already_disabled;
866 867
867 // The extension being unloaded - this should always be non-NULL. 868 // The extension being unloaded - this should always be non-NULL.
868 const Extension* extension; 869 const Extension* extension;
869 870
870 UnloadedExtensionInfo(const Extension* extension, Reason reason); 871 UnloadedExtensionInfo(const Extension* extension, Reason reason);
871 }; 872 };
872 873
873 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 874 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698