HomeSort by relevance Sort by last modified time
    Searched refs:PermissionSet (Results 1 - 25 of 42) 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() {}
39 PermissionSet::PermissionSet(
53 PermissionSet* PermissionSet::CreateDifference(
54 const PermissionSet* set1,
55 const PermissionSet* set2) {
56 scoped_refptr<PermissionSet> empty = new PermissionSet()
    [all...]
permissions_data.h 22 class PermissionSet;
57 static const PermissionSet* GetOptionalPermissions(
59 static const PermissionSet* GetRequiredPermissions(
73 static scoped_refptr<const PermissionSet> GetActivePermissions(
77 const PermissionSet* active);
81 static scoped_refptr<const PermissionSet> GetTabSpecificPermissions(
89 scoped_refptr<const PermissionSet> permissions);
192 typedef std::map<int, scoped_refptr<const PermissionSet> > TabPermissionsMap;
200 scoped_refptr<const PermissionSet> optional_permission_set_;
203 scoped_refptr<const PermissionSet> required_permission_set_
    [all...]
permissions_data.cc 265 const PermissionSet* PermissionsData::GetOptionalPermissions(
271 const PermissionSet* PermissionsData::GetRequiredPermissions(
299 const PermissionSet* permissions) {
305 scoped_refptr<const PermissionSet> PermissionsData::GetActivePermissions(
311 scoped_refptr<const PermissionSet> PermissionsData::GetTabSpecificPermissions(
327 scoped_refptr<const PermissionSet> permissions) {
332 (*tab_permissions)[tab_id] = PermissionSet::CreateUnion(
373 scoped_refptr<const PermissionSet> tab_permissions =
498 scoped_refptr<const PermissionSet> tab_permissions =
544 scoped_refptr<const PermissionSet> tab_permissions
    [all...]
  /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...]
permission_message_util.h 13 class PermissionSet;
chrome_permission_message_provider.cc 26 const PermissionSet* permissions,
52 const PermissionSet* permissions,
123 const PermissionSet* permissions,
138 const PermissionSet* old_permissions,
139 const PermissionSet* new_permissions,
163 const PermissionSet* permissions) const {
206 const PermissionSet* permissions) const {
222 const PermissionSet* permissions,
250 const PermissionSet* old_permissions,
251 const PermissionSet* new_permissions) const
    [all...]
permission_set_unittest.cc 127 scoped_refptr<const PermissionSet> permissions;
213 scoped_refptr<PermissionSet> perm_set = new PermissionSet(
245 scoped_refptr<PermissionSet> set1;
246 scoped_refptr<PermissionSet> set2;
247 scoped_refptr<PermissionSet> union_set;
275 set1 = new PermissionSet(apis1, manifest_permissions,
277 set2 = new PermissionSet(apis2, manifest_permissions,
279 union_set = PermissionSet::CreateUnion(set1.get(), set2.get());
339 set2 = new PermissionSet(apis2, manifest_permissions
    [all...]
settings_override_permission_unittest.cc 65 scoped_refptr<const PermissionSet> permission_set(
82 scoped_refptr<const PermissionSet> permission_set(
99 scoped_refptr<const PermissionSet> permission_set(
116 scoped_refptr<const PermissionSet> permission_set(
127 scoped_refptr<const PermissionSet> permission_set(
  /external/chromium_org/chrome/browser/extensions/
permissions_updater.h 22 class PermissionSet;
35 const PermissionSet* permissions);
40 const PermissionSet* permissions);
48 const PermissionSet* permissions);
59 const PermissionSet* changed_permissions);
68 const PermissionSet* changed);
permissions_updater.cc 38 const Extension* extension, const PermissionSet* permissions) {
39 scoped_refptr<const PermissionSet> existing(
41 scoped_refptr<PermissionSet> total(
42 PermissionSet::CreateUnion(existing.get(), permissions));
43 scoped_refptr<PermissionSet> added(
44 PermissionSet::CreateDifference(total.get(), existing.get()));
55 const Extension* extension, const PermissionSet* permissions) {
56 scoped_refptr<const PermissionSet> existing(
58 scoped_refptr<PermissionSet> total(
59 PermissionSet::CreateDifference(existing.get(), permissions))
    [all...]
permissions_updater_unittest.cc 59 const PermissionSet* permissions() const { return permissions_.get(); }
84 scoped_refptr<const PermissionSet> permissions_;
126 scoped_refptr<PermissionSet> default_permissions =
127 new PermissionSet(default_apis, empty_manifest_permissions,
131 scoped_refptr<const PermissionSet> permissions =
143 scoped_refptr<PermissionSet> delta =
144 new PermissionSet(apis, empty_manifest_permissions,
160 scoped_refptr<PermissionSet> active_permissions =
161 PermissionSet::CreateUnion(default_permissions.get(), delta.get());
169 scoped_refptr<PermissionSet> granted_permissions
    [all...]
active_tab_permission_granter.cc 61 scoped_refptr<const PermissionSet> new_permissions =
62 new PermissionSet(new_apis, ManifestPermissionSet(),
extension_install_prompt.h 45 class PermissionSet;
271 const extensions::PermissionSet* permissions);
324 const extensions::PermissionSet* permissions);
402 scoped_refptr<const extensions::PermissionSet> permissions_;
extension_prefs.h 335 PermissionSet* GetGrantedPermissions(const std::string& extension_id);
341 const PermissionSet* permissions);
345 const PermissionSet* permissions);
350 PermissionSet* GetActivePermissions(const std::string& extension_id);
354 const PermissionSet* permissions);
547 // PermissionSet, and passes ownership of the set to the caller.
548 PermissionSet* ReadPrefAsPermissionSet(const std::string& extension_id,
555 const PermissionSet* new_value);
  /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 79 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(
151 return scoped_refptr<PermissionSet>(
152 new PermissionSet(apis, manifest_permissions, origins, URLPatternSet()));
permissions_api.cc 57 scoped_refptr<PermissionSet> permissions = helpers::UnpackPermissionSet(
80 scoped_refptr<PermissionSet> permissions = helpers::UnpackPermissionSet(
101 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 78 scoped_refptr<PermissionSet> granted_permissions =
79 new PermissionSet(apis, manifest_permissions,
permissions_api_helpers_unittest.cc 39 scoped_refptr<PermissionSet> permission_set =
40 new PermissionSet(apis, ManifestPermissionSet(), hosts, URLPatternSet());
67 scoped_refptr<PermissionSet> from_value;
86 scoped_refptr<PermissionSet> permissions;
  /external/chromium_org/apps/shell/
shell_extensions_client.cc 18 using extensions::PermissionSet;
54 const PermissionSet* permissions,
60 const PermissionSet* permissions,
66 const PermissionSet* permissions,
72 const PermissionSet* old_permissions,
73 const PermissionSet* new_permissions,
  /external/chromium_org/chrome/browser/background/
background_application_list_model.h 137 const extensions::PermissionSet* permissions);
  /external/chromium_org/extensions/common/
extension.h 49 class PermissionSet;
235 scoped_refptr<const PermissionSet> GetActivePermissions() const;
530 const PermissionSet* permissions;
534 const PermissionSet* permissions,

Completed in 3388 milliseconds

1 2