Home
last modified time | relevance | path

Searched refs:permissions_list (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/chrome/browser/extensions/api/permissions/
Dpermissions_api_helpers.cc76 std::vector<std::string>* permissions_list = permissions.permissions.get(); in UnpackPermissionSet() local
77 if (permissions_list) { in UnpackPermissionSet()
79 for (std::vector<std::string>::iterator it = permissions_list->begin(); in UnpackPermissionSet()
80 it != permissions_list->end(); ++it) { in UnpackPermissionSet()
/external/chromium_org/chrome/common/extensions/api/
Dextension_api_unittest.cc401 scoped_ptr<base::ListValue> permissions_list(new base::ListValue()); in CreateExtensionWithPermissions() local
404 permissions_list->Append(new base::StringValue(*i)); in CreateExtensionWithPermissions()
406 manifest.Set("permissions", permissions_list.release()); in CreateExtensionWithPermissions()
528 scoped_ptr<base::ListValue> permissions_list(new base::ListValue()); in CreatePackagedAppWithPermissions() local
531 permissions_list->Append(new base::StringValue(*i)); in CreatePackagedAppWithPermissions()
533 values.Set("permissions", permissions_list.release()); in CreatePackagedAppWithPermissions()