Home
last modified time | relevance | path

Searched refs:granted_permissions (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/chrome/browser/extensions/
Dextension_prefs_unittest.cc207 scoped_refptr<PermissionSet> granted_permissions; in Initialize() local
210 granted_permissions = in Initialize()
212 EXPECT_TRUE(granted_permissions->IsEmpty()); in Initialize()
219 granted_permissions = prefs()->GetGrantedPermissions(extension_id_); in Initialize()
220 EXPECT_TRUE(granted_permissions.get()); in Initialize()
221 EXPECT_FALSE(granted_permissions->IsEmpty()); in Initialize()
222 EXPECT_EQ(expected_apis, granted_permissions->apis()); in Initialize()
223 EXPECT_TRUE(granted_permissions->effective_hosts().is_empty()); in Initialize()
224 EXPECT_FALSE(granted_permissions->HasEffectiveFullAccess()); in Initialize()
225 granted_permissions = NULL; in Initialize()
[all …]
Dpermissions_updater_unittest.cc235 scoped_refptr<PermissionSet> granted_permissions = in TEST_F() local
273 ASSERT_EQ(*granted_permissions.get(), *from_prefs.get()); in TEST_F()
Dextension_service.cc1494 scoped_refptr<PermissionSet> granted_permissions = in CheckPermissionsIncrease() local
1496 CHECK(granted_permissions.get()); in CheckPermissionsIncrease()
1504 granted_permissions.get(), in CheckPermissionsIncrease()
/external/chromium_org/chrome/browser/extensions/api/permissions/
Dpermissions_apitest.cc77 scoped_refptr<PermissionSet> granted_permissions = in IN_PROC_BROWSER_TEST_F() local
83 granted_permissions.get()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/extensions/browser/
Dextension_prefs.cc1087 scoped_refptr<PermissionSet> granted_permissions( in AddGrantedPermissions() local
1094 permissions, granted_permissions.get())); in AddGrantedPermissions()
1105 scoped_refptr<PermissionSet> granted_permissions( in RemoveGrantedPermissions() local
1112 granted_permissions.get(), permissions)); in RemoveGrantedPermissions()