Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/extensions/extension_permissions_api_constants.h" | |
| 6 | |
| 7 namespace extension_permissions_module_constants { | |
| 8 | |
| 9 const char kApisKey[] = "apis"; | |
|
Mihai Parparita -not on Chrome
2011/07/20 22:03:43
Not sure "apis" is the best name, since it's not a
jstritar
2011/07/22 19:21:55
Changed this to "permissions". I'll update the ter
| |
| 10 | |
| 11 const char kCantRemoveRequiredPermissionsError[] = | |
| 12 "You cannot remove required permissions."; | |
| 13 const char kNotInOptionalPermissionsError[] = | |
| 14 "Optional permissions must be listed in extension manifest."; | |
| 15 const char kNotWhiteListedError[] = | |
| 16 "The optional permissions API does not support '%s'."; | |
| 17 const char kUnknownPermissionError[] = | |
| 18 "'%s' is not a recognized permission."; | |
| 19 | |
| 20 const char kOnAdded[] = "permissions.onAdded"; | |
| 21 const char kOnRemoved[] = "permissions.onRemoved"; | |
| 22 | |
| 23 }; // namespace extension_permissions_module_constants | |
| OLD | NEW |