| 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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 | 426 |
| 427 // Open a new tab with a given URL. | 427 // Open a new tab with a given URL. |
| 428 "browser", | 428 "browser", |
| 429 | 429 |
| 430 // This allows to read the current browsing data removal dialog settings, | 430 // This allows to read the current browsing data removal dialog settings, |
| 431 // but I don't see why this would be problematic. | 431 // but I don't see why this would be problematic. |
| 432 "browsingData", | 432 "browsingData", |
| 433 | 433 |
| 434 "certificateProvider", | 434 "certificateProvider", |
| 435 | 435 |
| 436 // This is risky, but blocking extensions just because they declare | 436 // clipboardRead is restricted to return an empty string (except for |
| 437 // clipboardRead is unfortunate. Options: (1) Make clipboardRead return | 437 // whitelisted extensions - ie. Chrome RDP client). |
| 438 // empty string (2) confirmation dialog. | 438 "clipboardRead", |
| 439 // "clipboardRead", | |
| 440 | 439 |
| 441 // Writing to clipboard is safe. | 440 // Writing to clipboard is safe. |
| 442 "clipboardWrite", | 441 "clipboardWrite", |
| 443 | 442 |
| 444 "contentSettings", | 443 "contentSettings", |
| 445 | 444 |
| 446 // Privacy sensitive URL access. | 445 // Privacy sensitive URL access. |
| 447 // "contextMenus", | 446 // "contextMenus", |
| 448 | 447 |
| 449 // This would provie access to auth cookies, so needs to be blocked. | 448 // This would provie access to auth cookies, so needs to be blocked. |
| (...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 946 if (error) { | 945 if (error) { |
| 947 *error = l10n_util::GetStringFUTF16( | 946 *error = l10n_util::GetStringFUTF16( |
| 948 IDS_EXTENSION_CANT_INSTALL_IN_DEVICE_LOCAL_ACCOUNT, | 947 IDS_EXTENSION_CANT_INSTALL_IN_DEVICE_LOCAL_ACCOUNT, |
| 949 base::UTF8ToUTF16(extension->name()), | 948 base::UTF8ToUTF16(extension->name()), |
| 950 base::UTF8ToUTF16(extension->id())); | 949 base::UTF8ToUTF16(extension->id())); |
| 951 } | 950 } |
| 952 return false; | 951 return false; |
| 953 } | 952 } |
| 954 | 953 |
| 955 } // namespace chromeos | 954 } // namespace chromeos |
| OLD | NEW |