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

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

Issue 1143303004: Add IDL and stub implementation for chrome.usersPrivate API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make isOwner a required field Created 5 years, 6 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 kMediaGalleriesAllGalleriesRead, 233 kMediaGalleriesAllGalleriesRead,
234 kNetworkState, 234 kNetworkState,
235 kOverrideBookmarksUI, 235 kOverrideBookmarksUI,
236 kShouldWarnAllHosts, 236 kShouldWarnAllHosts,
237 kSocketAnyHost, 237 kSocketAnyHost,
238 kSocketDomainHosts, 238 kSocketDomainHosts,
239 kSocketSpecificHosts, 239 kSocketSpecificHosts,
240 kUsbDeviceList, 240 kUsbDeviceList,
241 kUsbDeviceUnknownProduct, 241 kUsbDeviceUnknownProduct,
242 kUsbDeviceUnknownVendor, 242 kUsbDeviceUnknownVendor,
243 kUsersPrivate,
243 // Last entry: Add new entries above and ensure to update the 244 // Last entry: Add new entries above and ensure to update the
244 // "ExtensionPermission3" enum in tools/metrics/histograms/histograms.xml 245 // "ExtensionPermission3" enum in tools/metrics/histograms/histograms.xml
245 // (by running update_extension_permission.py). 246 // (by running update_extension_permission.py).
246 kEnumBoundary 247 kEnumBoundary
247 }; 248 };
248 249
249 struct CheckParam { 250 struct CheckParam {
250 }; 251 };
251 252
252 explicit APIPermission(const APIPermissionInfo* info); 253 explicit APIPermission(const APIPermissionInfo* info);
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 const char* const name_; 453 const char* const name_;
453 const int flags_; 454 const int flags_;
454 const int l10n_message_id_; 455 const int l10n_message_id_;
455 const PermissionMessage::ID message_id_; 456 const PermissionMessage::ID message_id_;
456 const APIPermissionConstructor api_permission_constructor_; 457 const APIPermissionConstructor api_permission_constructor_;
457 }; 458 };
458 459
459 } // namespace extensions 460 } // namespace extensions
460 461
461 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ 462 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_
OLDNEW
« no previous file with comments | « extensions/browser/extension_function_histogram_value.h ('k') | extensions/common/permissions/permission_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698