| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "extensions/common/permissions/extensions_api_permissions.h" | 5 #include "extensions/common/permissions/extensions_api_permissions.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "extensions/common/permissions/api_permission.h" | 9 #include "extensions/common/permissions/api_permission.h" |
| 10 #include "extensions/common/permissions/permission_message.h" | |
| 11 #include "extensions/common/permissions/socket_permission.h" | 10 #include "extensions/common/permissions/socket_permission.h" |
| 12 #include "extensions/common/permissions/usb_device_permission.h" | 11 #include "extensions/common/permissions/usb_device_permission.h" |
| 13 #include "grit/extensions_strings.h" | 12 #include "grit/extensions_strings.h" |
| 14 | 13 |
| 15 namespace extensions { | 14 namespace extensions { |
| 16 | 15 |
| 17 namespace { | 16 namespace { |
| 18 | 17 |
| 19 const char kOldAlwaysOnTopWindowsPermission[] = "alwaysOnTopWindows"; | 18 const char kOldAlwaysOnTopWindowsPermission[] = "alwaysOnTopWindows"; |
| 20 const char kOldFullscreenPermission[] = "fullscreen"; | 19 const char kOldFullscreenPermission[] = "fullscreen"; |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 kOldFullscreenPermission)); | 128 kOldFullscreenPermission)); |
| 130 aliases.push_back( | 129 aliases.push_back( |
| 131 PermissionsProvider::AliasInfo("app.window.fullscreen.overrideEsc", | 130 PermissionsProvider::AliasInfo("app.window.fullscreen.overrideEsc", |
| 132 kOldOverrideEscFullscreenPermission)); | 131 kOldOverrideEscFullscreenPermission)); |
| 133 aliases.push_back(PermissionsProvider::AliasInfo( | 132 aliases.push_back(PermissionsProvider::AliasInfo( |
| 134 "unlimitedStorage", kOldUnlimitedStoragePermission)); | 133 "unlimitedStorage", kOldUnlimitedStoragePermission)); |
| 135 return aliases; | 134 return aliases; |
| 136 } | 135 } |
| 137 | 136 |
| 138 } // namespace extensions | 137 } // namespace extensions |
| OLD | NEW |