Searched refs:permission (Results 1 - 25 of 285) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/modules/notifications/
H A DNotificationPermissionCallback.idl27 void handleEvent(DOMString permission);
H A DNotificationPermissionCallback.h38 virtual void handleEvent(const String& permission) = 0;
/external/chromium_org/chrome/browser/content_settings/
H A Dpermission_context_uma_util.h11 // Provides a convenient way of logging UMA for permission related
15 static void PermissionGranted(ContentSettingsType permission);
16 static void PermissionDenied(ContentSettingsType permission);
17 static void PermissionDismissed(ContentSettingsType permission);
18 static void PermissionIgnored(ContentSettingsType permission);
19 static void PermissionRequested(ContentSettingsType permission);
H A Dpermission_context_uma_util.cc11 // permission actions. Never delete or reorder an entry; only add new entries
24 // permission actions. Never delete or reorder an entry; only add new entries
37 ContentSettingsType permission, PermissionAction action) {
38 switch (permission) {
41 // the generic permission class.
63 // the generic permission class.
67 NOTREACHED() << "PERMISSION " << permission << " not accounted for";
72 ContentSettingsType permission) {
74 switch (permission) {
85 NOTREACHED() << "PERMISSION " << permission << " no
36 RecordPermissionAction( ContentSettingsType permission, PermissionAction action) argument
71 RecordPermissionRequest( ContentSettingsType permission) argument
96 PermissionRequested( ContentSettingsType permission) argument
101 PermissionGranted( ContentSettingsType permission) argument
106 PermissionDenied( ContentSettingsType permission) argument
111 PermissionDismissed( ContentSettingsType permission) argument
116 PermissionIgnored( ContentSettingsType permission) argument
[all...]
/external/chromium_org/extensions/common/permissions/
H A Dmedia_galleries_permission_data.cc23 return permission_ == specific_param.permission;
38 std::string permission;
39 base::TrimWhitespaceASCII(raw_permission, base::TRIM_ALL, &permission);
41 if (permission == MediaGalleriesPermission::kAllAutoDetectedPermission ||
42 permission == MediaGalleriesPermission::kScanPermission ||
43 permission == MediaGalleriesPermission::kReadPermission ||
44 permission == MediaGalleriesPermission::kCopyToPermission ||
45 permission == MediaGalleriesPermission::kDeletePermission) {
46 permission_ = permission;
H A Dmedia_galleries_permission.h16 // <media-galleries-permission-pattern>
30 explicit CheckParam(const std::string& permission) argument
31 : permission(permission) {}
32 const std::string permission; member in struct:extensions::MediaGalleriesPermission::CheckParam
H A Dmedia_galleries_permission.cc18 // copyTo permission requires delete permission as a prerequisite.
19 // delete permission requires read permission as a prerequisite.
26 *error = "copyTo permission requires read and delete permissions";
33 *error = "delete permission requires read permission";
86 if (it->permission() == kAllAutoDetectedPermission ||
87 it->permission() == kScanPermission) {
90 if (it->permission()
[all...]
H A Dapi_permission_set_unittest.cc36 APIPermission* permission = NULL; local
45 permission = permission_info->CreateAPIPermission();
51 ASSERT_TRUE(permission->FromValue(value.get(), NULL, NULL));
57 apis1.insert(permission->Clone());
60 expected_apis.insert(permission);
80 permission = permission_info->CreateAPIPermission();
85 ASSERT_TRUE(permission->FromValue(value.get(), NULL, NULL));
87 apis2.insert(permission);
94 permission = permission_info->CreateAPIPermission();
101 ASSERT_TRUE(permission
119 APIPermission* permission = NULL; local
193 APIPermission* permission = NULL; local
259 APIPermission* permission = NULL; local
[all...]
H A Dsocket_permission_data.h22 // A pattern that can be used to match socket permission.
23 // <socket-permission-pattern>
42 // The multicast membership permission implies a permission to any address.
66 bool ParseForTest(const std::string& permission) { return Parse(permission); } argument
79 bool Parse(const std::string& permission);
H A Dmedia_galleries_permission_data.h39 std::string permission() const { return permission_; } function in class:extensions::MediaGalleriesPermissionData
43 std::string& permission() { return permission_; } function in class:extensions::MediaGalleriesPermissionData
H A Dpermissions_info.cc87 void PermissionsInfo::RegisterPermission(APIPermissionInfo* permission) { argument
88 DCHECK(!ContainsKey(id_map_, permission->id()));
89 DCHECK(!ContainsKey(name_map_, permission->name()));
91 id_map_[permission->id()] = permission;
92 name_map_[permission->name()] = permission;
/external/chromium_org/chrome/browser/ui/website_settings/
H A Dpermission_menu_model_unittest.cc20 void PermissionChanged(const WebsiteSettingsUI::PermissionInfo& permission) { argument
21 current_ = permission.setting;
31 WebsiteSettingsUI::PermissionInfo permission; local
32 permission.type = CONTENT_SETTINGS_TYPE_COOKIES;
33 permission.setting = CONTENT_SETTING_ALLOW;
34 permission.default_setting = CONTENT_SETTING_ALLOW;
36 GURL("http://www.google.com"), permission, callback.callback());
42 WebsiteSettingsUI::PermissionInfo permission; local
43 permission.type = CONTENT_SETTINGS_TYPE_MEDIASTREAM;
44 permission
[all...]
/external/chromium_org/ppapi/shared_impl/
H A Dppp_flash_browser_operations_shared.h17 : permission(PP_FLASH_BROWSEROPERATIONS_PERMISSION_DEFAULT) {}
20 : site(in_site), permission(in_permission) {}
23 PP_Flash_BrowserOperations_Permission permission; member in struct:ppapi::FlashSiteSetting
/external/chromium_org/extensions/common/api/sockets/
H A Dsockets_manifest_data.cc13 scoped_ptr<SocketsManifestPermission> permission)
14 : permission_(permission.Pass()) {
32 return data->permission()->CheckRequest(extension, request);
41 scoped_ptr<SocketsManifestPermission> permission = local
43 if (!permission)
47 new SocketsManifestData(permission.Pass())).Pass();
12 SocketsManifestData( scoped_ptr<SocketsManifestPermission> permission) argument
H A Dsockets_manifest_data.h28 scoped_ptr<SocketsManifestPermission> permission);
43 const SocketsManifestPermission* permission() const { function in class:extensions::SocketsManifestData
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dpermissions_data_source.py30 for name, permission in permissions.iteritems():
32 if 'partial' in permission:
38 if dependency.startswith('permission:'):
42 permission['partial'] = 'permissions/generic_description.html'
65 for permission in permission_features.values():
66 if not 'anchor' in permission:
67 permission['anchor'] = permission['name']
68 if 'partial' in permission:
69 permission['descriptio
[all...]
/external/chromium_org/extensions/common/api/bluetooth/
H A Dbluetooth_manifest_data.cc13 scoped_ptr<BluetoothManifestPermission> permission)
14 : permission_(permission.Pass()) {
31 return data && data->permission()->CheckRequest(extension, request);
38 return data && data->permission()->CheckSocketPermitted(extension);
45 return data && data->permission()->CheckLowEnergyPermitted(extension);
52 scoped_ptr<BluetoothManifestPermission> permission = local
54 if (!permission)
58 new BluetoothManifestData(permission.Pass())).Pass();
12 BluetoothManifestData( scoped_ptr<BluetoothManifestPermission> permission) argument
/external/chromium_org/extensions/browser/
H A Dsuggest_permission_util.cc26 void SuggestAPIPermissionInDevToolsConsole(APIPermission::ID permission, argument
33 PermissionsInfo::GetInstance()->GetByID(permission);
39 "Is the '%s' permission appropriate? See %s.",
51 APIPermission::ID permission,
54 if (extension && extension->permissions_data()->HasAPIPermission(permission))
58 SuggestAPIPermissionInDevToolsConsole(permission, extension, host);
50 IsExtensionWithPermissionOrSuggestInConsole( APIPermission::ID permission, const Extension* extension, content::RenderViewHost* host) argument
H A Dsuggest_permission_util.h18 // Checks that |extension| is not NULL and that it has |permission|. If
19 // |extension| is NULL, just returns false. If an extension without |permission|
22 APIPermission::ID permission,
/external/chromium_org/chrome/browser/ui/views/website_settings/
H A Dpermission_selector_view_observer.h14 // This method is called whenever the permission setting is changed.
16 const WebsiteSettingsUI::PermissionInfo& permission) = 0;
H A Dpermission_selector_view.h30 // A custom view for selecting a permission setting for the given permission
35 const WebsiteSettingsUI::PermissionInfo& permission);
39 void PermissionChanged(const WebsiteSettingsUI::PermissionInfo& permission);
48 // Model for the permission's menu.
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DMyPermissionCollection.java35 public void add(Permission permission) { argument
51 public boolean implies(Permission permission) { argument
/external/chromium_org/extensions/common/manifest_handlers/
H A Dpermissions_parser.h38 APIPermission::ID permission);
39 static void AddAPIPermission(Extension* extension, APIPermission* permission);
41 APIPermission::ID permission);
/external/chromium_org/content/shell/browser/
H A Dshell_notification_manager.cc31 blink::WebNotificationPermission permission) {
32 permission_map_[origin] = permission;
29 SetPermission( const GURL& origin, blink::WebNotificationPermission permission) argument
/external/chromium_org/chrome/browser/resources/cryptotoken/
H A Dgnubbydevice.js136 var permission = permissions[i];
137 if (typeof permission === 'object' &&
138 permission.hasOwnProperty('usbDevices')) {
139 for (var j = 0; j < permission['usbDevices'].length; j++) {
140 var dev = permission['usbDevices'][j];

Completed in 2567 milliseconds

1234567891011>>