Home
last modified time | relevance | path

Searched refs:permission_set (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/chrome/common/extensions/permissions/
Dsettings_override_permission_unittest.cc66 scoped_refptr<const PermissionSet> permission_set( in TEST_F() local
70 EXPECT_TRUE(permission_set->HasAPIPermission(APIPermission::kHomepage)); in TEST_F()
77 EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); in TEST_F()
78 EXPECT_FALSE(permission_set->HasAPIPermission( in TEST_F()
81 EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kHomepage)); in TEST_F()
82 EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); in TEST_F()
84 permission_set->HasAPIPermission(APIPermission::kSearchProvider)); in TEST_F()
90 scoped_refptr<const PermissionSet> permission_set( in TEST_F() local
94 EXPECT_TRUE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); in TEST_F()
101 EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kHomepage)); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/geolocation/
Dgeolocation_permission_context_extensions.cc39 bool* permission_set, in RequestPermission() argument
49 *permission_set = false; in RequestPermission()
65 *permission_set = true; in RequestPermission()
81 *permission_set = true; in RequestPermission()
Dgeolocation_permission_context.cc163 bool permission_set; in RequestGeolocationPermission() local
167 result_callback, &permission_set, &new_permission)) { in RequestGeolocationPermission()
168 if (permission_set) { in RequestGeolocationPermission()
Dgeolocation_permission_context_extensions.h34 bool* permission_set,
/external/chromium_org/chrome/browser/content_settings/
Dpermission_context_base_unittest.cc55 bool permission_set() { in permission_set() function in TestPermissionContext
101 EXPECT_TRUE(permission_context.permission_set()); in TEST_F()
132 EXPECT_TRUE(permission_context.permission_set()); in TEST_F()
/external/chromium_org/extensions/common/
Dmanifest_handler.cc101 const Extension* extension, ManifestPermissionSet* permission_set) { in AddExtensionInitialRequiredPermissions() argument
103 permission_set); in AddExtensionInitialRequiredPermissions()
181 const Extension* extension, ManifestPermissionSet* permission_set) { in AddExtensionInitialRequiredPermissions() argument
187 permission_set->insert(permission); in AddExtensionInitialRequiredPermissions()
Dmanifest_handler.h109 const Extension* extension, ManifestPermissionSet* permission_set);
144 ManifestPermissionSet* permission_set);
DBUILD.gn156 "permissions/permission_set.cc",
157 "permissions/permission_set.h",
/external/chromium_org/chrome/browser/extensions/
Dextension_install_prompt_unittest.cc44 scoped_refptr<PermissionSet> permission_set = in TEST() local
64 permission_set.get()); in TEST()
/external/chromium_org/chrome/browser/extensions/api/permissions/
Dpermissions_api_helpers_unittest.cc39 scoped_refptr<PermissionSet> permission_set = in TEST() local
43 scoped_ptr<Permissions> permissions(PackPermissionSet(permission_set.get())); in TEST()
75 EXPECT_EQ(*permission_set.get(), *from_value.get()); in TEST()
/external/chromium_org/extensions/
Dextensions.gyp186 'common/permissions/permission_set.cc',
187 'common/permissions/permission_set.h',