| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 // emk::kApp, | 131 // emk::kApp, |
| 132 | 132 |
| 133 // Documented in https://developer.chrome.com/extensions/manifest but not | 133 // Documented in https://developer.chrome.com/extensions/manifest but not |
| 134 // implemented anywhere. Still, a lot of apps use it. | 134 // implemented anywhere. Still, a lot of apps use it. |
| 135 "author", | 135 "author", |
| 136 | 136 |
| 137 // Allows inspection of page contents, not enabled on stable anyways except | 137 // Allows inspection of page contents, not enabled on stable anyways except |
| 138 // for whitelist. | 138 // for whitelist. |
| 139 // emk::kAutomation, | 139 // emk::kAutomation, |
| 140 | 140 |
| 141 // TODO(isandrk): Ask Mattias for comments on entries without a comment. | |
| 142 // See crbug.com/650672. | |
| 143 "background", | 141 "background", |
| 144 | 142 |
| 145 emk::kBackgroundPageLegacy, | 143 emk::kBackgroundPageLegacy, |
| 146 | 144 |
| 147 emk::kBackgroundPersistent, | 145 emk::kBackgroundPersistent, |
| 148 | 146 |
| 149 emk::kBluetooth, | 147 emk::kBluetooth, |
| 150 | 148 |
| 151 emk::kBrowserAction, | 149 emk::kBrowserAction, |
| 152 | 150 |
| (...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 931 if (error) { | 929 if (error) { |
| 932 *error = l10n_util::GetStringFUTF16( | 930 *error = l10n_util::GetStringFUTF16( |
| 933 IDS_EXTENSION_CANT_INSTALL_IN_DEVICE_LOCAL_ACCOUNT, | 931 IDS_EXTENSION_CANT_INSTALL_IN_DEVICE_LOCAL_ACCOUNT, |
| 934 base::UTF8ToUTF16(extension->name()), | 932 base::UTF8ToUTF16(extension->name()), |
| 935 base::UTF8ToUTF16(extension->id())); | 933 base::UTF8ToUTF16(extension->id())); |
| 936 } | 934 } |
| 937 return false; | 935 return false; |
| 938 } | 936 } |
| 939 | 937 |
| 940 } // namespace chromeos | 938 } // namespace chromeos |
| OLD | NEW |