Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1124)

Side by Side Diff: chrome/browser/extensions/extension_permissions_api_constants.cc

Issue 7432006: Add an experimental permissions API for extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698