Searched refs:granted_permissions (Results 1 – 5 of 5) sorted by relevance
207 scoped_refptr<PermissionSet> granted_permissions; in Initialize() local210 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 …]
235 scoped_refptr<PermissionSet> granted_permissions = in TEST_F() local273 ASSERT_EQ(*granted_permissions.get(), *from_prefs.get()); in TEST_F()
1494 scoped_refptr<PermissionSet> granted_permissions = in CheckPermissionsIncrease() local1496 CHECK(granted_permissions.get()); in CheckPermissionsIncrease()1504 granted_permissions.get(), in CheckPermissionsIncrease()
77 scoped_refptr<PermissionSet> granted_permissions = in IN_PROC_BROWSER_TEST_F() local83 granted_permissions.get()); in IN_PROC_BROWSER_TEST_F()
1087 scoped_refptr<PermissionSet> granted_permissions( in AddGrantedPermissions() local1094 permissions, granted_permissions.get())); in AddGrantedPermissions()1105 scoped_refptr<PermissionSet> granted_permissions( in RemoveGrantedPermissions() local1112 granted_permissions.get(), permissions)); in RemoveGrantedPermissions()