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

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

Issue 12576018: Add chrome.power extension API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update PermissionsTest.PermissionMessages Created 7 years, 9 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_
6 #define CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ 6 #define CHROME_COMMON_EXTENSIONS_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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 kMediaGalleries, 86 kMediaGalleries,
87 kMediaGalleriesPrivate, 87 kMediaGalleriesPrivate,
88 kMediaPlayerPrivate, 88 kMediaPlayerPrivate,
89 kMetricsPrivate, 89 kMetricsPrivate,
90 kNativeMessaging, 90 kNativeMessaging,
91 kNetworkingPrivate, 91 kNetworkingPrivate,
92 kNotification, 92 kNotification,
93 kPageCapture, 93 kPageCapture,
94 kPointerLock, 94 kPointerLock,
95 kPlugin, 95 kPlugin,
96 kPower,
96 kPrivacy, 97 kPrivacy,
97 kProxy, 98 kProxy,
98 kPushMessaging, 99 kPushMessaging,
99 kRtcPrivate, 100 kRtcPrivate,
100 kScreensaver, 101 kScreensaver,
101 kSerial, 102 kSerial,
102 kSessionRestore, 103 kSessionRestore,
103 kSocket, 104 kSocket,
104 kStorage, 105 kStorage,
105 kStreamsPrivate, 106 kStreamsPrivate,
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 const char* const name_; 293 const char* const name_;
293 const int flags_; 294 const int flags_;
294 const int l10n_message_id_; 295 const int l10n_message_id_;
295 const PermissionMessage::ID message_id_; 296 const PermissionMessage::ID message_id_;
296 const APIPermissionConstructor api_permission_constructor_; 297 const APIPermissionConstructor api_permission_constructor_;
297 }; 298 };
298 299
299 } // namespace extensions 300 } // namespace extensions
300 301
301 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ 302 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698