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

Unified Diff: chrome/common/extensions/extension.cc

Issue 7067020: Moving mediaplayer to the chrome filebrowser. Observable behaviour should not change. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed style errors and localized strings. Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/extension.cc
diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc
index 788fc89dba3e1bd1e6366f3dc2f3a75ded58ba32..2b9ee5072541815553991e8c37114a0c70c939cc 100644
--- a/chrome/common/extensions/extension.cc
+++ b/chrome/common/extensions/extension.cc
@@ -278,6 +278,7 @@ const char Extension::kGeolocationPermission[] = "geolocation";
const char Extension::kHistoryPermission[] = "history";
const char Extension::kIdlePermission[] = "idle";
const char Extension::kManagementPermission[] = "management";
+const char Extension::kMediaPlayerPrivatePermission[] = "mediaPlayerPrivate";
const char Extension::kNotificationPermission[] = "notifications";
const char Extension::kProxyPermission[] = "proxy";
const char Extension::kTabPermission[] = "tabs";
@@ -307,6 +308,7 @@ const Extension::Permission Extension::kPermissions[] = {
{ kHistoryPermission, PermissionMessage::ID_BROWSING_HISTORY },
{ kIdlePermission, PermissionMessage::ID_NONE },
{ kManagementPermission, PermissionMessage::ID_MANAGEMENT },
+ { kMediaPlayerPrivatePermission, PermissionMessage::ID_NONE },
{ kNotificationPermission, PermissionMessage::ID_NONE },
{ kProxyPermission, PermissionMessage::ID_NONE },
{ kTabPermission, PermissionMessage::ID_TABS },
@@ -332,6 +334,7 @@ const size_t Extension::kNumHostedAppPermissions =
const char* const Extension::kComponentPrivatePermissionNames[] = {
Extension::kFileBrowserPrivatePermission,
Extension::kWebstorePrivatePermission,
+ Extension::kMediaPlayerPrivatePermission,
Extension::kChromeosInfoPrivatePermission,
};
const size_t Extension::kNumComponentPrivatePermissions =

Powered by Google App Engine
This is Rietveld 408576698