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

Side by Side Diff: extensions/common/permissions/api_permission.h

Issue 106973003: Rename experimental.accessibility to accessibilityPrivate (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix failing tests Created 6 years, 8 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
OLDNEW
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 #ifndef EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ 5 #ifndef EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_
6 #define EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ 6 #define EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 19 matching lines...) Expand all
30 class APIPermission { 30 class APIPermission {
31 public: 31 public:
32 enum ID { 32 enum ID {
33 // Error codes. 33 // Error codes.
34 kInvalid = -2, 34 kInvalid = -2,
35 kUnknown = -1, 35 kUnknown = -1,
36 36
37 // Real permissions. 37 // Real permissions.
38 kAccessibilityFeaturesModify, 38 kAccessibilityFeaturesModify,
39 kAccessibilityFeaturesRead, 39 kAccessibilityFeaturesRead,
40 kAccessibilityPrivate,
40 kActiveTab, 41 kActiveTab,
41 kActivityLogPrivate, 42 kActivityLogPrivate,
42 kAdView, 43 kAdView,
43 kAlarms, 44 kAlarms,
44 kAlwaysOnTopWindows, 45 kAlwaysOnTopWindows,
45 kAudio, 46 kAudio,
46 kAudioCapture, 47 kAudioCapture,
47 kAutomation, 48 kAutomation,
48 kAutoTestPrivate, 49 kAutoTestPrivate,
49 kBackground, 50 kBackground,
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 const char* const name_; 337 const char* const name_;
337 const int flags_; 338 const int flags_;
338 const int l10n_message_id_; 339 const int l10n_message_id_;
339 const PermissionMessage::ID message_id_; 340 const PermissionMessage::ID message_id_;
340 const APIPermissionConstructor api_permission_constructor_; 341 const APIPermissionConstructor api_permission_constructor_;
341 }; 342 };
342 343
343 } // namespace extensions 344 } // namespace extensions
344 345
345 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ 346 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698