| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "chrome/browser/chromeos/extensions/device_local_account_management_pol
icy_provider.h" | 5 #include "chrome/browser/chromeos/extensions/device_local_account_management_pol
icy_provider.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <cstddef> | 9 #include <cstddef> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 // Documented in https://developer.chrome.com/extensions/manifest but not | 153 // Documented in https://developer.chrome.com/extensions/manifest but not |
| 154 // implemented anywhere. Still, a lot of apps use it. | 154 // implemented anywhere. Still, a lot of apps use it. |
| 155 "author", | 155 "author", |
| 156 | 156 |
| 157 // TBD | 157 // TBD |
| 158 // emk::kBluetooth, | 158 // emk::kBluetooth, |
| 159 | 159 |
| 160 // TBD | 160 // TBD |
| 161 // emk::kCommands, | 161 // emk::kCommands, |
| 162 | 162 |
| 163 // TBD, doc missing | |
| 164 // emk::kCopresence, | |
| 165 | |
| 166 // TBD, looks unsafe | 163 // TBD, looks unsafe |
| 167 // emk::kEventRules, | 164 // emk::kEventRules, |
| 168 | 165 |
| 169 // TBD | 166 // TBD |
| 170 // emk::kExternallyConnectable, | 167 // emk::kExternallyConnectable, |
| 171 | 168 |
| 172 // TBD | 169 // TBD |
| 173 // emk::kFileHandlers, | 170 // emk::kFileHandlers, |
| 174 | 171 |
| 175 // TBD | 172 // TBD |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 | 285 |
| 289 // Risky: Reading from clipboard could expose private information. | 286 // Risky: Reading from clipboard could expose private information. |
| 290 // "clipboardRead", | 287 // "clipboardRead", |
| 291 | 288 |
| 292 // Writing to clipboard is safe. | 289 // Writing to clipboard is safe. |
| 293 "clipboardWrite", | 290 "clipboardWrite", |
| 294 | 291 |
| 295 // Potentially risky: Could be used to spoof system UI. | 292 // Potentially risky: Could be used to spoof system UI. |
| 296 // "contextMenus", | 293 // "contextMenus", |
| 297 | 294 |
| 298 // Dev channel only. Not evaluated. | |
| 299 // "copresence", | |
| 300 | |
| 301 // Placing a document on the scanner implies user consent. | 295 // Placing a document on the scanner implies user consent. |
| 302 "documentScan", | 296 "documentScan", |
| 303 | 297 |
| 304 // Possibly risky due to its experimental nature: not vetted for security, | 298 // Possibly risky due to its experimental nature: not vetted for security, |
| 305 // potentially buggy, subject to change without notice. | 299 // potentially buggy, subject to change without notice. |
| 306 // "experimental", | 300 // "experimental", |
| 307 | 301 |
| 308 // Fullscreen is a no-op for Public Session. Whitelisting nevertheless to | 302 // Fullscreen is a no-op for Public Session. Whitelisting nevertheless to |
| 309 // broaden the range of supported apps. (The recommended permission names | 303 // broaden the range of supported apps. (The recommended permission names |
| 310 // are "app.window.*" but their unprefixed counterparts are still | 304 // are "app.window.*" but their unprefixed counterparts are still |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 if (error) { | 613 if (error) { |
| 620 *error = l10n_util::GetStringFUTF16( | 614 *error = l10n_util::GetStringFUTF16( |
| 621 IDS_EXTENSION_CANT_INSTALL_IN_DEVICE_LOCAL_ACCOUNT, | 615 IDS_EXTENSION_CANT_INSTALL_IN_DEVICE_LOCAL_ACCOUNT, |
| 622 base::UTF8ToUTF16(extension->name()), | 616 base::UTF8ToUTF16(extension->name()), |
| 623 base::UTF8ToUTF16(extension->id())); | 617 base::UTF8ToUTF16(extension->id())); |
| 624 } | 618 } |
| 625 return false; | 619 return false; |
| 626 } | 620 } |
| 627 | 621 |
| 628 } // namespace chromeos | 622 } // namespace chromeos |
| OLD | NEW |