APIPermission 53 apps/app_window.cc using extensions::APIPermission; APIPermission 420 apps/app_window.cc !extension_->HasAPIPermission(APIPermission::kOverrideEscFullscreen)) { APIPermission 448 apps/app_window.cc APIPermission::kPointerLock, APIPermission 893 apps/app_window.cc APIPermission::kFullscreen, APIPermission 24 apps/saved_files_service.cc using extensions::APIPermission; APIPermission 265 apps/saved_files_service.cc APIPermission::kFileSystemRetainEntries)) { APIPermission 40 chrome/browser/background/background_application_list_model.cc using extensions::APIPermission; APIPermission 280 chrome/browser/background/background_application_list_model.cc if (!extension.HasAPIPermission(APIPermission::kPushMessaging)) APIPermission 309 chrome/browser/background/background_application_list_model.cc if (!extension.HasAPIPermission(APIPermission::kBackground) && APIPermission 401 chrome/browser/background/background_application_list_model.cc if (permissions->HasAPIPermission(APIPermission::kBackground)) { APIPermission 34 chrome/browser/background/background_application_list_model_unittest.cc using extensions::APIPermission; APIPermission 322 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_FALSE(ext->HasAPIPermission(APIPermission::kBackground)); APIPermission 324 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_TRUE(bgapp->HasAPIPermission(APIPermission::kBackground)); APIPermission 341 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_TRUE(ext->HasAPIPermission(APIPermission::kBackground)); APIPermission 345 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_FALSE(bgapp->HasAPIPermission(APIPermission::kBackground)); APIPermission 349 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_FALSE(ext->HasAPIPermission(APIPermission::kBackground)); APIPermission 353 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_TRUE(bgapp->HasAPIPermission(APIPermission::kBackground)); APIPermission 350 chrome/browser/background/background_mode_manager.cc extensions::APIPermission::kBackground) && APIPermission 264 chrome/browser/chrome_content_browser_client.cc using extensions::APIPermission; APIPermission 1045 chrome/browser/chrome_content_browser_client.cc if (!extension->HasAPIPermission(APIPermission::kBackground) || APIPermission 1983 chrome/browser/chrome_content_browser_client.cc extensions::APIPermission::kNotification, &extensions); APIPermission 1996 chrome/browser/chrome_content_browser_client.cc APIPermission::kNotification, extension, rvh)) { APIPermission 2026 chrome/browser/chrome_content_browser_client.cc extensions::APIPermission::kNotification, &extensions); APIPermission 2131 chrome/browser/chrome_content_browser_client.cc APIPermission::kBackground)) { APIPermission 2499 chrome/browser/chrome_content_browser_client.cc return extension->HasAPIPermission(APIPermission::kWebView) || APIPermission 2500 chrome/browser/chrome_content_browser_client.cc extension->HasAPIPermission(APIPermission::kAdView); APIPermission 2532 chrome/browser/chrome_content_browser_client.cc extension, extensions::APIPermission::kSocket, APIPermission 2538 chrome/browser/chrome_content_browser_client.cc extension, extensions::APIPermission::kSocket)) { APIPermission 1476 chrome/browser/devtools/devtools_window.cc extensions::APIPermission::kExperimental))); APIPermission 49 chrome/browser/extensions/active_tab_permission_granter.cc if (extension->HasAPIPermission(APIPermission::kActiveTab)) { APIPermission 56 chrome/browser/extensions/active_tab_permission_granter.cc new_apis.insert(APIPermission::kTab); APIPermission 59 chrome/browser/extensions/active_tab_permission_granter.cc if (extension->HasAPIPermission(APIPermission::kTabCapture)) APIPermission 60 chrome/browser/extensions/active_tab_permission_granter.cc new_apis.insert(APIPermission::kTabCaptureForTab); APIPermission 145 chrome/browser/extensions/active_tab_unittest.cc extension.get(), tab_id, APIPermission::kTab); APIPermission 153 chrome/browser/extensions/active_tab_unittest.cc APIPermission::kTab); APIPermission 377 chrome/browser/extensions/active_tab_unittest.cc APIPermission::kTabCaptureForTab)); APIPermission 383 chrome/browser/extensions/active_tab_unittest.cc APIPermission::kTabCaptureForTab)); APIPermission 443 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc extensions::APIPermission::kAlwaysOnTopWindows)) { APIPermission 227 chrome/browser/extensions/api/app_window/app_window_api.cc (GetExtension()->HasAPIPermission(APIPermission::kExperimental) || APIPermission 240 chrome/browser/extensions/api/app_window/app_window_api.cc GetExtension()->HasAPIPermission(APIPermission::kAlwaysOnTopWindows)) APIPermission 421 chrome/browser/extensions/api/app_window/app_window_api.cc (GetExtension()->HasAPIPermission(APIPermission::kExperimental) || APIPermission 188 chrome/browser/extensions/api/commands/command_service.cc extensions::APIPermission::kBookmarkManagerPrivate) || APIPermission 207 chrome/browser/extensions/api/commands/command_service.cc extensions::APIPermission::kBookmarkManagerPrivate); APIPermission 62 chrome/browser/extensions/api/declarative/declarative_api.cc extension_->HasAPIPermission(extensions::APIPermission::kWebView)) APIPermission 139 chrome/browser/extensions/api/declarative/rules_cache_delegate.cc (*i)->HasAPIPermission(APIPermission::kDeclarativeContent) || APIPermission 140 chrome/browser/extensions/api/declarative/rules_cache_delegate.cc (*i)->HasAPIPermission(APIPermission::kDeclarativeWebRequest); APIPermission 352 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc extension->HasAPIPermission(APIPermission::kDeclarativeWebRequest)); APIPermission 733 chrome/browser/extensions/api/developer_private/developer_private_api.cc if (extension->HasAPIPermission(extensions::APIPermission::kFileSystem)) { APIPermission 1363 chrome/browser/extensions/api/downloads/downloads_api.cc extensions::APIPermission::kDownloadsOpen), APIPermission 1408 chrome/browser/extensions/api/downloads/downloads_api.cc extensions::APIPermission::kDownloadsShelf)) { APIPermission 196 chrome/browser/extensions/api/extension_action/browser_action_interactive_test.cc APIPermission::kTab)); APIPermission 355 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc return extension->HasAPIPermission(APIPermission::kFileSystemWrite); APIPermission 389 chrome/browser/extensions/api/file_system/file_system_api.cc !extension_->HasAPIPermission(APIPermission::kFileSystemDirectory)) { APIPermission 867 chrome/browser/extensions/api/file_system/file_system_api.cc if (!extension_->HasAPIPermission(APIPermission::kFileSystemDirectory)) { APIPermission 180 chrome/browser/extensions/api/font_settings/font_settings_api.cc APIPermission::kFontSettings, APIPermission 202 chrome/browser/extensions/api/font_settings/font_settings_api.cc APIPermission::kFontSettings, APIPermission 91 chrome/browser/extensions/api/hid/hid_api.cc GetExtension(), APIPermission::kUsbDevice, ¶m)) { APIPermission 123 chrome/browser/extensions/api/hid/hid_api.cc GetExtension(), APIPermission::kUsbDevice, ¶m)) { APIPermission 412 chrome/browser/extensions/api/location/location_manager.cc if (extension->HasAPIPermission(APIPermission::kLocation)) { APIPermission 134 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc extension, APIPermission::kMediaGalleries, &read_param); APIPermission 138 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc extension, APIPermission::kMediaGalleries, ©_to_param); APIPermission 142 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc extension, APIPermission::kMediaGalleries, &delete_param); APIPermission 199 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc extension, APIPermission::kMediaGalleries, &scan_param); APIPermission 365 chrome/browser/extensions/api/messaging/message_service.cc APIPermission::kNativeMessaging); APIPermission 18 chrome/browser/extensions/api/permissions/permissions_api_helpers.cc using extensions::APIPermission; APIPermission 97 chrome/browser/extensions/api/permissions/permissions_api_helpers.cc APIPermission* permission = NULL; APIPermission 102 chrome/browser/extensions/api/permissions/permissions_api_helpers.cc info->GetByID(APIPermission::kUsbDevice); APIPermission 32 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc apis.insert(APIPermission::kTab); APIPermission 33 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc apis.insert(APIPermission::kWebRequest); APIPermission 95 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc EXPECT_TRUE(permissions->HasAPIPermission(APIPermission::kTab)); APIPermission 73 chrome/browser/extensions/api/permissions/permissions_apitest.cc apis.insert(APIPermission::kBookmark); APIPermission 56 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::ID read_permission; APIPermission 61 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::ID write_permission; APIPermission 70 chrome/browser/extensions/api/preference/preference_api.cc {"protectedContentEnabled", prefs::kEnableDRM, APIPermission::kPrivacy, APIPermission 71 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kPrivacy}, APIPermission 73 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kPrivacy, APIPermission::kPrivacy}, APIPermission 75 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kPrivacy, APIPermission::kPrivacy}, APIPermission 77 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kPrivacy, APIPermission::kPrivacy}, APIPermission 79 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kPrivacy, APIPermission::kPrivacy}, APIPermission 80 chrome/browser/extensions/api/preference/preference_api.cc {"proxy", prefs::kProxy, APIPermission::kProxy, APIPermission::kProxy}, APIPermission 81 chrome/browser/extensions/api/preference/preference_api.cc {"referrersEnabled", prefs::kEnableReferrers, APIPermission::kPrivacy, APIPermission 82 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kPrivacy}, APIPermission 84 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kPrivacy, APIPermission::kPrivacy}, APIPermission 86 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kPrivacy, APIPermission::kPrivacy}, APIPermission 88 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kPrivacy, APIPermission::kPrivacy}, APIPermission 90 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kPrivacy, APIPermission::kPrivacy}, APIPermission 92 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kPrivacy, APIPermission::kPrivacy}, APIPermission 95 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kAccessibilityFeaturesRead, APIPermission 96 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kAccessibilityFeaturesModify}, APIPermission 98 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kAccessibilityFeaturesRead, APIPermission 99 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kAccessibilityFeaturesModify}, APIPermission 101 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kAccessibilityFeaturesRead, APIPermission 102 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kAccessibilityFeaturesModify}, APIPermission 104 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kAccessibilityFeaturesRead, APIPermission 105 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kAccessibilityFeaturesModify}, APIPermission 107 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kAccessibilityFeaturesRead, APIPermission 108 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kAccessibilityFeaturesModify}, APIPermission 110 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kAccessibilityFeaturesRead, APIPermission 111 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kAccessibilityFeaturesModify}, APIPermission 113 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kAccessibilityFeaturesRead, APIPermission 114 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::kAccessibilityFeaturesModify}, APIPermission 162 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::ID* read_permission, APIPermission 163 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::ID* write_permission) { APIPermission 176 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::ID* permission) { APIPermission 235 chrome/browser/extensions/api/preference/preference_api.cc : read_permission(APIPermission::kInvalid), APIPermission 236 chrome/browser/extensions/api/preference/preference_api.cc write_permission(APIPermission::kInvalid) {} APIPermission 239 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::ID read, APIPermission 240 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::ID write) APIPermission 249 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::ID read_permission; APIPermission 252 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::ID write_permission; APIPermission 296 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::ID permission = APIPermission::kInvalid; APIPermission 412 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::ID permission = APIPermission::kInvalid; APIPermission 505 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::ID read_permission = APIPermission::kInvalid; APIPermission 506 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::ID write_permission = APIPermission::kInvalid; APIPermission 513 chrome/browser/extensions/api/preference/preference_api.cc APIPermission::ID permission = permission_type == PERMISSION_TYPE_READ APIPermission 89 chrome/browser/extensions/api/preference/preference_helpers.cc APIPermission::ID permission, APIPermission 42 chrome/browser/extensions/api/preference/preference_helpers.h extensions::APIPermission::ID permission, APIPermission 340 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc if (extension->HasAPIPermission(APIPermission::kPushMessaging)) { APIPermission 347 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc if (extension->HasAPIPermission(APIPermission::kPushMessaging)) { APIPermission 355 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc if (extension->HasAPIPermission(APIPermission::kPushMessaging)) { APIPermission 93 chrome/browser/extensions/api/tab_capture/tab_capture_api.cc extension, tab_id, APIPermission::kTabCaptureForTab) && APIPermission 1802 chrome/browser/extensions/api/tabs/tabs_api.cc extension_.get(), execute_tab_id_, APIPermission::kTab)) { APIPermission 418 chrome/browser/extensions/api/usb/usb_api.cc GetExtension(), APIPermission::kUsbDevice, ¶m)) { APIPermission 554 chrome/browser/extensions/api/usb/usb_api.cc GetExtension(), APIPermission::kUsbDevice, ¶m)) { APIPermission 642 chrome/browser/extensions/api/usb/usb_api.cc GetExtension(), APIPermission::kUsbDevice, ¶m)) { APIPermission 2199 chrome/browser/extensions/api/web_request/web_request_api.cc extensions::APIPermission::kWebRequestBlocking)) { APIPermission 33 chrome/browser/extensions/extension_gcm_app_handler.cc return PermissionsData::HasAPIPermission(extension, APIPermission::kGcm); APIPermission 173 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kGcm)); APIPermission 43 chrome/browser/extensions/extension_keybinding_apitest.cc APIPermission::kTab); APIPermission 190 chrome/browser/extensions/extension_prefs_unittest.cc PermissionsInfo::GetInstance()->GetByID(APIPermission::kSocket); APIPermission 194 chrome/browser/extensions/extension_prefs_unittest.cc api_perm_set1_.insert(APIPermission::kTab); APIPermission 195 chrome/browser/extensions/extension_prefs_unittest.cc api_perm_set1_.insert(APIPermission::kBookmark); APIPermission 196 chrome/browser/extensions/extension_prefs_unittest.cc scoped_ptr<APIPermission> permission( APIPermission 207 chrome/browser/extensions/extension_prefs_unittest.cc api_perm_set2_.insert(APIPermission::kHistory); APIPermission 344 chrome/browser/extensions/extension_prefs_unittest.cc api_perms.insert(APIPermission::kTab); APIPermission 345 chrome/browser/extensions/extension_prefs_unittest.cc api_perms.insert(APIPermission::kBookmark); APIPermission 346 chrome/browser/extensions/extension_prefs_unittest.cc api_perms.insert(APIPermission::kHistory); APIPermission 151 chrome/browser/extensions/extension_service_unittest.cc using extensions::APIPermission; APIPermission 1907 chrome/browser/extensions/extension_service_unittest.cc expected_api_perms.insert(APIPermission::kTab); APIPermission 1956 chrome/browser/extensions/extension_service_unittest.cc expected_api_perms.insert(APIPermission::kTab); APIPermission 1986 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(permissions->HasAPIPermission(APIPermission::kPlugin)); APIPermission 2016 chrome/browser/extensions/extension_service_unittest.cc expected_api_permissions.insert(APIPermission::kTab); APIPermission 2589 chrome/browser/extensions/extension_service_unittest.cc APIPermission::kUnlimitedStorage)); APIPermission 2603 chrome/browser/extensions/extension_service_unittest.cc APIPermission::kUnlimitedStorage)); APIPermission 2987 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(permissions->HasAPIPermission(APIPermission::kPlugin)); APIPermission 4423 chrome/browser/extensions/extension_service_unittest.cc APIPermission::kUnlimitedStorage)); APIPermission 4436 chrome/browser/extensions/extension_service_unittest.cc APIPermission::kUnlimitedStorage)); APIPermission 25 chrome/browser/extensions/extension_special_storage_policy.cc using extensions::APIPermission; APIPermission 106 chrome/browser/extensions/extension_special_storage_policy.cc extension->HasAPIPermission(APIPermission::kUnlimitedStorage) || APIPermission 107 chrome/browser/extensions/extension_special_storage_policy.cc extension->HasAPIPermission(APIPermission::kFileBrowserHandler) || APIPermission 122 chrome/browser/extensions/extension_special_storage_policy.cc if (extension->HasAPIPermission(APIPermission::kUnlimitedStorage) && APIPermission 126 chrome/browser/extensions/extension_special_storage_policy.cc if (extension->HasAPIPermission(APIPermission::kFileBrowserHandler)) APIPermission 143 chrome/browser/extensions/extension_special_storage_policy.cc extension->HasAPIPermission(APIPermission::kUnlimitedStorage) || APIPermission 144 chrome/browser/extensions/extension_special_storage_policy.cc extension->HasAPIPermission(APIPermission::kFileBrowserHandler) || APIPermission 158 chrome/browser/extensions/extension_special_storage_policy.cc if (extension->HasAPIPermission(APIPermission::kUnlimitedStorage) && APIPermission 162 chrome/browser/extensions/extension_special_storage_policy.cc if (extension->HasAPIPermission(APIPermission::kFileBrowserHandler)) APIPermission 178 chrome/browser/extensions/extension_tab_util.cc extension, GetTabId(contents), APIPermission::kTab); APIPermission 190 chrome/browser/extensions/extension_tab_util.cc APIPermission::kTab); APIPermission 121 chrome/browser/extensions/permissions_updater_unittest.cc default_apis.insert(APIPermission::kManagement); APIPermission 138 chrome/browser/extensions/permissions_updater_unittest.cc apis.insert(APIPermission::kTab); APIPermission 139 chrome/browser/extensions/permissions_updater_unittest.cc apis.insert(APIPermission::kNotification); APIPermission 181 chrome/browser/extensions/permissions_updater_unittest.cc apis.erase(APIPermission::kNotification); APIPermission 26 chrome/browser/extensions/suggest_permission_util.cc void SuggestAPIPermissionInDevToolsConsole(APIPermission::ID permission, APIPermission 48 chrome/browser/extensions/suggest_permission_util.cc void SuggestAPIPermissionInDevToolsConsole(APIPermission::ID permission, APIPermission 65 chrome/browser/extensions/suggest_permission_util.cc APIPermission::ID permission, APIPermission 78 chrome/browser/extensions/suggest_permission_util.cc APIPermission::ID permission, APIPermission 21 chrome/browser/extensions/suggest_permission_util.h void SuggestAPIPermissionInDevToolsConsole(APIPermission::ID permission, APIPermission 26 chrome/browser/extensions/suggest_permission_util.h void SuggestAPIPermissionInDevToolsConsole(APIPermission::ID permission, APIPermission 34 chrome/browser/extensions/suggest_permission_util.h APIPermission::ID permission, APIPermission 42 chrome/browser/extensions/suggest_permission_util.h APIPermission::ID permission, APIPermission 35 chrome/browser/geolocation/chrome_geolocation_permission_context.cc using extensions::APIPermission; APIPermission 162 chrome/browser/geolocation/chrome_geolocation_permission_context.cc if (IsExtensionWithPermissionOrSuggestInConsole(APIPermission::kGeolocation, APIPermission 537 chrome/browser/media/media_capture_devices_dispatcher.cc extension->HasAPIPermission(extensions::APIPermission::kTabCapture)) { APIPermission 544 chrome/browser/media/media_capture_devices_dispatcher.cc extension->HasAPIPermission(extensions::APIPermission::kTabCapture)) { APIPermission 572 chrome/browser/media/media_capture_devices_dispatcher.cc extension->HasAPIPermission(extensions::APIPermission::kAudioCapture)) { APIPermission 577 chrome/browser/media/media_capture_devices_dispatcher.cc extension->HasAPIPermission(extensions::APIPermission::kVideoCapture)) { APIPermission 28 chrome/browser/media/protected_media_identifier_permission_context.cc using extensions::APIPermission; APIPermission 31 chrome/browser/media_galleries/media_galleries_dialog_controller.cc using extensions::APIPermission; APIPermission 128 chrome/browser/media_galleries/media_galleries_dialog_controller.cc extension_, APIPermission::kMediaGalleries, ©_to_param); APIPermission 131 chrome/browser/media_galleries/media_galleries_dialog_controller.cc extension_, APIPermission::kMediaGalleries, &delete_param); APIPermission 99 chrome/browser/media_galleries/media_galleries_preferences.cc *i, extensions::APIPermission::kMediaGalleries) || APIPermission 101 chrome/browser/media_galleries/media_galleries_preferences.cc *i, extensions::APIPermission::kMediaGalleriesPrivate)) { APIPermission 280 chrome/browser/media_galleries/media_galleries_preferences.cc &extension, extensions::APIPermission::kMediaGalleries, ¶m); APIPermission 125 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc extension_, extensions::APIPermission::kMediaGalleries, APIPermission 129 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc extension_, extensions::APIPermission::kMediaGalleries, APIPermission 647 chrome/browser/notifications/desktop_notification_service.cc origin, process_id, extensions::APIPermission::kNotification, APIPermission 451 chrome/browser/notifications/message_center_notification_manager.cc extensions::APIPermission::kNotification, &extensions); APIPermission 229 chrome/browser/notifications/message_center_settings_controller.cc extensions::APIPermission::kNotification)) { APIPermission 42 chrome/browser/renderer_host/chrome_render_message_filter.cc using extensions::APIPermission; APIPermission 466 chrome/browser/renderer_host/chrome_render_message_filter.cc origin, render_process_id_, APIPermission::kClipboardRead); APIPermission 475 chrome/browser/renderer_host/chrome_render_message_filter.cc origin, render_process_id_, APIPermission::kClipboardWrite)); APIPermission 39 chrome/browser/ui/omnibox/location_bar.cc extensions::APIPermission::kBookmarkManagerPrivate) || APIPermission 174 chrome/browser/ui/views/location_bar/location_bar_view.cc extensions::APIPermission::kBookmarkManagerPrivate); APIPermission 1050 chrome/browser/ui/webui/extensions/extension_settings_handler.cc if (extension->HasAPIPermission(APIPermission::kFileSystem)) { APIPermission 57 chrome/browser/ui/webui/options/content_settings_handler.cc using extensions::APIPermission; APIPermission 211 chrome/browser/ui/webui/options/content_settings_handler.cc template <APIPermission::ID permission> APIPermission 808 chrome/browser/ui/webui/options/content_settings_handler.cc HostedAppHasPermission<APIPermission::kGeolocation>, APIPermission 859 chrome/browser/ui/webui/options/content_settings_handler.cc HostedAppHasPermission<APIPermission::kNotification>, APIPermission 122 chrome/common/extensions/api/plugins/plugins_handler.cc APIPermission::kPlugin); APIPermission 78 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc permission_set->insert(APIPermission::kStorage); APIPermission 42 chrome/common/extensions/api/system_indicator/system_indicator_handler.cc APIPermission::kSystemIndicator); APIPermission 131 chrome/common/extensions/chrome_extensions_client.cc if ((api_permissions.find(APIPermission::kExperimental) != APIPermission 52 chrome/common/extensions/manifest_handlers/app_isolation_info.cc APIPermission::kExperimental)) { APIPermission 72 chrome/common/extensions/manifest_handlers/externally_connectable.cc APIPermission::kWebConnectable); APIPermission 41 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kWebConnectable)); APIPermission 101 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(extension->HasAPIPermission(APIPermission::kWebConnectable)); APIPermission 120 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kWebConnectable)); APIPermission 163 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kWebConnectable)); APIPermission 187 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(extension->HasAPIPermission(APIPermission::kWebConnectable)); APIPermission 288 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc PermissionsInfo::GetInstance()->GetByID(APIPermission::kSearchProvider), APIPermission 294 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc PermissionsInfo::GetInstance()->GetByID(APIPermission::kStartupPages), APIPermission 301 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc PermissionsInfo::GetInstance()->GetByID(APIPermission::kHomepage), APIPermission 17 chrome/common/extensions/manifest_tests/extension_manifests_old_unittest.cc extensions::APIPermission::kUnlimitedStorage)); APIPermission 129 chrome/common/extensions/manifest_url_handler.cc APIPermission::kDevtools); APIPermission 26 chrome/common/extensions/permissions/chrome_api_permissions.cc template<typename T> APIPermission* CreateAPIPermission( APIPermission 36 chrome/common/extensions/permissions/chrome_api_permissions.cc APIPermission::ID id; APIPermission 44 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kBackground, "background"}, APIPermission 45 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kClipboardRead, "clipboardRead", APIPermission 48 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kClipboardWrite, "clipboardWrite"}, APIPermission 49 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kDeclarativeContent, "declarativeContent"}, APIPermission 50 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kDeclarativeWebRequest, "declarativeWebRequest", APIPermission 54 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kDesktopCapture, "desktopCapture", APIPermission 58 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kDns, "dns"}, APIPermission 59 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kDownloads, "downloads", APIPermissionInfo::kFlagNone, APIPermission 61 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kDownloadsOpen, "downloads.open", APIPermission 65 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kDownloadsShelf, "downloads.shelf"}, APIPermission 66 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kIdentity, "identity"}, APIPermission 67 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kExperimental, "experimental", APIPermission 72 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kWebConnectable, "webConnectable", APIPermission 77 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kGeolocation, "geolocation", APIPermission 81 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kNotification, "notifications"}, APIPermission 82 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kUnlimitedStorage, "unlimitedStorage", APIPermission 84 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kGcm, "gcm"}, APIPermission 87 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kAccessibilityFeaturesModify, APIPermission 91 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kAccessibilityFeaturesRead, APIPermission 95 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kAccessibilityPrivate, "accessibilityPrivate", APIPermission 97 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kActiveTab, "activeTab"}, APIPermission 98 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kAdView, "adview"}, APIPermission 99 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kAlarms, "alarms"}, APIPermission 100 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kAutomation, "automation", APIPermission 104 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kBookmark, "bookmarks", APIPermissionInfo::kFlagNone, APIPermission 106 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kBrailleDisplayPrivate, "brailleDisplayPrivate", APIPermission 108 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kBrowsingData, "browsingData"}, APIPermission 109 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kContentSettings, "contentSettings", APIPermission 113 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kContextMenus, "contextMenus"}, APIPermission 114 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kCookie, "cookies"}, APIPermission 115 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kFileBrowserHandler, "fileBrowserHandler", APIPermission 117 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kFontSettings, "fontSettings", APIPermission 119 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kHistory, "history", APIPermissionInfo::kFlagNone, APIPermission 122 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kIdltest, "idltest"}, APIPermission 123 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kIdle, "idle"}, APIPermission 124 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kInfobars, "infobars"}, APIPermission 125 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kInput, "input", APIPermissionInfo::kFlagNone, APIPermission 127 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kLocation, "location", APIPermission 131 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kManagement, "management", APIPermissionInfo::kFlagNone, APIPermission 134 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kNativeMessaging, "nativeMessaging", APIPermission 138 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kPower, "power", }, APIPermission 139 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kPrivacy, "privacy", APIPermissionInfo::kFlagNone, APIPermission 141 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kProcesses, "processes", APIPermissionInfo::kFlagNone, APIPermission 143 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kSessions, "sessions"}, APIPermission 144 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kSignedInDevices, "signedInDevices", APIPermission 148 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kStorage, "storage"}, APIPermission 149 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kSyncFileSystem, "syncFileSystem", APIPermission 153 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kTab, "tabs", APIPermissionInfo::kFlagNone, APIPermission 155 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kTopSites, "topSites", APIPermissionInfo::kFlagNone, APIPermission 158 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kTts, "tts", 0, APIPermission 160 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kTtsEngine, "ttsEngine", APIPermission 164 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kWallpaper, "wallpaper", APIPermission 167 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kWebNavigation, "webNavigation", APIPermission 170 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kWebRequest, "webRequest"}, APIPermission 171 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kWebRequestBlocking, "webRequestBlocking"}, APIPermission 172 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kWebView, "webview", APIPermission 176 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kScreenlockPrivate, "screenlockPrivate", APIPermission 180 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kActivityLogPrivate, "activityLogPrivate", APIPermission 184 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kAutoTestPrivate, "autotestPrivate", APIPermission 186 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kBookmarkManagerPrivate, "bookmarkManagerPrivate", APIPermission 188 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kCast, "cast", APIPermission 190 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kChromeosInfoPrivate, "chromeosInfoPrivate", APIPermission 192 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kCommandLinePrivate, "commandLinePrivate", APIPermission 194 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kDeveloperPrivate, "developerPrivate", APIPermission 196 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kDiagnostics, "diagnostics", APIPermission 198 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kDial, "dial", APIPermission 200 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kDownloadsInternal, "downloadsInternal"}, APIPermission 201 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kFileBrowserHandlerInternal, APIPermission 204 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kFileBrowserPrivate, "fileBrowserPrivate", APIPermission 206 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kHotwordPrivate, "hotwordPrivate", APIPermission 208 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kIdentityPrivate, "identityPrivate", APIPermission 210 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kLogPrivate, "logPrivate"}, APIPermission 211 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kNetworkingPrivate, "networkingPrivate", APIPermission 215 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kMediaPlayerPrivate, "mediaPlayerPrivate", APIPermission 217 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kMetricsPrivate, "metricsPrivate", APIPermission 219 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kMDns, "mdns", APIPermission 221 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kMusicManagerPrivate, "musicManagerPrivate", APIPermission 225 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kPreferencesPrivate, "preferencesPrivate", APIPermission 227 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kSystemPrivate, "systemPrivate", APIPermission 229 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kCloudPrintPrivate, "cloudPrintPrivate", APIPermission 231 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kInputMethodPrivate, "inputMethodPrivate", APIPermission 233 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kEchoPrivate, "echoPrivate", APIPermission 235 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kFeedbackPrivate, "feedbackPrivate", APIPermission 237 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kImageWriterPrivate, "imageWriterPrivate", APIPermission 239 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kReadingListPrivate, "readingListPrivate", APIPermission 241 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kRtcPrivate, "rtcPrivate", APIPermission 243 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kTerminalPrivate, "terminalPrivate", APIPermission 245 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kVirtualKeyboardPrivate, "virtualKeyboardPrivate", APIPermission 247 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kWallpaperPrivate, "wallpaperPrivate", APIPermission 249 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kWebRequestInternal, "webRequestInternal"}, APIPermission 250 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kWebstorePrivate, "webstorePrivate", APIPermission 252 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kMediaGalleriesPrivate, "mediaGalleriesPrivate", APIPermission 254 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kStreamsPrivate, "streamsPrivate", APIPermission 256 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kEnterprisePlatformKeysPrivate, APIPermission 259 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kWebrtcAudioPrivate, "webrtcAudioPrivate", APIPermission 261 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kWebrtcLoggingPrivate, "webrtcLoggingPrivate", APIPermission 263 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kPrincipalsPrivate, "principalsPrivate", APIPermission 265 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kFirstRunPrivate, "firstRunPrivate", APIPermission 267 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kBluetoothPrivate, "bluetoothPrivate", APIPermission 273 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kDebugger, "debugger", APIPermission 277 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kDevtools, "devtools", APIPermission 281 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kPageCapture, "pageCapture", APIPermission 283 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kTabCapture, "tabCapture", APIPermission 285 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kTabCaptureForTab, "tabCaptureForTab", APIPermission 287 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kPlugin, "plugin", APIPermission 294 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kProxy, "proxy", APIPermission 299 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kSerial, "serial", APIPermissionInfo::kFlagNone, APIPermission 307 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kSocket, "socket", APIPermission 310 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kAlwaysOnTopWindows, "app.window.alwaysOnTop"}, APIPermission 311 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kAudioCapture, "audioCapture", APIPermission 315 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kVideoCapture, "videoCapture", APIPermission 326 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kFileSystem, "fileSystem"}, APIPermission 327 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kFileSystemDirectory, "fileSystem.directory", APIPermission 331 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kFileSystemProvider, "fileSystemProvider"}, APIPermission 332 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kFileSystemRetainEntries, "fileSystem.retainEntries"}, APIPermission 333 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kFileSystemWrite, "fileSystem.write", APIPermission 337 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kFileSystemWriteDirectory, "fileSystem.writeDirectory", APIPermission 341 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kHid, "hid", APIPermissionInfo::kFlagNone, APIPermission 349 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kMediaGalleries, "mediaGalleries", APIPermission 352 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kPushMessaging, "pushMessaging", APIPermission 354 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kUsb, "usb", APIPermissionInfo::kFlagNone, APIPermission 356 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kUsbDevice, "usbDevices", APIPermissionInfo::kFlagNone, APIPermission 359 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kSystemIndicator, "systemIndicator", APIPermission 363 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kSystemCpu, "system.cpu"}, APIPermission 364 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kSystemMemory, "system.memory"}, APIPermission 365 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kSystemNetwork, "system.network"}, APIPermission 366 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kSystemDisplay, "system.display"}, APIPermission 367 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kSystemStorage, "system.storage"}, APIPermission 368 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kPointerLock, "pointerLock"}, APIPermission 369 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kFullscreen, "app.window.fullscreen"}, APIPermission 370 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kAudio, "audio"}, APIPermission 371 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kCastStreaming, "cast.streaming"}, APIPermission 372 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kOverrideEscFullscreen, APIPermission 374 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kWindowShape, "app.window.shape"}, APIPermission 377 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kHomepage, "homepage", APIPermission 382 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kSearchProvider, "searchProvider", APIPermission 387 chrome/common/extensions/permissions/chrome_api_permissions.cc {APIPermission::kStartupPages, "startupPages", APIPermission 21 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc void CheckFromValue(APIPermission* permission, base::ListValue* value, APIPermission 32 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc PermissionsInfo::GetInstance()->GetByID(APIPermission::kMediaGalleries); APIPermission 34 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc scoped_ptr<APIPermission> permission( APIPermission 89 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc PermissionsInfo::GetInstance()->GetByID(APIPermission::kMediaGalleries); APIPermission 91 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc scoped_ptr<APIPermission> permission(permission_info->CreateAPIPermission()); APIPermission 138 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc PermissionsInfo::GetInstance()->GetByID(APIPermission::kMediaGalleries); APIPermission 140 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc scoped_ptr<APIPermission> permission(permission_info->CreateAPIPermission()); APIPermission 165 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc PermissionsInfo::GetInstance()->GetByID(APIPermission::kMediaGalleries); APIPermission 167 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc scoped_ptr<APIPermission> permission1( APIPermission 169 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc scoped_ptr<APIPermission> permission2( APIPermission 217 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc PermissionsInfo::GetInstance()->GetByID(APIPermission::kMediaGalleries); APIPermission 219 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc scoped_ptr<APIPermission> permission1( APIPermission 221 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc scoped_ptr<APIPermission> permission2( APIPermission 240 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc PermissionsInfo::GetInstance()->GetByID(APIPermission::kMediaGalleries); APIPermission 242 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc scoped_ptr<APIPermission> permission1( APIPermission 244 chrome/common/extensions/permissions/media_galleries_permission_unittest.cc scoped_ptr<APIPermission> permission2( APIPermission 66 chrome/common/extensions/permissions/permission_set_unittest.cc EXPECT_EQ(APIPermission::kTab, info->GetByName("tabs")->id()); APIPermission 67 chrome/common/extensions/permissions/permission_set_unittest.cc EXPECT_EQ(APIPermission::kManagement, APIPermission 79 chrome/common/extensions/permissions/permission_set_unittest.cc EXPECT_NE(APIPermission::kInvalid, api->id()); APIPermission 80 chrome/common/extensions/permissions/permission_set_unittest.cc EXPECT_NE(APIPermission::kUnknown, api->id()); APIPermission 98 chrome/common/extensions/permissions/permission_set_unittest.cc expected.insert(APIPermission::kBackground); APIPermission 99 chrome/common/extensions/permissions/permission_set_unittest.cc expected.insert(APIPermission::kManagement); APIPermission 100 chrome/common/extensions/permissions/permission_set_unittest.cc expected.insert(APIPermission::kTab); APIPermission 111 chrome/common/extensions/permissions/permission_set_unittest.cc EXPECT_EQ(tabs_name, info->GetByID(APIPermission::kTab)->name()); APIPermission 112 chrome/common/extensions/permissions/permission_set_unittest.cc EXPECT_EQ(APIPermission::kTab, info->GetByName("tabs")->id()); APIPermission 113 chrome/common/extensions/permissions/permission_set_unittest.cc EXPECT_EQ(APIPermission::kTab, info->GetByName("windows")->id()); APIPermission 118 chrome/common/extensions/permissions/permission_set_unittest.cc APIPermission::kUnlimitedStorage)->name()); APIPermission 119 chrome/common/extensions/permissions/permission_set_unittest.cc EXPECT_EQ(APIPermission::kUnlimitedStorage, APIPermission 121 chrome/common/extensions/permissions/permission_set_unittest.cc EXPECT_EQ(APIPermission::kUnlimitedStorage, APIPermission 228 chrome/common/extensions/permissions/permission_set_unittest.cc APIPermission* permission = NULL; APIPermission 250 chrome/common/extensions/permissions/permission_set_unittest.cc PermissionsInfo::GetInstance()->GetByID(APIPermission::kSocket); APIPermission 262 chrome/common/extensions/permissions/permission_set_unittest.cc apis1.insert(APIPermission::kTab); APIPermission 263 chrome/common/extensions/permissions/permission_set_unittest.cc apis1.insert(APIPermission::kBackground); APIPermission 265 chrome/common/extensions/permissions/permission_set_unittest.cc expected_apis.insert(APIPermission::kTab); APIPermission 266 chrome/common/extensions/permissions/permission_set_unittest.cc expected_apis.insert(APIPermission::kBackground); APIPermission 292 chrome/common/extensions/permissions/permission_set_unittest.cc apis2.insert(APIPermission::kTab); APIPermission 293 chrome/common/extensions/permissions/permission_set_unittest.cc apis2.insert(APIPermission::kProxy); APIPermission 294 chrome/common/extensions/permissions/permission_set_unittest.cc apis2.insert(APIPermission::kClipboardWrite); APIPermission 295 chrome/common/extensions/permissions/permission_set_unittest.cc apis2.insert(APIPermission::kPlugin); APIPermission 307 chrome/common/extensions/permissions/permission_set_unittest.cc expected_apis.insert(APIPermission::kTab); APIPermission 308 chrome/common/extensions/permissions/permission_set_unittest.cc expected_apis.insert(APIPermission::kProxy); APIPermission 309 chrome/common/extensions/permissions/permission_set_unittest.cc expected_apis.insert(APIPermission::kClipboardWrite); APIPermission 310 chrome/common/extensions/permissions/permission_set_unittest.cc expected_apis.insert(APIPermission::kPlugin); APIPermission 353 chrome/common/extensions/permissions/permission_set_unittest.cc APIPermission* permission = NULL; APIPermission 375 chrome/common/extensions/permissions/permission_set_unittest.cc PermissionsInfo::GetInstance()->GetByID(APIPermission::kSocket); APIPermission 378 chrome/common/extensions/permissions/permission_set_unittest.cc apis1.insert(APIPermission::kTab); APIPermission 379 chrome/common/extensions/permissions/permission_set_unittest.cc apis1.insert(APIPermission::kBackground); APIPermission 414 chrome/common/extensions/permissions/permission_set_unittest.cc apis2.insert(APIPermission::kTab); APIPermission 415 chrome/common/extensions/permissions/permission_set_unittest.cc apis2.insert(APIPermission::kProxy); APIPermission 416 chrome/common/extensions/permissions/permission_set_unittest.cc apis2.insert(APIPermission::kClipboardWrite); APIPermission 417 chrome/common/extensions/permissions/permission_set_unittest.cc apis2.insert(APIPermission::kPlugin); APIPermission 428 chrome/common/extensions/permissions/permission_set_unittest.cc expected_apis.insert(APIPermission::kTab); APIPermission 466 chrome/common/extensions/permissions/permission_set_unittest.cc APIPermission* permission = NULL; APIPermission 488 chrome/common/extensions/permissions/permission_set_unittest.cc PermissionsInfo::GetInstance()->GetByID(APIPermission::kSocket); APIPermission 491 chrome/common/extensions/permissions/permission_set_unittest.cc apis1.insert(APIPermission::kTab); APIPermission 492 chrome/common/extensions/permissions/permission_set_unittest.cc apis1.insert(APIPermission::kBackground); APIPermission 515 chrome/common/extensions/permissions/permission_set_unittest.cc apis2.insert(APIPermission::kTab); APIPermission 516 chrome/common/extensions/permissions/permission_set_unittest.cc apis2.insert(APIPermission::kProxy); APIPermission 517 chrome/common/extensions/permissions/permission_set_unittest.cc apis2.insert(APIPermission::kClipboardWrite); APIPermission 518 chrome/common/extensions/permissions/permission_set_unittest.cc apis2.insert(APIPermission::kPlugin); APIPermission 529 chrome/common/extensions/permissions/permission_set_unittest.cc expected_apis.insert(APIPermission::kBackground); APIPermission 638 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kActiveTab); APIPermission 639 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kAdView); APIPermission 640 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kAlarms); APIPermission 641 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kAlwaysOnTopWindows); APIPermission 642 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kAudio); APIPermission 643 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kBrowsingData); APIPermission 644 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kCastStreaming); APIPermission 645 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kContextMenus); APIPermission 646 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kDiagnostics); APIPermission 647 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kDns); APIPermission 648 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kDownloadsShelf); APIPermission 649 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kFontSettings); APIPermission 650 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kFullscreen); APIPermission 651 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kGcm); APIPermission 652 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kIdle); APIPermission 653 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kIdltest); APIPermission 654 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kLogPrivate); APIPermission 655 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kNotification); APIPermission 656 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kOverrideEscFullscreen); APIPermission 657 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kPointerLock); APIPermission 658 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kPower); APIPermission 659 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kPushMessaging); APIPermission 660 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kSessions); APIPermission 661 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kStorage); APIPermission 662 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kSystemCpu); APIPermission 663 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kSystemDisplay); APIPermission 664 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kSystemMemory); APIPermission 665 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kSystemNetwork); APIPermission 666 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kSystemStorage); APIPermission 667 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kTts); APIPermission 668 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kUnlimitedStorage); APIPermission 669 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kWebView); APIPermission 670 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kWindowShape); APIPermission 673 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kBackground); APIPermission 675 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kClipboardWrite); APIPermission 679 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kCookie); APIPermission 682 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kDeclarativeContent); APIPermission 683 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kPageCapture); APIPermission 684 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kProxy); APIPermission 685 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kTabCapture); APIPermission 686 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kWebRequest); APIPermission 687 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kWebRequestBlocking); APIPermission 691 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kFileBrowserHandler); APIPermission 695 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kMediaGalleries); APIPermission 699 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kExperimental); APIPermission 702 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kIdentity); APIPermission 705 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kAccessibilityPrivate); APIPermission 706 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kAutoTestPrivate); APIPermission 707 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kBookmarkManagerPrivate); APIPermission 708 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kBrailleDisplayPrivate); APIPermission 709 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kCast); APIPermission 710 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kCastStreaming); APIPermission 711 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kChromeosInfoPrivate); APIPermission 712 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kCloudPrintPrivate); APIPermission 713 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kCommandLinePrivate); APIPermission 714 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kDeveloperPrivate); APIPermission 715 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kDial); APIPermission 716 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kDownloadsInternal); APIPermission 717 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kEchoPrivate); APIPermission 718 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kEnterprisePlatformKeysPrivate); APIPermission 719 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kFeedbackPrivate); APIPermission 720 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kFileBrowserHandlerInternal); APIPermission 721 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kFileBrowserPrivate); APIPermission 722 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kFirstRunPrivate); APIPermission 723 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kHotwordPrivate); APIPermission 724 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kIdentityPrivate); APIPermission 725 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kInfobars); APIPermission 726 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kInputMethodPrivate); APIPermission 727 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kMediaGalleriesPrivate); APIPermission 728 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kMediaPlayerPrivate); APIPermission 729 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kMetricsPrivate); APIPermission 730 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kMDns); APIPermission 731 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kPreferencesPrivate); APIPermission 732 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kPrincipalsPrivate); APIPermission 733 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kImageWriterPrivate); APIPermission 734 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kReadingListPrivate); APIPermission 735 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kRtcPrivate); APIPermission 736 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kStreamsPrivate); APIPermission 737 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kSystemPrivate); APIPermission 738 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kTabCaptureForTab); APIPermission 739 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kTerminalPrivate); APIPermission 740 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kVirtualKeyboardPrivate); APIPermission 741 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kWallpaperPrivate); APIPermission 742 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kWebRequestInternal); APIPermission 743 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kWebrtcAudioPrivate); APIPermission 744 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kWebrtcLoggingPrivate); APIPermission 745 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kWebstorePrivate); APIPermission 748 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kDevtools); APIPermission 751 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kFileSystem); APIPermission 752 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kFileSystemProvider); APIPermission 753 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kFileSystemRetainEntries); APIPermission 754 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kSocket); APIPermission 755 chrome/common/extensions/permissions/permission_set_unittest.cc skip.insert(APIPermission::kUsbDevice); APIPermission 776 chrome/common/extensions/permissions/permission_set_unittest.cc api_permissions.insert(APIPermission::kFileSystemWrite); APIPermission 777 chrome/common/extensions/permissions/permission_set_unittest.cc api_permissions.insert(APIPermission::kFileSystemDirectory); APIPermission 797 chrome/common/extensions/permissions/permission_set_unittest.cc api_permissions.insert(APIPermission::kFileSystemWrite); APIPermission 798 chrome/common/extensions/permissions/permission_set_unittest.cc api_permissions.insert(APIPermission::kFileSystemDirectory); APIPermission 799 chrome/common/extensions/permissions/permission_set_unittest.cc api_permissions.insert(APIPermission::kFileSystemWriteDirectory); APIPermission 812 chrome/common/extensions/permissions/permission_set_unittest.cc write_api_permissions.insert(APIPermission::kFileSystemWrite); APIPermission 818 chrome/common/extensions/permissions/permission_set_unittest.cc directory_api_permissions.insert(APIPermission::kFileSystemDirectory); APIPermission 825 chrome/common/extensions/permissions/permission_set_unittest.cc APIPermission::kFileSystemWriteDirectory); APIPermission 899 chrome/common/extensions/permissions/permission_set_unittest.cc set->apis_.erase(APIPermission::kVideoCapture); APIPermission 907 chrome/common/extensions/permissions/permission_set_unittest.cc set->apis_.erase(APIPermission::kAudioCapture); APIPermission 908 chrome/common/extensions/permissions/permission_set_unittest.cc set->apis_.insert(APIPermission::kVideoCapture); APIPermission 952 chrome/common/extensions/permissions/permission_set_unittest.cc EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kSerial)); APIPermission 966 chrome/common/extensions/permissions/permission_set_unittest.cc EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kSocket)); APIPermission 980 chrome/common/extensions/permissions/permission_set_unittest.cc EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kSocket)); APIPermission 1006 chrome/common/extensions/permissions/permission_set_unittest.cc EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kSocket)); APIPermission 1367 chrome/common/extensions/permissions/permission_set_unittest.cc apis.insert(APIPermission::kProxy); APIPermission 1368 chrome/common/extensions/permissions/permission_set_unittest.cc apis.insert(APIPermission::kBackground); APIPermission 1369 chrome/common/extensions/permissions/permission_set_unittest.cc apis.insert(APIPermission::kNotification); APIPermission 1370 chrome/common/extensions/permissions/permission_set_unittest.cc apis.insert(APIPermission::kTab); APIPermission 1396 chrome/common/extensions/permissions/permission_set_unittest.cc non_empty_apis.insert(APIPermission::kBackground); APIPermission 1417 chrome/common/extensions/permissions/permission_set_unittest.cc apis.insert(APIPermission::kWebRequest); APIPermission 1418 chrome/common/extensions/permissions/permission_set_unittest.cc apis.insert(APIPermission::kFileBrowserHandler); APIPermission 1431 chrome/common/extensions/permissions/permission_set_unittest.cc apis.insert(APIPermission::kSyncFileSystem); APIPermission 1433 chrome/common/extensions/permissions/permission_set_unittest.cc EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kSyncFileSystem)); APIPermission 70 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_TRUE(permission_set->HasAPIPermission(APIPermission::kHomepage)); APIPermission 77 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); APIPermission 79 chrome/common/extensions/permissions/settings_override_permission_unittest.cc APIPermission::kSearchProvider)); APIPermission 81 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kHomepage)); APIPermission 82 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); APIPermission 84 chrome/common/extensions/permissions/settings_override_permission_unittest.cc permission_set->HasAPIPermission(APIPermission::kSearchProvider)); APIPermission 94 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_TRUE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); APIPermission 101 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kHomepage)); APIPermission 103 chrome/common/extensions/permissions/settings_override_permission_unittest.cc APIPermission::kSearchProvider)); APIPermission 105 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kHomepage)); APIPermission 106 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); APIPermission 108 chrome/common/extensions/permissions/settings_override_permission_unittest.cc permission_set->HasAPIPermission(APIPermission::kSearchProvider)); APIPermission 118 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_TRUE(permission_set->HasAPIPermission(APIPermission::kSearchProvider)); APIPermission 125 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kHomepage)); APIPermission 126 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); APIPermission 128 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kHomepage)); APIPermission 129 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); APIPermission 131 chrome/common/extensions/permissions/settings_override_permission_unittest.cc permission_set->HasAPIPermission(APIPermission::kSearchProvider)); APIPermission 142 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_TRUE(permission_set->HasAPIPermission(APIPermission::kSearchProvider)); APIPermission 143 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_TRUE(permission_set->HasAPIPermission(APIPermission::kHomepage)); APIPermission 144 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_TRUE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); APIPermission 146 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kHomepage)); APIPermission 147 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); APIPermission 149 chrome/common/extensions/permissions/settings_override_permission_unittest.cc permission_set->HasAPIPermission(APIPermission::kSearchProvider)); APIPermission 160 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_TRUE(permission_set->HasAPIPermission(APIPermission::kSearchProvider)); APIPermission 161 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_TRUE(permission_set->HasAPIPermission(APIPermission::kHomepage)); APIPermission 162 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); APIPermission 164 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kHomepage)); APIPermission 165 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); APIPermission 167 chrome/common/extensions/permissions/settings_override_permission_unittest.cc permission_set->HasAPIPermission(APIPermission::kSearchProvider)); APIPermission 267 chrome/common/extensions/permissions/socket_permission_unittest.cc PermissionsInfo::GetInstance()->GetByID(APIPermission::kSocket); APIPermission 272 chrome/common/extensions/permissions/socket_permission_unittest.cc scoped_ptr<APIPermission> permission1( APIPermission 274 chrome/common/extensions/permissions/socket_permission_unittest.cc scoped_ptr<APIPermission> permission2( APIPermission 287 chrome/common/extensions/permissions/socket_permission_unittest.cc scoped_ptr<APIPermission> permission1( APIPermission 289 chrome/common/extensions/permissions/socket_permission_unittest.cc scoped_ptr<APIPermission> permission2( APIPermission 309 chrome/common/extensions/permissions/socket_permission_unittest.cc PermissionsInfo::GetInstance()->GetByID(APIPermission::kSocket); APIPermission 311 chrome/common/extensions/permissions/socket_permission_unittest.cc scoped_ptr<APIPermission> permission1( APIPermission 313 chrome/common/extensions/permissions/socket_permission_unittest.cc scoped_ptr<APIPermission> permission2( APIPermission 53 chrome/common/extensions/permissions/usb_device_permission_unittest.cc PermissionsInfo::GetInstance()->GetByID(APIPermission::kUsbDevice)); APIPermission 45 chrome/common/extensions/sync_helper.cc extension->HasAPIPermission(APIPermission::kPlugin)) { APIPermission 481 chrome/renderer/chrome_content_renderer_client.cc const extensions::APIPermission::ID perms[] = { APIPermission 482 chrome/renderer/chrome_content_renderer_client.cc extensions::APIPermission::kWebView, APIPermission 483 chrome/renderer/chrome_content_renderer_client.cc extensions::APIPermission::kAdView APIPermission 37 chrome/renderer/content_settings_observer.cc using extensions::APIPermission; APIPermission 499 chrome/renderer/content_settings_observer.cc if (extension->HasAPIPermission(APIPermission::kExperimental)) APIPermission 1225 chrome/renderer/extensions/dispatcher.cc if (extension->HasAPIPermission(APIPermission::kWebView)) { APIPermission 1252 chrome/renderer/extensions/dispatcher.cc if (extension->HasAPIPermission(APIPermission::kAdView)) { APIPermission 1368 chrome/renderer/extensions/dispatcher.cc extension->HasAPIPermission(APIPermission::kManagement)) { APIPermission 214 extensions/browser/api/socket/socket_api.cc GetExtension(), APIPermission::kSocket, ¶m)) { APIPermission 279 extensions/browser/api/socket/socket_api.cc GetExtension(), APIPermission::kSocket, ¶m)) { APIPermission 312 extensions/browser/api/socket/socket_api.cc GetExtension(), APIPermission::kSocket, ¶m)) { APIPermission 514 extensions/browser/api/socket/socket_api.cc GetExtension(), APIPermission::kSocket, ¶m)) { APIPermission 728 extensions/browser/api/socket/socket_api.cc GetExtension(), APIPermission::kSocket, ¶m)) { APIPermission 772 extensions/browser/api/socket/socket_api.cc GetExtension(), APIPermission::kSocket, ¶m)) { APIPermission 879 extensions/browser/api/socket/socket_api.cc GetExtension(), APIPermission::kSocket, ¶m)) { APIPermission 65 extensions/browser/api/storage/local_value_store_cache.cc if (extension->HasAPIPermission(APIPermission::kUnlimitedStorage)) { APIPermission 978 extensions/browser/extension_prefs.cc std::string plugin_name = info->GetByID(APIPermission::kPlugin)->name(); APIPermission 145 extensions/browser/info_map.cc APIPermission::ID permission, APIPermission 171 extensions/browser/info_map.cc APIPermission::ID permission) APIPermission 83 extensions/browser/info_map.h extensions::APIPermission::ID permission, APIPermission 90 extensions/browser/info_map.h extensions::APIPermission::ID permission) APIPermission 147 extensions/browser/info_map_unittest.cc EXPECT_TRUE(match && match->HasAPIPermission(APIPermission::kNotification)); APIPermission 149 extensions/browser/info_map_unittest.cc EXPECT_TRUE(match && match->HasAPIPermission(APIPermission::kNotification)); APIPermission 150 extensions/browser/info_map_unittest.cc EXPECT_FALSE(match && match->HasAPIPermission(APIPermission::kTab)); APIPermission 155 extensions/browser/info_map_unittest.cc EXPECT_TRUE(match && match->HasAPIPermission(APIPermission::kTab)); APIPermission 156 extensions/browser/info_map_unittest.cc EXPECT_FALSE(match && match->HasAPIPermission(APIPermission::kNotification)); APIPermission 292 extensions/common/extension.cc bool Extension::HasAPIPermission(APIPermission::ID permission) const { APIPermission 246 extensions/common/extension.h bool HasAPIPermission(APIPermission::ID permission) const; APIPermission 14 extensions/common/extension_messages.cc using extensions::APIPermission; APIPermission 129 extensions/common/extension_messages.cc void ParamTraits<APIPermission::ID>::Write( APIPermission 134 extensions/common/extension_messages.cc bool ParamTraits<APIPermission::ID>::Read( APIPermission 140 extensions/common/extension_messages.cc *p = static_cast<APIPermission::ID>(api_id); APIPermission 144 extensions/common/extension_messages.cc void ParamTraits<APIPermission::ID>::Log( APIPermission 166 extensions/common/extension_messages.cc APIPermission::ID id; APIPermission 173 extensions/common/extension_messages.cc scoped_ptr<APIPermission> p(permission_info->CreateAPIPermission()); APIPermission 259 extensions/common/extension_messages.h struct ParamTraits<extensions::APIPermission::ID> { APIPermission 260 extensions/common/extension_messages.h typedef extensions::APIPermission::ID param_type; APIPermission 201 extensions/common/manifest_handlers/background_info.cc APIPermission::kBackground)) { APIPermission 301 extensions/common/manifest_handlers/background_info.cc APIPermission::kWebRequest)) { APIPermission 50 extensions/common/manifest_handlers/offline_enabled_info.cc ->count(APIPermission::kWebView); APIPermission 11 extensions/common/permissions/api_permission.cc using extensions::APIPermission; APIPermission 16 extensions/common/permissions/api_permission.cc class SimpleAPIPermission : public APIPermission { APIPermission 19 extensions/common/permissions/api_permission.cc : APIPermission(permission) { } APIPermission 35 extensions/common/permissions/api_permission.cc const APIPermission::CheckParam* param) const OVERRIDE { APIPermission 39 extensions/common/permissions/api_permission.cc virtual bool Contains(const APIPermission* rhs) const OVERRIDE { APIPermission 44 extensions/common/permissions/api_permission.cc virtual bool Equal(const APIPermission* rhs) const OVERRIDE { APIPermission 61 extensions/common/permissions/api_permission.cc virtual APIPermission* Clone() const OVERRIDE { APIPermission 65 extensions/common/permissions/api_permission.cc virtual APIPermission* Diff(const APIPermission* rhs) const OVERRIDE { APIPermission 70 extensions/common/permissions/api_permission.cc virtual APIPermission* Union(const APIPermission* rhs) const OVERRIDE { APIPermission 75 extensions/common/permissions/api_permission.cc virtual APIPermission* Intersect(const APIPermission* rhs) const OVERRIDE { APIPermission 93 extensions/common/permissions/api_permission.cc APIPermission::APIPermission(const APIPermissionInfo* info) APIPermission 98 extensions/common/permissions/api_permission.cc APIPermission::~APIPermission() { } APIPermission 100 extensions/common/permissions/api_permission.cc APIPermission::ID APIPermission::id() const { APIPermission 104 extensions/common/permissions/api_permission.cc const char* APIPermission::name() const { APIPermission 108 extensions/common/permissions/api_permission.cc PermissionMessage APIPermission::GetMessage_() const { APIPermission 117 extensions/common/permissions/api_permission.cc APIPermission::ID id, APIPermission 133 extensions/common/permissions/api_permission.cc APIPermission* APIPermissionInfo::CreateAPIPermission() const { APIPermission 30 extensions/common/permissions/api_permission.h class APIPermission { APIPermission 184 extensions/common/permissions/api_permission.h explicit APIPermission(const APIPermissionInfo* info); APIPermission 186 extensions/common/permissions/api_permission.h virtual ~APIPermission(); APIPermission 209 extensions/common/permissions/api_permission.h virtual bool Contains(const APIPermission* rhs) const = 0; APIPermission 212 extensions/common/permissions/api_permission.h virtual bool Equal(const APIPermission* rhs) const = 0; APIPermission 227 extensions/common/permissions/api_permission.h virtual APIPermission* Clone() const = 0; APIPermission 230 extensions/common/permissions/api_permission.h virtual APIPermission* Diff(const APIPermission* rhs) const = 0; APIPermission 233 extensions/common/permissions/api_permission.h virtual APIPermission* Union(const APIPermission* rhs) const = 0; APIPermission 236 extensions/common/permissions/api_permission.h virtual APIPermission* Intersect(const APIPermission* rhs) const = 0; APIPermission 280 extensions/common/permissions/api_permission.h typedef APIPermission* (*APIPermissionConstructor)(const APIPermissionInfo*); APIPermission 282 extensions/common/permissions/api_permission.h typedef std::set<APIPermission::ID> IDSet; APIPermission 287 extensions/common/permissions/api_permission.h APIPermission* CreateAPIPermission() const; APIPermission 291 extensions/common/permissions/api_permission.h APIPermission::ID id() const { return id_; } APIPermission 328 extensions/common/permissions/api_permission.h friend class APIPermission; APIPermission 331 extensions/common/permissions/api_permission.h APIPermission::ID id, APIPermission 342 extensions/common/permissions/api_permission.h const APIPermission::ID id_; APIPermission 32 extensions/common/permissions/api_permission_set.cc scoped_ptr<APIPermission> permission( APIPermission 122 extensions/common/permissions/api_permission_set.cc void APIPermissionSet::insert(APIPermission::ID id) { APIPermission 129 extensions/common/permissions/api_permission_set.cc void APIPermissionSet::insert(APIPermission* permission) { APIPermission 180 extensions/common/permissions/api_permission_set.cc if (ContainsKey(map(), APIPermission::kFileSystemWrite) && APIPermission 181 extensions/common/permissions/api_permission_set.cc ContainsKey(map(), APIPermission::kFileSystemDirectory)) { APIPermission 182 extensions/common/permissions/api_permission_set.cc insert(APIPermission::kFileSystemWriteDirectory); APIPermission 23 extensions/common/permissions/api_permission_set.h typedef APIPermission ElementType; APIPermission 24 extensions/common/permissions/api_permission_set.h typedef APIPermission::ID ElementIDType; APIPermission 39 extensions/common/permissions/api_permission_set.h void insert(APIPermission::ID id); APIPermission 43 extensions/common/permissions/api_permission_set.h void insert(APIPermission* permission); APIPermission 17 extensions/common/permissions/api_permission_set_unittest.cc apis.insert(APIPermission::kTab); APIPermission 18 extensions/common/permissions/api_permission_set_unittest.cc apis.insert(APIPermission::kBackground); APIPermission 19 extensions/common/permissions/api_permission_set_unittest.cc apis.insert(APIPermission::kProxy); APIPermission 20 extensions/common/permissions/api_permission_set_unittest.cc apis.insert(APIPermission::kClipboardWrite); APIPermission 21 extensions/common/permissions/api_permission_set_unittest.cc apis.insert(APIPermission::kPlugin); APIPermission 23 extensions/common/permissions/api_permission_set_unittest.cc EXPECT_EQ(apis.find(APIPermission::kProxy)->id(), APIPermission::kProxy); APIPermission 24 extensions/common/permissions/api_permission_set_unittest.cc EXPECT_TRUE(apis.find(APIPermission::kSocket) == apis.end()); APIPermission 28 extensions/common/permissions/api_permission_set_unittest.cc EXPECT_EQ(apis.erase(APIPermission::kTab), 1u); APIPermission 31 extensions/common/permissions/api_permission_set_unittest.cc EXPECT_EQ(apis.erase(APIPermission::kTab), 0u); APIPermission 36 extensions/common/permissions/api_permission_set_unittest.cc APIPermission* permission = NULL; APIPermission 44 extensions/common/permissions/api_permission_set_unittest.cc PermissionsInfo::GetInstance()->GetByID(APIPermission::kSocket); APIPermission 55 extensions/common/permissions/api_permission_set_unittest.cc apis1.insert(APIPermission::kTab); APIPermission 56 extensions/common/permissions/api_permission_set_unittest.cc apis1.insert(APIPermission::kBackground); APIPermission 58 extensions/common/permissions/api_permission_set_unittest.cc expected_apis.insert(APIPermission::kTab); APIPermission 59 extensions/common/permissions/api_permission_set_unittest.cc expected_apis.insert(APIPermission::kBackground); APIPermission 74 extensions/common/permissions/api_permission_set_unittest.cc apis2.insert(APIPermission::kTab); APIPermission 75 extensions/common/permissions/api_permission_set_unittest.cc apis2.insert(APIPermission::kProxy); APIPermission 76 extensions/common/permissions/api_permission_set_unittest.cc apis2.insert(APIPermission::kClipboardWrite); APIPermission 77 extensions/common/permissions/api_permission_set_unittest.cc apis2.insert(APIPermission::kPlugin); APIPermission 88 extensions/common/permissions/api_permission_set_unittest.cc expected_apis.insert(APIPermission::kTab); APIPermission 89 extensions/common/permissions/api_permission_set_unittest.cc expected_apis.insert(APIPermission::kProxy); APIPermission 90 extensions/common/permissions/api_permission_set_unittest.cc expected_apis.insert(APIPermission::kClipboardWrite); APIPermission 91 extensions/common/permissions/api_permission_set_unittest.cc expected_apis.insert(APIPermission::kPlugin); APIPermission 118 extensions/common/permissions/api_permission_set_unittest.cc APIPermission* permission = NULL; APIPermission 126 extensions/common/permissions/api_permission_set_unittest.cc PermissionsInfo::GetInstance()->GetByID(APIPermission::kSocket); APIPermission 129 extensions/common/permissions/api_permission_set_unittest.cc apis1.insert(APIPermission::kTab); APIPermission 130 extensions/common/permissions/api_permission_set_unittest.cc apis1.insert(APIPermission::kBackground); APIPermission 153 extensions/common/permissions/api_permission_set_unittest.cc apis2.insert(APIPermission::kTab); APIPermission 154 extensions/common/permissions/api_permission_set_unittest.cc apis2.insert(APIPermission::kProxy); APIPermission 155 extensions/common/permissions/api_permission_set_unittest.cc apis2.insert(APIPermission::kClipboardWrite); APIPermission 156 extensions/common/permissions/api_permission_set_unittest.cc apis2.insert(APIPermission::kPlugin); APIPermission 167 extensions/common/permissions/api_permission_set_unittest.cc expected_apis.insert(APIPermission::kTab); APIPermission 190 extensions/common/permissions/api_permission_set_unittest.cc APIPermission* permission = NULL; APIPermission 198 extensions/common/permissions/api_permission_set_unittest.cc PermissionsInfo::GetInstance()->GetByID(APIPermission::kSocket); APIPermission 201 extensions/common/permissions/api_permission_set_unittest.cc apis1.insert(APIPermission::kTab); APIPermission 202 extensions/common/permissions/api_permission_set_unittest.cc apis1.insert(APIPermission::kBackground); APIPermission 218 extensions/common/permissions/api_permission_set_unittest.cc apis2.insert(APIPermission::kTab); APIPermission 219 extensions/common/permissions/api_permission_set_unittest.cc apis2.insert(APIPermission::kProxy); APIPermission 220 extensions/common/permissions/api_permission_set_unittest.cc apis2.insert(APIPermission::kClipboardWrite); APIPermission 221 extensions/common/permissions/api_permission_set_unittest.cc apis2.insert(APIPermission::kPlugin); APIPermission 231 extensions/common/permissions/api_permission_set_unittest.cc expected_apis.insert(APIPermission::kBackground); APIPermission 255 extensions/common/permissions/api_permission_set_unittest.cc APIPermission* permission = NULL; APIPermission 261 extensions/common/permissions/api_permission_set_unittest.cc PermissionsInfo::GetInstance()->GetByID(APIPermission::kSocket); APIPermission 263 extensions/common/permissions/api_permission_set_unittest.cc apis.insert(APIPermission::kTab); APIPermission 264 extensions/common/permissions/api_permission_set_unittest.cc apis.insert(APIPermission::kBackground); APIPermission 286 extensions/common/permissions/api_permission_set_unittest.cc apis.insert(APIPermission::kFileSystemWrite); APIPermission 289 extensions/common/permissions/api_permission_set_unittest.cc EXPECT_EQ(apis.find(APIPermission::kFileSystemWrite)->id(), APIPermission 290 extensions/common/permissions/api_permission_set_unittest.cc APIPermission::kFileSystemWrite); APIPermission 293 extensions/common/permissions/api_permission_set_unittest.cc apis.erase(APIPermission::kFileSystemWrite); APIPermission 294 extensions/common/permissions/api_permission_set_unittest.cc apis.insert(APIPermission::kFileSystemDirectory); APIPermission 297 extensions/common/permissions/api_permission_set_unittest.cc EXPECT_EQ(apis.find(APIPermission::kFileSystemDirectory)->id(), APIPermission 298 extensions/common/permissions/api_permission_set_unittest.cc APIPermission::kFileSystemDirectory); APIPermission 301 extensions/common/permissions/api_permission_set_unittest.cc apis.insert(APIPermission::kFileSystemWrite); APIPermission 304 extensions/common/permissions/api_permission_set_unittest.cc EXPECT_EQ(apis.find(APIPermission::kFileSystemWrite)->id(), APIPermission 305 extensions/common/permissions/api_permission_set_unittest.cc APIPermission::kFileSystemWrite); APIPermission 306 extensions/common/permissions/api_permission_set_unittest.cc EXPECT_EQ(apis.find(APIPermission::kFileSystemDirectory)->id(), APIPermission 307 extensions/common/permissions/api_permission_set_unittest.cc APIPermission::kFileSystemDirectory); APIPermission 308 extensions/common/permissions/api_permission_set_unittest.cc EXPECT_EQ(apis.find(APIPermission::kFileSystemWriteDirectory)->id(), APIPermission 309 extensions/common/permissions/api_permission_set_unittest.cc APIPermission::kFileSystemWriteDirectory); APIPermission 29 extensions/common/permissions/media_galleries_permission.h struct CheckParam : public APIPermission::CheckParam { APIPermission 17 extensions/common/permissions/media_galleries_permission_data.cc const APIPermission::CheckParam* param) const { APIPermission 28 extensions/common/permissions/media_galleries_permission_data.h bool Check(const APIPermission::CheckParam* param) const; APIPermission 176 extensions/common/permissions/permission_set.cc APIPermission::ID id) const { APIPermission 188 extensions/common/permissions/permission_set.cc bool PermissionSet::CheckAPIPermission(APIPermission::ID permission) const { APIPermission 193 extensions/common/permissions/permission_set.cc APIPermission::ID permission, APIPermission 194 extensions/common/permissions/permission_set.cc const APIPermission::CheckParam* param) const { APIPermission 250 extensions/common/permissions/permission_set.cc if (apis_.find(APIPermission::kDownloads) != apis_.end()) APIPermission 251 extensions/common/permissions/permission_set.cc apis_.insert(APIPermission::kDownloadsInternal); APIPermission 255 extensions/common/permissions/permission_set.cc if (apis_.find(APIPermission::kWebView) != apis_.end()) APIPermission 256 extensions/common/permissions/permission_set.cc apis_.insert(APIPermission::kWebRequestInternal); APIPermission 259 extensions/common/permissions/permission_set.cc if (apis_.find(APIPermission::kWebRequest) != apis_.end()) APIPermission 260 extensions/common/permissions/permission_set.cc apis_.insert(APIPermission::kWebRequestInternal); APIPermission 263 extensions/common/permissions/permission_set.cc if (apis_.find(APIPermission::kFileBrowserHandler) != apis_.end()) APIPermission 264 extensions/common/permissions/permission_set.cc apis_.insert(APIPermission::kFileBrowserHandlerInternal); APIPermission 74 extensions/common/permissions/permission_set.h bool HasAPIPermission(APIPermission::ID permission) const; APIPermission 83 extensions/common/permissions/permission_set.h bool CheckAPIPermission(APIPermission::ID permission) const; APIPermission 86 extensions/common/permissions/permission_set.h bool CheckAPIPermissionWithParam(APIPermission::ID permission, APIPermission 87 extensions/common/permissions/permission_set.h const APIPermission::CheckParam* param) const; APIPermission 124 extensions/common/permissions/permission_set.h void AddAPIPermission(APIPermission::ID id); APIPermission 121 extensions/common/permissions/permissions_data.cc std::vector<APIPermission::ID> to_remove; APIPermission 153 extensions/common/permissions/permissions_data.cc if (iter->id() == APIPermission::kExperimental) { APIPermission 164 extensions/common/permissions/permissions_data.cc for (std::vector<APIPermission::ID>::const_iterator iter = to_remove.begin(); APIPermission 349 extensions/common/permissions/permissions_data.cc APIPermission::ID permission) { APIPermission 366 extensions/common/permissions/permissions_data.cc APIPermission::ID permission) { APIPermission 381 extensions/common/permissions/permissions_data.cc APIPermission::ID permission, APIPermission 382 extensions/common/permissions/permissions_data.cc const APIPermission::CheckParam* param) { APIPermission 553 extensions/common/permissions/permissions_data.cc tab_permissions->HasAPIPermission(APIPermission::kTab)) { APIPermission 101 extensions/common/permissions/permissions_data.h APIPermission::ID permission); APIPermission 106 extensions/common/permissions/permissions_data.h APIPermission::ID permission); APIPermission 110 extensions/common/permissions/permissions_data.h APIPermission::ID permission, APIPermission 111 extensions/common/permissions/permissions_data.h const APIPermission::CheckParam* param); APIPermission 44 extensions/common/permissions/permissions_data_unittest.cc extension.get(), APIPermission::kSocket, ¶m); APIPermission 28 extensions/common/permissions/permissions_info.cc APIPermission::ID id) const { APIPermission 30 extensions/common/permissions/permissions_info.h const APIPermissionInfo* GetByID(APIPermission::ID id) const; APIPermission 65 extensions/common/permissions/permissions_info.h typedef std::map<APIPermission::ID, APIPermissionInfo*> IDMap; APIPermission 30 extensions/common/permissions/set_disjunction_permission.h class SetDisjunctionPermission : public APIPermission { APIPermission 33 extensions/common/permissions/set_disjunction_permission.h : APIPermission(info) {} APIPermission 40 extensions/common/permissions/set_disjunction_permission.h virtual bool Check(const APIPermission::CheckParam* param) const OVERRIDE { APIPermission 51 extensions/common/permissions/set_disjunction_permission.h virtual bool Contains(const APIPermission* rhs) const OVERRIDE { APIPermission 61 extensions/common/permissions/set_disjunction_permission.h virtual bool Equal(const APIPermission* rhs) const OVERRIDE { APIPermission 68 extensions/common/permissions/set_disjunction_permission.h virtual APIPermission* Clone() const OVERRIDE { APIPermission 74 extensions/common/permissions/set_disjunction_permission.h virtual APIPermission* Diff(const APIPermission* rhs) const OVERRIDE { APIPermission 88 extensions/common/permissions/set_disjunction_permission.h virtual APIPermission* Union(const APIPermission* rhs) const OVERRIDE { APIPermission 102 extensions/common/permissions/set_disjunction_permission.h virtual APIPermission* Intersect(const APIPermission* rhs) const OVERRIDE { APIPermission 16 extensions/common/permissions/settings_override_permission.cc : APIPermission(permission), setting_value_(setting_value) {} APIPermission 52 extensions/common/permissions/settings_override_permission.cc const APIPermission::CheckParam* param) const { APIPermission 56 extensions/common/permissions/settings_override_permission.cc bool SettingsOverrideAPIPermission::Contains(const APIPermission* rhs) const { APIPermission 61 extensions/common/permissions/settings_override_permission.cc bool SettingsOverrideAPIPermission::Equal(const APIPermission* rhs) const { APIPermission 78 extensions/common/permissions/settings_override_permission.cc APIPermission* SettingsOverrideAPIPermission::Clone() const { APIPermission 82 extensions/common/permissions/settings_override_permission.cc APIPermission* SettingsOverrideAPIPermission::Diff( APIPermission 83 extensions/common/permissions/settings_override_permission.cc const APIPermission* rhs) const { APIPermission 88 extensions/common/permissions/settings_override_permission.cc APIPermission* SettingsOverrideAPIPermission::Union( APIPermission 89 extensions/common/permissions/settings_override_permission.cc const APIPermission* rhs) const { APIPermission 94 extensions/common/permissions/settings_override_permission.cc APIPermission* SettingsOverrideAPIPermission::Intersect( APIPermission 95 extensions/common/permissions/settings_override_permission.cc const APIPermission* rhs) const { APIPermission 16 extensions/common/permissions/settings_override_permission.h class SettingsOverrideAPIPermission : public APIPermission { APIPermission 25 extensions/common/permissions/settings_override_permission.h virtual bool Check(const APIPermission::CheckParam* param) const OVERRIDE; APIPermission 26 extensions/common/permissions/settings_override_permission.h virtual bool Contains(const APIPermission* rhs) const OVERRIDE; APIPermission 27 extensions/common/permissions/settings_override_permission.h virtual bool Equal(const APIPermission* rhs) const OVERRIDE; APIPermission 33 extensions/common/permissions/settings_override_permission.h virtual APIPermission* Clone() const OVERRIDE; APIPermission 34 extensions/common/permissions/settings_override_permission.h virtual APIPermission* Diff(const APIPermission* rhs) const OVERRIDE; APIPermission 35 extensions/common/permissions/settings_override_permission.h virtual APIPermission* Union(const APIPermission* rhs) const OVERRIDE; APIPermission 36 extensions/common/permissions/settings_override_permission.h virtual APIPermission* Intersect(const APIPermission* rhs) const OVERRIDE; APIPermission 19 extensions/common/permissions/socket_permission.h struct CheckParam : APIPermission::CheckParam { APIPermission 95 extensions/common/permissions/socket_permission_data.cc bool SocketPermissionData::Check(const APIPermission::CheckParam* param) const { APIPermission 55 extensions/common/permissions/socket_permission_data.h bool Check(const APIPermission::CheckParam* param) const; APIPermission 19 extensions/common/permissions/usb_device_permission.h struct CheckParam : public APIPermission::CheckParam { APIPermission 41 extensions/common/permissions/usb_device_permission_data.cc const APIPermission::CheckParam* param) const { APIPermission 44 extensions/common/permissions/usb_device_permission_data.h bool Check(const APIPermission::CheckParam* param) const;