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.cc238 scoped_refptr<PermissionSet> granted_permissions; in Initialize() local
241 granted_permissions = in Initialize()
243 EXPECT_TRUE(granted_permissions->IsEmpty()); in Initialize()
250 granted_permissions = prefs()->GetGrantedPermissions(extension_id_); in Initialize()
251 EXPECT_TRUE(granted_permissions.get()); in Initialize()
252 EXPECT_FALSE(granted_permissions->IsEmpty()); in Initialize()
253 EXPECT_EQ(expected_apis, granted_permissions->apis()); in Initialize()
254 EXPECT_TRUE(granted_permissions->effective_hosts().is_empty()); in Initialize()
255 EXPECT_FALSE(granted_permissions->HasEffectiveFullAccess()); in Initialize()
256 granted_permissions = NULL; in Initialize()
[all …]
Dpermissions_updater_unittest.cc169 scoped_refptr<PermissionSet> granted_permissions = in TEST_F() local
207 ASSERT_EQ(*granted_permissions.get(), *from_prefs.get()); in TEST_F()
Dextension_prefs.cc958 scoped_refptr<PermissionSet> granted_permissions( in AddGrantedPermissions() local
965 permissions, granted_permissions.get())); in AddGrantedPermissions()
976 scoped_refptr<PermissionSet> granted_permissions( in RemoveGrantedPermissions() local
983 granted_permissions.get(), permissions)); in RemoveGrantedPermissions()
Dextension_service.cc1972 scoped_refptr<PermissionSet> granted_permissions = in CheckPermissionsIncrease() local
1974 CHECK(granted_permissions.get()); in CheckPermissionsIncrease()
1982 granted_permissions, in CheckPermissionsIncrease()
/external/chromium_org/chrome/browser/extensions/api/permissions/
Dpermissions_apitest.cc78 scoped_refptr<PermissionSet> granted_permissions = in IN_PROC_BROWSER_TEST_F() local
85 granted_permissions.get()); in IN_PROC_BROWSER_TEST_F()