Home
last modified time | relevance | path

Searched refs:apis_ (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/extensions/common/permissions/
Dpermission_set.cc42 : apis_(apis), in PermissionSet()
143 return apis_ == rhs.apis_ && in operator ==()
150 return apis_.Contains(set.apis()) && in Contains()
158 for (APIPermissionSet::const_iterator i = apis_.begin(); in GetAPIsAsStrings()
159 i != apis_.end(); ++i) { in GetAPIsAsStrings()
184 return (permission && apis_.count(permission->id())); in HasAPIPermission()
251 if (apis_.find(APIPermission::kDownloads) != apis_.end()) in InitImplicitPermissions()
252 apis_.insert(APIPermission::kDownloadsInternal); in InitImplicitPermissions()
255 if (apis_.find(APIPermission::kFileBrowserHandler) != apis_.end()) in InitImplicitPermissions()
256 apis_.insert(APIPermission::kFileBrowserHandlerInternal); in InitImplicitPermissions()
Dpermission_set.h111 const APIPermissionSet& apis() const { return apis_; } in apis()
141 APIPermissionSet apis_; variable
/external/chromium_org/chrome/common/extensions/permissions/
Dpermission_set_unittest.cc1067 set->apis_.insert(APIPermission::kSerial); in TEST()
1073 set->apis_.erase(APIPermission::kSerial); in TEST()
1076 set->apis_.insert(APIPermission::kUsb); in TEST()
1084 set->apis_.insert(APIPermission::kSerial); in TEST()
1185 set->apis_.erase(APIPermission::kVideoCapture); in TEST()
1193 set->apis_.erase(APIPermission::kAudioCapture); in TEST()
1194 set->apis_.insert(APIPermission::kVideoCapture); in TEST()