| Index: chrome/common/extensions/extension_permission_set.cc
|
| diff --git a/chrome/common/extensions/extension_permission_set.cc b/chrome/common/extensions/extension_permission_set.cc
|
| index 18e1fec22970d6b59a6b6b08360397a30bf275a9..6f55e7664a3d3109ff5405e0ee51404b04737f4a 100644
|
| --- a/chrome/common/extensions/extension_permission_set.cc
|
| +++ b/chrome/common/extensions/extension_permission_set.cc
|
| @@ -259,7 +259,7 @@ void ExtensionAPIPermission::RegisterAllPermissions(
|
| info->RegisterPermission(
|
| kTab, "tabs", IDS_EXTENSION_PROMPT_WARNING_TABS,
|
| ExtensionPermissionMessage::kTabs, kFlagNone,
|
| - kTypeDefault - kTypePlatformApp);
|
| + kTypeDefault);
|
| info->RegisterPermission(
|
| kTts, "tts", 0,
|
| ExtensionPermissionMessage::kNone, kFlagCannotBeOptional, kTypeDefault);
|
| @@ -372,6 +372,8 @@ void ExtensionAPIPermission::RegisterAllPermissions(
|
|
|
| // Register aliases.
|
| info->RegisterAlias("unlimitedStorage", kOldUnlimitedStoragePermission);
|
| + // TODO(mihaip): Remove this alias for platform apps, and only give them
|
| + // access to the chrome.windows.* APIs, but not the chrome.tabs.* ones.
|
| info->RegisterAlias("tabs", kWindowsPermission);
|
| }
|
|
|
|
|