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

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

Issue 1240283002: Implementation of the device attributes API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@extension_api
Patch Set: Fixed build. Created 5 years, 4 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 kShouldWarnAllHosts, 235 kShouldWarnAllHosts,
236 kSocketAnyHost, 236 kSocketAnyHost,
237 kSocketDomainHosts, 237 kSocketDomainHosts,
238 kSocketSpecificHosts, 238 kSocketSpecificHosts,
239 kUsbDeviceList, 239 kUsbDeviceList,
240 kUsbDeviceUnknownProduct, 240 kUsbDeviceUnknownProduct,
241 kUsbDeviceUnknownVendor, 241 kUsbDeviceUnknownVendor,
242 kUsersPrivate, 242 kUsersPrivate,
243 kPasswordsPrivate, 243 kPasswordsPrivate,
244 kLanguageSettingsPrivate, 244 kLanguageSettingsPrivate,
245 kEnterpriseDeviceAttributes,
245 // Last entry: Add new entries above and ensure to update the 246 // Last entry: Add new entries above and ensure to update the
246 // "ExtensionPermission3" enum in tools/metrics/histograms/histograms.xml 247 // "ExtensionPermission3" enum in tools/metrics/histograms/histograms.xml
247 // (by running update_extension_permission.py). 248 // (by running update_extension_permission.py).
248 kEnumBoundary 249 kEnumBoundary
249 }; 250 };
250 251
251 struct CheckParam { 252 struct CheckParam {
252 }; 253 };
253 254
254 explicit APIPermission(const APIPermissionInfo* info); 255 explicit APIPermission(const APIPermissionInfo* info);
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 const char* const name_; 455 const char* const name_;
455 const int flags_; 456 const int flags_;
456 const int l10n_message_id_; 457 const int l10n_message_id_;
457 const PermissionMessage::ID message_id_; 458 const PermissionMessage::ID message_id_;
458 const APIPermissionConstructor api_permission_constructor_; 459 const APIPermissionConstructor api_permission_constructor_;
459 }; 460 };
460 461
461 } // namespace extensions 462 } // namespace extensions
462 463
463 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ 464 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_
OLDNEW
« no previous file with comments | « extensions/browser/extension_function_histogram_value.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698