Searched refs:granted_permissions (Results 1 – 5 of 5) sorted by relevance
238 scoped_refptr<PermissionSet> granted_permissions; in Initialize() local241 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 …]
169 scoped_refptr<PermissionSet> granted_permissions = in TEST_F() local207 ASSERT_EQ(*granted_permissions.get(), *from_prefs.get()); in TEST_F()
958 scoped_refptr<PermissionSet> granted_permissions( in AddGrantedPermissions() local965 permissions, granted_permissions.get())); in AddGrantedPermissions()976 scoped_refptr<PermissionSet> granted_permissions( in RemoveGrantedPermissions() local983 granted_permissions.get(), permissions)); in RemoveGrantedPermissions()
1972 scoped_refptr<PermissionSet> granted_permissions = in CheckPermissionsIncrease() local1974 CHECK(granted_permissions.get()); in CheckPermissionsIncrease()1982 granted_permissions, in CheckPermissionsIncrease()
78 scoped_refptr<PermissionSet> granted_permissions = in IN_PROC_BROWSER_TEST_F() local85 granted_permissions.get()); in IN_PROC_BROWSER_TEST_F()