HasAPIPermission 420 apps/app_window.cc !extension_->HasAPIPermission(APIPermission::kOverrideEscFullscreen)) { HasAPIPermission 264 apps/saved_files_service.cc !extension->GetActivePermissions()->HasAPIPermission( HasAPIPermission 280 chrome/browser/background/background_application_list_model.cc if (!extension.HasAPIPermission(APIPermission::kPushMessaging)) HasAPIPermission 309 chrome/browser/background/background_application_list_model.cc if (!extension.HasAPIPermission(APIPermission::kBackground) && HasAPIPermission 401 chrome/browser/background/background_application_list_model.cc if (permissions->HasAPIPermission(APIPermission::kBackground)) { HasAPIPermission 322 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_FALSE(ext->HasAPIPermission(APIPermission::kBackground)); HasAPIPermission 324 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_TRUE(bgapp->HasAPIPermission(APIPermission::kBackground)); HasAPIPermission 341 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_TRUE(ext->HasAPIPermission(APIPermission::kBackground)); HasAPIPermission 345 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_FALSE(bgapp->HasAPIPermission(APIPermission::kBackground)); HasAPIPermission 349 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_FALSE(ext->HasAPIPermission(APIPermission::kBackground)); HasAPIPermission 353 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_TRUE(bgapp->HasAPIPermission(APIPermission::kBackground)); HasAPIPermission 349 chrome/browser/background/background_mode_manager.cc if (info->permissions->HasAPIPermission( HasAPIPermission 1045 chrome/browser/chrome_content_browser_client.cc if (!extension->HasAPIPermission(APIPermission::kBackground) || HasAPIPermission 2499 chrome/browser/chrome_content_browser_client.cc return extension->HasAPIPermission(APIPermission::kWebView) || HasAPIPermission 2500 chrome/browser/chrome_content_browser_client.cc extension->HasAPIPermission(APIPermission::kAdView); HasAPIPermission 2537 chrome/browser/chrome_content_browser_client.cc if (extensions::PermissionsData::HasAPIPermission( HasAPIPermission 1475 chrome/browser/devtools/devtools_window.cc new base::FundamentalValue((*extension)->HasAPIPermission( HasAPIPermission 49 chrome/browser/extensions/active_tab_permission_granter.cc if (extension->HasAPIPermission(APIPermission::kActiveTab)) { HasAPIPermission 59 chrome/browser/extensions/active_tab_permission_granter.cc if (extension->HasAPIPermission(APIPermission::kTabCapture)) HasAPIPermission 442 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc if (!GetExtension()->HasAPIPermission( HasAPIPermission 227 chrome/browser/extensions/api/app_window/app_window_api.cc (GetExtension()->HasAPIPermission(APIPermission::kExperimental) || HasAPIPermission 240 chrome/browser/extensions/api/app_window/app_window_api.cc GetExtension()->HasAPIPermission(APIPermission::kAlwaysOnTopWindows)) HasAPIPermission 421 chrome/browser/extensions/api/app_window/app_window_api.cc (GetExtension()->HasAPIPermission(APIPermission::kExperimental) || HasAPIPermission 186 chrome/browser/extensions/api/commands/command_service.cc (extensions::PermissionsData::HasAPIPermission( HasAPIPermission 205 chrome/browser/extensions/api/commands/command_service.cc extensions::PermissionsData::HasAPIPermission( HasAPIPermission 62 chrome/browser/extensions/api/declarative/declarative_api.cc extension_->HasAPIPermission(extensions::APIPermission::kWebView)) HasAPIPermission 139 chrome/browser/extensions/api/declarative/rules_cache_delegate.cc (*i)->HasAPIPermission(APIPermission::kDeclarativeContent) || HasAPIPermission 140 chrome/browser/extensions/api/declarative/rules_cache_delegate.cc (*i)->HasAPIPermission(APIPermission::kDeclarativeWebRequest); HasAPIPermission 352 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc extension->HasAPIPermission(APIPermission::kDeclarativeWebRequest)); HasAPIPermission 733 chrome/browser/extensions/api/developer_private/developer_private_api.cc if (extension->HasAPIPermission(extensions::APIPermission::kFileSystem)) { HasAPIPermission 1362 chrome/browser/extensions/api/downloads/downloads_api.cc Fault(!GetExtension()->HasAPIPermission( HasAPIPermission 1407 chrome/browser/extensions/api/downloads/downloads_api.cc if (!GetExtension()->HasAPIPermission( HasAPIPermission 355 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc return extension->HasAPIPermission(APIPermission::kFileSystemWrite); HasAPIPermission 389 chrome/browser/extensions/api/file_system/file_system_api.cc !extension_->HasAPIPermission(APIPermission::kFileSystemDirectory)) { HasAPIPermission 867 chrome/browser/extensions/api/file_system/file_system_api.cc if (!extension_->HasAPIPermission(APIPermission::kFileSystemDirectory)) { HasAPIPermission 412 chrome/browser/extensions/api/location/location_manager.cc if (extension->HasAPIPermission(APIPermission::kLocation)) { HasAPIPermission 364 chrome/browser/extensions/api/messaging/message_service.cc has_permission = extension && extension->HasAPIPermission( HasAPIPermission 95 chrome/browser/extensions/api/permissions/permissions_api_helpers_unittest.cc EXPECT_TRUE(permissions->HasAPIPermission(APIPermission::kTab)); HasAPIPermission 516 chrome/browser/extensions/api/preference/preference_api.cc if (!GetExtension()->HasAPIPermission(permission)) { HasAPIPermission 104 chrome/browser/extensions/api/preference/preference_helpers.cc (*it)->HasAPIPermission(permission) && HasAPIPermission 340 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc if (extension->HasAPIPermission(APIPermission::kPushMessaging)) { HasAPIPermission 347 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc if (extension->HasAPIPermission(APIPermission::kPushMessaging)) { HasAPIPermission 355 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc if (extension->HasAPIPermission(APIPermission::kPushMessaging)) { HasAPIPermission 2198 chrome/browser/extensions/api/web_request/web_request_api.cc !extension->HasAPIPermission( HasAPIPermission 93 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc (*it)->HasAPIPermission("webrtcAudioPrivate")) { HasAPIPermission 33 chrome/browser/extensions/extension_gcm_app_handler.cc return PermissionsData::HasAPIPermission(extension, APIPermission::kGcm); HasAPIPermission 173 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kGcm)); HasAPIPermission 1986 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(permissions->HasAPIPermission(APIPermission::kPlugin)); HasAPIPermission 2588 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(extension->HasAPIPermission( HasAPIPermission 2602 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(extension->HasAPIPermission( HasAPIPermission 2987 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(permissions->HasAPIPermission(APIPermission::kPlugin)); HasAPIPermission 4422 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(extension->HasAPIPermission( HasAPIPermission 4435 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(extension->HasAPIPermission( HasAPIPermission 106 chrome/browser/extensions/extension_special_storage_policy.cc extension->HasAPIPermission(APIPermission::kUnlimitedStorage) || HasAPIPermission 107 chrome/browser/extensions/extension_special_storage_policy.cc extension->HasAPIPermission(APIPermission::kFileBrowserHandler) || HasAPIPermission 122 chrome/browser/extensions/extension_special_storage_policy.cc if (extension->HasAPIPermission(APIPermission::kUnlimitedStorage) && HasAPIPermission 126 chrome/browser/extensions/extension_special_storage_policy.cc if (extension->HasAPIPermission(APIPermission::kFileBrowserHandler)) HasAPIPermission 143 chrome/browser/extensions/extension_special_storage_policy.cc extension->HasAPIPermission(APIPermission::kUnlimitedStorage) || HasAPIPermission 144 chrome/browser/extensions/extension_special_storage_policy.cc extension->HasAPIPermission(APIPermission::kFileBrowserHandler) || HasAPIPermission 158 chrome/browser/extensions/extension_special_storage_policy.cc if (extension->HasAPIPermission(APIPermission::kUnlimitedStorage) && HasAPIPermission 162 chrome/browser/extensions/extension_special_storage_policy.cc if (extension->HasAPIPermission(APIPermission::kFileBrowserHandler)) HasAPIPermission 189 chrome/browser/extensions/extension_tab_util.cc bool has_permission = extension && extension->HasAPIPermission( HasAPIPermission 68 chrome/browser/extensions/suggest_permission_util.cc if (extension && extension->HasAPIPermission(permission)) HasAPIPermission 81 chrome/browser/extensions/suggest_permission_util.cc if (extension && extension->HasAPIPermission(permission)) HasAPIPermission 537 chrome/browser/media/media_capture_devices_dispatcher.cc extension->HasAPIPermission(extensions::APIPermission::kTabCapture)) { HasAPIPermission 544 chrome/browser/media/media_capture_devices_dispatcher.cc extension->HasAPIPermission(extensions::APIPermission::kTabCapture)) { HasAPIPermission 572 chrome/browser/media/media_capture_devices_dispatcher.cc extension->HasAPIPermission(extensions::APIPermission::kAudioCapture)) { HasAPIPermission 577 chrome/browser/media/media_capture_devices_dispatcher.cc extension->HasAPIPermission(extensions::APIPermission::kVideoCapture)) { HasAPIPermission 98 chrome/browser/media_galleries/media_galleries_preferences.cc if (extensions::PermissionsData::HasAPIPermission( HasAPIPermission 100 chrome/browser/media_galleries/media_galleries_preferences.cc extensions::PermissionsData::HasAPIPermission( HasAPIPermission 228 chrome/browser/notifications/message_center_settings_controller.cc if (!extension->HasAPIPermission( HasAPIPermission 37 chrome/browser/ui/omnibox/location_bar.cc (extensions::PermissionsData::HasAPIPermission( HasAPIPermission 170 chrome/browser/ui/views/location_bar/location_bar_view.cc return extensions::PermissionsData::HasAPIPermission( HasAPIPermission 1050 chrome/browser/ui/webui/extensions/extension_settings_handler.cc if (extension->HasAPIPermission(APIPermission::kFileSystem)) { HasAPIPermission 214 chrome/browser/ui/webui/options/content_settings_handler.cc return extension.is_hosted_app() && extension.HasAPIPermission(permission); HasAPIPermission 41 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kWebConnectable)); HasAPIPermission 101 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(extension->HasAPIPermission(APIPermission::kWebConnectable)); HasAPIPermission 120 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kWebConnectable)); HasAPIPermission 163 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kWebConnectable)); HasAPIPermission 187 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc EXPECT_FALSE(extension->HasAPIPermission(APIPermission::kWebConnectable)); HasAPIPermission 16 chrome/common/extensions/manifest_tests/extension_manifests_old_unittest.cc EXPECT_TRUE(extension->HasAPIPermission( HasAPIPermission 952 chrome/common/extensions/permissions/permission_set_unittest.cc EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kSerial)); HasAPIPermission 966 chrome/common/extensions/permissions/permission_set_unittest.cc EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kSocket)); HasAPIPermission 980 chrome/common/extensions/permissions/permission_set_unittest.cc EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kSocket)); HasAPIPermission 1006 chrome/common/extensions/permissions/permission_set_unittest.cc EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kSocket)); HasAPIPermission 1433 chrome/common/extensions/permissions/permission_set_unittest.cc EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kSyncFileSystem)); HasAPIPermission 70 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_TRUE(permission_set->HasAPIPermission(APIPermission::kHomepage)); HasAPIPermission 77 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); HasAPIPermission 78 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission( HasAPIPermission 81 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kHomepage)); HasAPIPermission 82 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); HasAPIPermission 84 chrome/common/extensions/permissions/settings_override_permission_unittest.cc permission_set->HasAPIPermission(APIPermission::kSearchProvider)); HasAPIPermission 94 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_TRUE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); HasAPIPermission 101 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kHomepage)); HasAPIPermission 102 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission( HasAPIPermission 105 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kHomepage)); HasAPIPermission 106 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); HasAPIPermission 108 chrome/common/extensions/permissions/settings_override_permission_unittest.cc permission_set->HasAPIPermission(APIPermission::kSearchProvider)); HasAPIPermission 118 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_TRUE(permission_set->HasAPIPermission(APIPermission::kSearchProvider)); HasAPIPermission 125 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kHomepage)); HasAPIPermission 126 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); HasAPIPermission 128 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kHomepage)); HasAPIPermission 129 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); HasAPIPermission 131 chrome/common/extensions/permissions/settings_override_permission_unittest.cc permission_set->HasAPIPermission(APIPermission::kSearchProvider)); HasAPIPermission 142 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_TRUE(permission_set->HasAPIPermission(APIPermission::kSearchProvider)); HasAPIPermission 143 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_TRUE(permission_set->HasAPIPermission(APIPermission::kHomepage)); HasAPIPermission 144 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_TRUE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); HasAPIPermission 146 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kHomepage)); HasAPIPermission 147 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); HasAPIPermission 149 chrome/common/extensions/permissions/settings_override_permission_unittest.cc permission_set->HasAPIPermission(APIPermission::kSearchProvider)); HasAPIPermission 160 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_TRUE(permission_set->HasAPIPermission(APIPermission::kSearchProvider)); HasAPIPermission 161 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_TRUE(permission_set->HasAPIPermission(APIPermission::kHomepage)); HasAPIPermission 162 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); HasAPIPermission 164 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kHomepage)); HasAPIPermission 165 chrome/common/extensions/permissions/settings_override_permission_unittest.cc EXPECT_FALSE(permission_set->HasAPIPermission(APIPermission::kStartupPages)); HasAPIPermission 167 chrome/common/extensions/permissions/settings_override_permission_unittest.cc permission_set->HasAPIPermission(APIPermission::kSearchProvider)); HasAPIPermission 45 chrome/common/extensions/sync_helper.cc extension->HasAPIPermission(APIPermission::kPlugin)) { HasAPIPermission 486 chrome/renderer/chrome_content_renderer_client.cc if (extension->HasAPIPermission(perms[i])) HasAPIPermission 499 chrome/renderer/content_settings_observer.cc if (extension->HasAPIPermission(APIPermission::kExperimental)) HasAPIPermission 1225 chrome/renderer/extensions/dispatcher.cc if (extension->HasAPIPermission(APIPermission::kWebView)) { HasAPIPermission 1252 chrome/renderer/extensions/dispatcher.cc if (extension->HasAPIPermission(APIPermission::kAdView)) { HasAPIPermission 1368 chrome/renderer/extensions/dispatcher.cc extension->HasAPIPermission(APIPermission::kManagement)) { HasAPIPermission 65 extensions/browser/api/storage/local_value_store_cache.cc if (extension->HasAPIPermission(APIPermission::kUnlimitedStorage)) { HasAPIPermission 96 extensions/browser/api/storage/settings_test_util.cc DCHECK(extension->HasAPIPermission(*it)); HasAPIPermission 152 extensions/browser/info_map.cc if (extension && extension->HasAPIPermission(permission) && HasAPIPermission 163 extensions/browser/info_map.cc (*i)->HasAPIPermission(permission)) { HasAPIPermission 147 extensions/browser/info_map_unittest.cc EXPECT_TRUE(match && match->HasAPIPermission(APIPermission::kNotification)); HasAPIPermission 149 extensions/browser/info_map_unittest.cc EXPECT_TRUE(match && match->HasAPIPermission(APIPermission::kNotification)); HasAPIPermission 150 extensions/browser/info_map_unittest.cc EXPECT_FALSE(match && match->HasAPIPermission(APIPermission::kTab)); HasAPIPermission 155 extensions/browser/info_map_unittest.cc EXPECT_TRUE(match && match->HasAPIPermission(APIPermission::kTab)); HasAPIPermission 156 extensions/browser/info_map_unittest.cc EXPECT_FALSE(match && match->HasAPIPermission(APIPermission::kNotification)); HasAPIPermission 293 extensions/common/extension.cc return PermissionsData::HasAPIPermission(this, permission); HasAPIPermission 297 extensions/common/extension.cc return PermissionsData::HasAPIPermission(this, permission_name); HasAPIPermission 246 extensions/common/extension.h bool HasAPIPermission(APIPermission::ID permission) const; HasAPIPermission 247 extensions/common/extension.h bool HasAPIPermission(const std::string& permission_name) const; HasAPIPermission 30 extensions/common/features/permission_feature.cc if (extension && !PermissionsData::HasAPIPermission(extension, name())) HasAPIPermission 74 extensions/common/permissions/permission_set.h bool HasAPIPermission(APIPermission::ID permission) const; HasAPIPermission 79 extensions/common/permissions/permission_set.h bool HasAPIPermission(const std::string& permission_name) const; HasAPIPermission 351 extensions/common/permissions/permissions_data.cc return GetActivePermissions(extension)->HasAPIPermission(permission); HasAPIPermission 359 extensions/common/permissions/permissions_data.cc return GetActivePermissions(extension)->HasAPIPermission(permission_name); HasAPIPermission 367 extensions/common/permissions/permissions_data.cc if (HasAPIPermission(extension, permission)) HasAPIPermission 375 extensions/common/permissions/permissions_data.cc return tab_permissions.get() && tab_permissions->HasAPIPermission(permission); HasAPIPermission 553 extensions/common/permissions/permissions_data.cc tab_permissions->HasAPIPermission(APIPermission::kTab)) { HasAPIPermission 100 extensions/common/permissions/permissions_data.h static bool HasAPIPermission(const Extension* extension, HasAPIPermission 102 extensions/common/permissions/permissions_data.h static bool HasAPIPermission(const Extension* extension,