/external/chromium_org/extensions/common/permissions/ |
D | permission_set.cc | 35 PermissionSet::PermissionSet() : should_warn_all_hosts_(UNINITIALIZED) {} in PermissionSet() function in extensions::PermissionSet 37 PermissionSet::PermissionSet( in PermissionSet() function in extensions::PermissionSet 52 PermissionSet* PermissionSet::CreateDifference( in CreateDifference() 53 const PermissionSet* set1, in CreateDifference() 54 const PermissionSet* set2) { in CreateDifference() 55 scoped_refptr<PermissionSet> empty = new PermissionSet(); in CreateDifference() 56 const PermissionSet* set1_safe = (set1 == NULL) ? empty.get() : set1; in CreateDifference() 57 const PermissionSet* set2_safe = (set2 == NULL) ? empty.get() : set2; in CreateDifference() 77 return new PermissionSet(apis, manifest_permissions, in CreateDifference() 82 PermissionSet* PermissionSet::CreateIntersection( in CreateIntersection() [all …]
|
D | permission_set.h | 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); 57 static PermissionSet* CreateUnion( 58 const PermissionSet* set1, const PermissionSet* set2); [all …]
|
D | permissions_data.h | 26 class PermissionSet; variable 93 void SetPermissions(const scoped_refptr<const PermissionSet>& active, 94 const scoped_refptr<const PermissionSet>& withheld) const; 100 scoped_refptr<const PermissionSet> permissions) const; 203 const scoped_refptr<const PermissionSet>& active_permissions() const { in active_permissions() 209 const scoped_refptr<const PermissionSet>& withheld_permissions() const { in withheld_permissions() 215 scoped_refptr<const PermissionSet> GetTabSpecificPermissionsForTesting( in GetTabSpecificPermissionsForTesting() 222 typedef std::map<int, scoped_refptr<const PermissionSet> > TabPermissionsMap; 226 scoped_refptr<const PermissionSet> GetTabSpecificPermissions( 261 mutable scoped_refptr<const PermissionSet> active_permissions_unsafe_; [all …]
|
D | permission_message_provider.h | 15 class PermissionSet; variable 31 const PermissionSet* permissions, 37 const PermissionSet* permissions, 44 const PermissionSet* permissions, 51 const PermissionSet* old_permissions, 52 const PermissionSet* new_permissions,
|
D | permissions_data.cc | 33 scoped_refptr<const PermissionSet> required_permissions = in PermissionsData() 36 new PermissionSet(required_permissions->apis(), in PermissionsData() 40 withheld_permissions_unsafe_ = new PermissionSet(); in PermissionsData() 117 const scoped_refptr<const PermissionSet>& active, in SetPermissions() 118 const scoped_refptr<const PermissionSet>& withheld) const { in SetPermissions() 126 scoped_refptr<const PermissionSet> permissions) const { in UpdateTabSpecificPermissions() 134 PermissionSet::CreateUnion(iter->second.get(), permissions.get()); in UpdateTabSpecificPermissions() 158 scoped_refptr<const PermissionSet> tab_permissions = in HasAPIPermissionForTab() 296 scoped_refptr<const PermissionSet> tab_permissions = in CanCaptureVisiblePage() 312 scoped_refptr<const PermissionSet> PermissionsData::GetTabSpecificPermissions( in GetTabSpecificPermissions() [all …]
|
/external/chromium_org/chrome/common/extensions/permissions/ |
D | 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 …]
|
D | permission_set_unittest.cc | 132 scoped_refptr<const PermissionSet> permissions; in TEST() 220 scoped_refptr<PermissionSet> perm_set = new PermissionSet( in TEST() 252 scoped_refptr<PermissionSet> set1; in TEST() 253 scoped_refptr<PermissionSet> set2; in TEST() 254 scoped_refptr<PermissionSet> union_set; in TEST() 279 set1 = new PermissionSet(apis1, manifest_permissions, in TEST() 281 set2 = new PermissionSet(apis2, manifest_permissions, in TEST() 283 union_set = PermissionSet::CreateUnion(set1.get(), set2.get()); in TEST() 337 set2 = new PermissionSet(apis2, manifest_permissions, in TEST() 339 union_set = PermissionSet::CreateUnion(set1.get(), set2.get()); in TEST() [all …]
|
D | chrome_permission_message_provider.cc | 82 const PermissionSet* permissions, in GetPermissionMessages() 150 const PermissionSet* permissions, in GetWarningMessages() 282 const PermissionSet* permissions, in GetWarningMessagesDetails() 296 const PermissionSet* old_permissions, in IsPrivilegeIncrease() 297 const PermissionSet* new_permissions, in IsPrivilegeIncrease() 321 const PermissionSet* permissions) const { in GetAPIPermissionMessages() 347 const PermissionSet* permissions) const { in GetManifestPermissionMessages() 363 const PermissionSet* permissions, in GetHostPermissionMessages() 391 const PermissionSet* old_permissions, in IsAPIPrivilegeIncrease() 392 const PermissionSet* new_permissions) const { in IsAPIPrivilegeIncrease() [all …]
|
D | settings_override_permission_unittest.cc | 66 scoped_refptr<const PermissionSet> permission_set( in TEST_F() 90 scoped_refptr<const PermissionSet> permission_set( in TEST_F() 114 scoped_refptr<const PermissionSet> permission_set( in TEST_F() 138 scoped_refptr<const PermissionSet> permission_set( in TEST_F() 156 scoped_refptr<const PermissionSet> permission_set( in TEST_F()
|
/external/chromium_org/chrome/browser/extensions/ |
D | permissions_updater.cc | 61 scoped_refptr<const PermissionSet> GetBoundedActivePermissions( in GetBoundedActivePermissions() 63 const scoped_refptr<const PermissionSet>& active_permissions) { in GetBoundedActivePermissions() 70 scoped_refptr<const PermissionSet> required_permissions = in GetBoundedActivePermissions() 77 scoped_refptr<PermissionSet> total_permissions = PermissionSet::CreateUnion( in GetBoundedActivePermissions() 82 scoped_refptr<PermissionSet> adjusted_active = in GetBoundedActivePermissions() 83 PermissionSet::CreateIntersection(total_permissions.get(), in GetBoundedActivePermissions() 87 adjusted_active = PermissionSet::CreateUnion(required_permissions.get(), in GetBoundedActivePermissions() 124 const Extension* extension, const PermissionSet* permissions) { in AddPermissions() 125 scoped_refptr<const PermissionSet> existing( in AddPermissions() 127 scoped_refptr<PermissionSet> total( in AddPermissions() [all …]
|
D | permissions_updater.h | 24 class PermissionSet; variable 44 const PermissionSet* permissions); 49 const PermissionSet* permissions); 77 const scoped_refptr<const PermissionSet>& active, 78 scoped_refptr<const PermissionSet> withheld); 83 const PermissionSet* changed_permissions); 92 const PermissionSet* changed);
|
D | permissions_updater_unittest.cc | 126 const PermissionSet* permissions() const { return permissions_.get(); } in permissions() 151 scoped_refptr<const PermissionSet> permissions_; 192 scoped_refptr<PermissionSet> default_permissions = in TEST_F() 193 new PermissionSet(default_apis, empty_manifest_permissions, in TEST_F() 197 scoped_refptr<const PermissionSet> permissions = in TEST_F() 209 scoped_refptr<PermissionSet> delta = in TEST_F() 210 new PermissionSet(apis, empty_manifest_permissions, in TEST_F() 226 scoped_refptr<PermissionSet> active_permissions = in TEST_F() 227 PermissionSet::CreateUnion(default_permissions.get(), delta.get()); in TEST_F() 235 scoped_refptr<PermissionSet> granted_permissions = in TEST_F() [all …]
|
D | extension_prefs_unittest.cc | 206 scoped_refptr<PermissionSet> permissions; in Initialize() 207 scoped_refptr<PermissionSet> granted_permissions; in Initialize() 214 permissions = new PermissionSet( in Initialize() 228 permissions = new PermissionSet( in Initialize() 241 permissions = new PermissionSet( in Initialize() 258 permissions = new PermissionSet( in Initialize() 280 scoped_refptr<PermissionSet> permissions( in Verify() 329 active_perms_ = new PermissionSet( in Initialize() 333 scoped_refptr<PermissionSet> active( in Initialize() 347 scoped_refptr<PermissionSet> permissions( in Verify() [all …]
|
D | extension_install_prompt_unittest.cc | 44 scoped_refptr<PermissionSet> permission_set = in TEST() 45 new PermissionSet(api_permissions, in TEST()
|
D | extension_install_prompt.h | 45 class PermissionSet; variable 329 const extensions::PermissionSet* permissions); 383 const extensions::PermissionSet* permissions); 444 scoped_refptr<const extensions::PermissionSet> custom_permissions_;
|
/external/chromium_org/extensions/test/ |
D | test_permission_message_provider.cc | 16 const PermissionSet* permissions, in GetPermissionMessages() 22 const PermissionSet* permissions, in GetWarningMessages() 29 const PermissionSet* permissions, in GetWarningMessagesDetails() 35 const PermissionSet* old_permissions, in IsPrivilegeIncrease() 36 const PermissionSet* new_permissions, in IsPrivilegeIncrease()
|
D | 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/api/permissions/ |
D | permissions_api.cc | 56 scoped_refptr<PermissionSet> permissions = helpers::UnpackPermissionSet( in RunSync() 80 scoped_refptr<PermissionSet> permissions = helpers::UnpackPermissionSet( in RunSync() 99 scoped_refptr<const PermissionSet> required = in RunSync() 101 scoped_refptr<PermissionSet> intersection( in RunSync() 102 PermissionSet::CreateIntersection(permissions.get(), required.get())); in RunSync() 185 scoped_refptr<const PermissionSet> granted = in RunAsync() 197 requested_permissions_ = PermissionSet::CreateDifference( in RunAsync()
|
D | permissions_api_helpers.h | 18 class PermissionSet; variable 30 const PermissionSet* set); 34 scoped_refptr<PermissionSet> UnpackPermissionSet(
|
D | permissions_api_helpers.cc | 19 using extensions::PermissionSet; 42 scoped_ptr<Permissions> PackPermissionSet(const PermissionSet* set) { in PackPermissionSet() 70 scoped_refptr<PermissionSet> UnpackPermissionSet( in UnpackPermissionSet() 152 return scoped_refptr<PermissionSet>( in UnpackPermissionSet() 153 new PermissionSet(apis, manifest_permissions, origins, URLPatternSet())); in UnpackPermissionSet()
|
D | permissions_api_helpers_unittest.cc | 39 scoped_refptr<PermissionSet> permission_set = in TEST() 40 new PermissionSet(apis, ManifestPermissionSet(), hosts, URLPatternSet()); in TEST() 68 scoped_refptr<PermissionSet> from_value; in TEST() 87 scoped_refptr<PermissionSet> permissions; in TEST()
|
/external/chromium_org/extensions/common/manifest_handlers/ |
D | permissions_parser.cc | 35 ManifestPermissions(scoped_refptr<const PermissionSet> permissions); 38 scoped_refptr<const PermissionSet> permissions; 42 scoped_refptr<const PermissionSet> permissions) in ManifestPermissions() 289 scoped_refptr<const PermissionSet> required_permissions( in Finalize() 290 new PermissionSet(initial_required_permissions_->api_permissions, in Finalize() 297 scoped_refptr<const PermissionSet> optional_permissions( in Finalize() 298 new PermissionSet(initial_optional_permissions_->api_permissions, in Finalize() 341 scoped_refptr<const PermissionSet> PermissionsParser::GetRequiredPermissions( in GetRequiredPermissions() 349 scoped_refptr<const PermissionSet> PermissionsParser::GetOptionalPermissions( in GetOptionalPermissions()
|
D | permissions_parser.h | 48 static scoped_refptr<const PermissionSet> GetRequiredPermissions( 50 static scoped_refptr<const PermissionSet> GetOptionalPermissions(
|
/external/chromium_org/extensions/shell/common/ |
D | shell_extensions_client.cc | 43 const PermissionSet* permissions, in GetPermissionMessages() 49 const PermissionSet* permissions, in GetWarningMessages() 55 const PermissionSet* permissions, in GetWarningMessagesDetails() 61 const PermissionSet* old_permissions, in IsPrivilegeIncrease() 62 const PermissionSet* new_permissions, in IsPrivilegeIncrease()
|
/external/chromium_org/extensions/browser/ |
D | extension_prefs.h | 377 PermissionSet* GetGrantedPermissions(const std::string& extension_id); 383 const PermissionSet* permissions); 387 const PermissionSet* permissions); 392 PermissionSet* GetActivePermissions(const std::string& extension_id); 396 const PermissionSet* permissions); 614 PermissionSet* ReadPrefAsPermissionSet(const std::string& extension_id, 621 const PermissionSet* new_value);
|