HomeSort by relevance Sort by last modified time
    Searched refs:PermissionSet (Results 1 - 25 of 48) sorted by null

1 2

  /external/chromium_org/extensions/common/permissions/
permission_set.h 27 // The PermissionSet is an immutable class that encapsulates an
30 class PermissionSet
31 : public base::RefCountedThreadSafe<PermissionSet> {
34 PermissionSet();
40 PermissionSet(const APIPermissionSet& apis,
47 static PermissionSet* CreateDifference(
48 const PermissionSet* set1, const PermissionSet* set2);
52 static PermissionSet* CreateIntersection(
53 const PermissionSet* set1, const PermissionSet* set2)
    [all...]
permission_message_provider.h 15 class PermissionSet;
31 const PermissionSet* permissions,
37 const PermissionSet* permissions,
44 const PermissionSet* permissions,
51 const PermissionSet* old_permissions,
52 const PermissionSet* new_permissions,
permission_set.cc 34 // PermissionSet
37 PermissionSet::PermissionSet() : should_warn_all_hosts_(UNINITIALIZED) {}
39 PermissionSet::PermissionSet(
54 PermissionSet* PermissionSet::CreateDifference(
55 const PermissionSet* set1,
56 const PermissionSet* set2) {
57 scoped_refptr<PermissionSet> empty = new PermissionSet()
    [all...]
permissions_data.h 26 class PermissionSet;
33 // ActivePermissions. We do *not* need PermissionsParser, PermissionSet,
84 void SetActivePermissions(const PermissionSet* active) const;
90 scoped_refptr<const PermissionSet> permissions) const;
178 scoped_refptr<const PermissionSet> active_permissions() const {
184 scoped_refptr<const PermissionSet> GetTabSpecificPermissionsForTesting(
191 typedef std::map<int, scoped_refptr<const PermissionSet> > TabPermissionsMap;
195 scoped_refptr<const PermissionSet> GetTabSpecificPermissions(
229 mutable scoped_refptr<const PermissionSet> active_permissions_unsafe_;
permission_message_util.h 13 class PermissionSet;
permissions_data.cc 33 scoped_refptr<const PermissionSet> required_permissions =
36 new PermissionSet(required_permissions->apis(),
117 const PermissionSet* permissions) const {
124 scoped_refptr<const PermissionSet> permissions) const {
131 iter->second = PermissionSet::CreateUnion(iter->second, permissions);
155 scoped_refptr<const PermissionSet> tab_permissions =
246 scoped_refptr<const PermissionSet> tab_permissions =
293 scoped_refptr<const PermissionSet> PermissionsData::GetTabSpecificPermissions(
306 scoped_refptr<const PermissionSet> tab_permissions =
  /external/chromium_org/chrome/common/extensions/permissions/
chrome_permission_message_provider.h 24 const PermissionSet* permissions,
27 const PermissionSet* permissions,
30 const PermissionSet* permissions,
33 const PermissionSet* old_permissions,
34 const PermissionSet* new_permissions,
40 const PermissionSet* permissions) const;
44 const PermissionSet* permissions) const;
48 const PermissionSet* permissions,
54 const PermissionSet* old_permissions,
55 const PermissionSet* new_permissions) const
    [all...]
chrome_permission_message_provider.cc 56 const PermissionSet* permissions,
103 const PermissionSet* permissions,
203 const PermissionSet* permissions,
217 const PermissionSet* old_permissions,
218 const PermissionSet* new_permissions,
242 const PermissionSet* permissions) const {
274 const PermissionSet* permissions) const {
290 const PermissionSet* permissions,
318 const PermissionSet* old_permissions,
319 const PermissionSet* new_permissions) const
    [all...]
permission_set_unittest.cc 131 scoped_refptr<const PermissionSet> permissions;
219 scoped_refptr<PermissionSet> perm_set = new PermissionSet(
251 scoped_refptr<PermissionSet> set1;
252 scoped_refptr<PermissionSet> set2;
253 scoped_refptr<PermissionSet> union_set;
279 set1 = new PermissionSet(apis1, manifest_permissions,
281 set2 = new PermissionSet(apis2, manifest_permissions,
283 union_set = PermissionSet::CreateUnion(set1.get(), set2.get());
339 set2 = new PermissionSet(apis2, manifest_permissions
    [all...]
settings_override_permission_unittest.cc 66 scoped_refptr<const PermissionSet> permission_set(
90 scoped_refptr<const PermissionSet> permission_set(
114 scoped_refptr<const PermissionSet> permission_set(
138 scoped_refptr<const PermissionSet> permission_set(
156 scoped_refptr<const PermissionSet> permission_set(
  /external/chromium_org/chrome/browser/extensions/api/permissions/
permissions_api_helpers.h 18 class PermissionSet;
30 const PermissionSet* set);
34 scoped_refptr<PermissionSet> UnpackPermissionSet(
permissions_api.h 77 scoped_refptr<extensions::PermissionSet> requested_permissions_;
permissions_api_helpers.cc 19 using extensions::PermissionSet;
42 scoped_ptr<Permissions> PackPermissionSet(const PermissionSet* set) {
70 scoped_refptr<PermissionSet> UnpackPermissionSet(
152 return scoped_refptr<PermissionSet>(
153 new PermissionSet(apis, manifest_permissions, origins, URLPatternSet()));
permissions_api.cc 56 scoped_refptr<PermissionSet> permissions = helpers::UnpackPermissionSet(
80 scoped_refptr<PermissionSet> permissions = helpers::UnpackPermissionSet(
101 scoped_refptr<const PermissionSet> required =
103 scoped_refptr<PermissionSet> intersection(
104 PermissionSet::CreateIntersection(permissions.get(), required));
187 scoped_refptr<const PermissionSet> granted = ExtensionPrefs::Get(
198 requested_permissions_ = PermissionSet::CreateDifference(
permissions_apitest.cc 77 scoped_refptr<PermissionSet> granted_permissions =
78 new PermissionSet(apis, manifest_permissions,
  /external/chromium_org/extensions/test/
test_permission_message_provider.cc 16 const PermissionSet* permissions,
22 const PermissionSet* permissions,
29 const PermissionSet* permissions,
35 const PermissionSet* old_permissions,
36 const PermissionSet* new_permissions,
test_permission_message_provider.h 20 const PermissionSet* permissions,
23 const PermissionSet* permissions,
26 const PermissionSet* permissions,
29 const PermissionSet* old_permissions,
30 const PermissionSet* new_permissions,
  /external/chromium_org/chrome/browser/extensions/
permissions_updater.h 24 class PermissionSet;
37 const PermissionSet* permissions);
42 const PermissionSet* permissions);
62 const PermissionSet* permisssions);
67 const PermissionSet* changed_permissions);
76 const PermissionSet* changed);
permissions_updater.cc 40 const Extension* extension, const PermissionSet* permissions) {
41 scoped_refptr<const PermissionSet> existing(
43 scoped_refptr<PermissionSet> total(
44 PermissionSet::CreateUnion(existing.get(), permissions));
45 scoped_refptr<PermissionSet> added(
46 PermissionSet::CreateDifference(total.get(), existing.get()));
57 const Extension* extension, const PermissionSet* permissions) {
58 scoped_refptr<const PermissionSet> existing(
60 scoped_refptr<PermissionSet> total(
61 PermissionSet::CreateDifference(existing.get(), permissions))
    [all...]
permissions_updater_unittest.cc 61 const PermissionSet* permissions() const { return permissions_.get(); }
86 scoped_refptr<const PermissionSet> permissions_;
127 scoped_refptr<PermissionSet> default_permissions =
128 new PermissionSet(default_apis, empty_manifest_permissions,
132 scoped_refptr<const PermissionSet> permissions =
144 scoped_refptr<PermissionSet> delta =
145 new PermissionSet(apis, empty_manifest_permissions,
161 scoped_refptr<PermissionSet> active_permissions =
162 PermissionSet::CreateUnion(default_permissions.get(), delta.get());
170 scoped_refptr<PermissionSet> granted_permissions
    [all...]
extension_install_prompt_unittest.cc 36 scoped_refptr<PermissionSet> permission_set =
37 new PermissionSet(api_permissions,
active_tab_permission_granter.cc 73 scoped_refptr<const PermissionSet> new_permissions =
74 new PermissionSet(new_apis, ManifestPermissionSet(),
  /external/chromium_org/extensions/common/manifest_handlers/
permissions_parser.h 48 static scoped_refptr<const PermissionSet> GetRequiredPermissions(
50 static scoped_refptr<const PermissionSet> GetOptionalPermissions(
permissions_parser.cc 35 ManifestPermissions(scoped_refptr<const PermissionSet> permissions);
38 scoped_refptr<const PermissionSet> permissions;
42 scoped_refptr<const PermissionSet> permissions)
289 scoped_refptr<const PermissionSet> required_permissions(
290 new PermissionSet(initial_required_permissions_->api_permissions,
297 scoped_refptr<const PermissionSet> optional_permissions(
298 new PermissionSet(initial_optional_permissions_->api_permissions,
341 scoped_refptr<const PermissionSet> PermissionsParser::GetRequiredPermissions(
349 scoped_refptr<const PermissionSet> PermissionsParser::GetOptionalPermissions(
  /external/chromium_org/apps/shell/common/
shell_extensions_client.cc 36 using extensions::PermissionSet;
58 const PermissionSet* permissions,
64 const PermissionSet* permissions,
70 const PermissionSet* permissions,
76 const PermissionSet* old_permissions,
77 const PermissionSet* new_permissions,

Completed in 1137 milliseconds

1 2