AddRule 2685 chrome/browser/chrome_content_browser_client.cc sandbox::ResultCode result = policy->AddRule( AddRule 2696 chrome/browser/chrome_content_browser_client.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_HANDLES, AddRule 212 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc host_resolver()->AddRule(kWebstoreDomain, "127.0.0.1"); AddRule 9 chrome/browser/chromeos/extensions/wallpaper_apitest.cc host_resolver()->AddRule("a.com", "127.0.0.1"); AddRule 10 chrome/browser/chromeos/extensions/wallpaper_private_apitest.cc host_resolver()->AddRule("a.com", "127.0.0.1"); AddRule 96 chrome/browser/chromeos/first_run/drive_first_run_browsertest.cc host_resolver()->AddRule("example.com", "127.0.0.1"); AddRule 63 chrome/browser/chromeos/login/oobe_base_test.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 221 chrome/browser/chromeos/login/saml/saml_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 65 chrome/browser/extensions/activity_log/activity_log_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 50 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 112 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 141 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 171 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 206 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 61 chrome/browser/extensions/api/activity_log_private/activity_log_private_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 36 chrome/browser/extensions/api/cloud_print_private/cloud_print_private_apitest.cc host_resolver()->AddRule("www.cloudprintapp.com", "127.0.0.1"); AddRule 80 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc return AddRule(extension_id, rule_id, registry_.get()); AddRule 115 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc EXPECT_EQ("Error", AddRule(extension1_->id(), kRuleId)); AddRule 120 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc EXPECT_EQ("", AddRule(extension1_->id(), kRule2Id)); AddRule 124 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc EXPECT_NE("", AddRule(extension1_->id(), kRuleId)); AddRule 128 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc EXPECT_EQ("", AddRule(extension2_->id(), kRuleId)); AddRule 135 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc EXPECT_EQ("", AddRule(extension1_->id(), kRuleId)); AddRule 136 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc EXPECT_EQ("", AddRule(extension2_->id(), kRuleId)); AddRule 159 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc EXPECT_EQ("", AddRule(extension1_->id(), kRuleId)); AddRule 160 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc EXPECT_EQ("", AddRule(extension1_->id(), kRule2Id)); AddRule 161 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc EXPECT_EQ("", AddRule(extension2_->id(), kRuleId)); AddRule 180 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc EXPECT_EQ("", AddRule(extension1_->id(), kRuleId)); AddRule 181 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc EXPECT_EQ("", AddRule(extension1_->id(), kRule2Id)); AddRule 182 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc EXPECT_EQ("", AddRule(extension2_->id(), kRuleId)); AddRule 197 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc EXPECT_EQ("", AddRule(extension1_->id(), kRuleId)); AddRule 198 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc EXPECT_EQ("", AddRule(extension1_->id(), kRule2Id)); AddRule 199 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc EXPECT_EQ("", AddRule(extension2_->id(), kRuleId)); AddRule 215 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc EXPECT_EQ("", AddRule(extension1_->id(), kRuleId)); AddRule 216 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc EXPECT_EQ("", AddRule(extension2_->id(), kRuleId)); AddRule 364 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc AddRule(extension1_->id(), kRuleId, registry.get()); AddRule 391 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc EXPECT_EQ("", AddRule(extension1_->id(), kRuleId)); AddRule 392 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc EXPECT_EQ("", AddRule(extension2_->id(), kRule2Id)); AddRule 194 chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc host_resolver()->AddRule("*", embedded_test_server()->base_url().host()); AddRule 44 chrome/browser/extensions/api/dns/mock_host_resolver_creator.cc mock_host_resolver_->rules()->AddRule(kHostname, kAddress); AddRule 20 chrome/browser/extensions/api/history/history_apitest.cc host_resolver()->AddRule("www.a.com", "127.0.0.1"); AddRule 21 chrome/browser/extensions/api/history/history_apitest.cc host_resolver()->AddRule("www.b.com", "127.0.0.1"); AddRule 43 chrome/browser/extensions/api/page_capture/page_capture_apitest.cc host_resolver()->AddRule("www.a.com", "127.0.0.1"); AddRule 86 chrome/browser/extensions/api/permissions/permissions_apitest.cc host_resolver()->AddRule("*.com", "127.0.0.1"); AddRule 97 chrome/browser/extensions/api/permissions/permissions_apitest.cc host_resolver()->AddRule("*.com", "127.0.0.1"); AddRule 106 chrome/browser/extensions/api/permissions/permissions_apitest.cc host_resolver()->AddRule("*.com", "127.0.0.1"); AddRule 115 chrome/browser/extensions/api/permissions/permissions_apitest.cc host_resolver()->AddRule("*.com", "127.0.0.1"); AddRule 279 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc host_resolver()->AddRule(initial_host, "127.0.0.1"); AddRule 275 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 62 chrome/browser/extensions/api/web_request/web_request_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 106 chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc host_resolver()->AddRule("www.example.com", "127.0.0.1"); AddRule 215 chrome/browser/extensions/app_background_page_apitest.cc host_resolver()->AddRule("a.com", "127.0.0.1"); AddRule 248 chrome/browser/extensions/app_background_page_apitest.cc host_resolver()->AddRule("a.com", "127.0.0.1"); AddRule 276 chrome/browser/extensions/app_background_page_apitest.cc host_resolver()->AddRule("a.com", "127.0.0.1"); AddRule 329 chrome/browser/extensions/app_background_page_apitest.cc host_resolver()->AddRule("a.com", "127.0.0.1"); AddRule 373 chrome/browser/extensions/app_background_page_apitest.cc host_resolver()->AddRule("a.com", "127.0.0.1"); AddRule 413 chrome/browser/extensions/app_background_page_apitest.cc host_resolver()->AddRule("a.com", "127.0.0.1"); AddRule 442 chrome/browser/extensions/app_background_page_apitest.cc host_resolver()->AddRule("a.com", "127.0.0.1"); AddRule 477 chrome/browser/extensions/app_background_page_apitest.cc host_resolver()->AddRule("a.com", "127.0.0.1"); AddRule 507 chrome/browser/extensions/app_background_page_apitest.cc host_resolver()->AddRule("a.com", "127.0.0.1"); AddRule 553 chrome/browser/extensions/app_background_page_apitest.cc host_resolver()->AddRule("a.com", "127.0.0.1"); AddRule 75 chrome/browser/extensions/app_process_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 152 chrome/browser/extensions/app_process_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 300 chrome/browser/extensions/app_process_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 387 chrome/browser/extensions/app_process_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 432 chrome/browser/extensions/app_process_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 479 chrome/browser/extensions/app_process_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 544 chrome/browser/extensions/app_process_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 615 chrome/browser/extensions/app_process_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 652 chrome/browser/extensions/app_process_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 680 chrome/browser/extensions/app_process_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 719 chrome/browser/extensions/app_process_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 765 chrome/browser/extensions/app_process_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 803 chrome/browser/extensions/app_process_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 845 chrome/browser/extensions/app_process_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 107 chrome/browser/extensions/chrome_app_api_browsertest.cc host_resolver()->AddRule(app_host, "127.0.0.1"); AddRule 108 chrome/browser/extensions/chrome_app_api_browsertest.cc host_resolver()->AddRule(nonapp_host, "127.0.0.1"); AddRule 195 chrome/browser/extensions/chrome_app_api_browsertest.cc host_resolver()->AddRule(app_host, "127.0.0.1"); AddRule 196 chrome/browser/extensions/chrome_app_api_browsertest.cc host_resolver()->AddRule(nonapp_host, "127.0.0.1"); AddRule 197 chrome/browser/extensions/chrome_app_api_browsertest.cc host_resolver()->AddRule(checkout_host, "127.0.0.1"); AddRule 253 chrome/browser/extensions/chrome_app_api_browsertest.cc host_resolver()->AddRule(app_host, "127.0.0.1"); AddRule 254 chrome/browser/extensions/chrome_app_api_browsertest.cc host_resolver()->AddRule(non_app_host, "127.0.0.1"); AddRule 319 chrome/browser/extensions/chrome_app_api_browsertest.cc host_resolver()->AddRule(app_host, "127.0.0.1"); AddRule 320 chrome/browser/extensions/chrome_app_api_browsertest.cc host_resolver()->AddRule(non_app_host, "127.0.0.1"); AddRule 67 chrome/browser/extensions/content_script_apitest.cc host_resolver()->AddRule("a.com", "127.0.0.1"); AddRule 68 chrome/browser/extensions/content_script_apitest.cc host_resolver()->AddRule("b.com", "127.0.0.1"); AddRule 83 chrome/browser/extensions/content_script_apitest.cc host_resolver()->AddRule("a.com", "127.0.0.1"); AddRule 166 chrome/browser/extensions/content_script_apitest.cc host_resolver()->AddRule("*.com", "127.0.0.1"); AddRule 12 chrome/browser/extensions/cross_origin_xhr_apitest.cc host_resolver()->AddRule("*.com", "127.0.0.1"); AddRule 19 chrome/browser/extensions/cross_origin_xhr_apitest.cc host_resolver()->AddRule("*.com", "127.0.0.1"); AddRule 25 chrome/browser/extensions/cross_origin_xhr_apitest.cc host_resolver()->AddRule("*.com", "127.0.0.1"); AddRule 13 chrome/browser/extensions/execute_script_apitest.cc host_resolver()->AddRule("b.com", "127.0.0.1"); AddRule 14 chrome/browser/extensions/execute_script_apitest.cc host_resolver()->AddRule("c.com", "127.0.0.1"); AddRule 48 chrome/browser/extensions/execute_script_apitest.cc host_resolver()->AddRule("b.com", "127.0.0.1"); AddRule 68 chrome/browser/extensions/execute_script_apitest.cc host_resolver()->AddRule("a.com", "127.0.0.1"); AddRule 69 chrome/browser/extensions/execute_script_apitest.cc host_resolver()->AddRule("b.com", "127.0.0.1"); AddRule 76 chrome/browser/extensions/execute_script_apitest.cc host_resolver()->AddRule("a.com", "127.0.0.1"); AddRule 77 chrome/browser/extensions/execute_script_apitest.cc host_resolver()->AddRule("b.com", "127.0.0.1"); AddRule 31 chrome/browser/extensions/extension_dom_clipboard_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 55 chrome/browser/extensions/extension_incognito_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 105 chrome/browser/extensions/extension_incognito_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 129 chrome/browser/extensions/extension_incognito_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 169 chrome/browser/extensions/extension_incognito_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 199 chrome/browser/extensions/extension_incognito_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 10 chrome/browser/extensions/extension_javascript_url_apitest.cc host_resolver()->AddRule("a.com", "127.0.0.1"); AddRule 11 chrome/browser/extensions/extension_javascript_url_apitest.cc host_resolver()->AddRule("b.com", "127.0.0.1"); AddRule 347 chrome/browser/extensions/extension_messages_apitest.cc host_resolver()->AddRule("*", embedded_test_server()->base_url().host()); AddRule 206 chrome/browser/extensions/extension_nacl_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 37 chrome/browser/extensions/extension_resource_request_policy_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 179 chrome/browser/extensions/extension_tabs_apitest.cc host_resolver()->AddRule("a.com", "127.0.0.1"); AddRule 180 chrome/browser/extensions/extension_tabs_apitest.cc host_resolver()->AddRule("b.com", "127.0.0.1"); AddRule 187 chrome/browser/extensions/extension_tabs_apitest.cc host_resolver()->AddRule("a.com", "127.0.0.1"); AddRule 188 chrome/browser/extensions/extension_tabs_apitest.cc host_resolver()->AddRule("b.com", "127.0.0.1"); AddRule 140 chrome/browser/extensions/isolated_app_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 214 chrome/browser/extensions/isolated_app_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 313 chrome/browser/extensions/isolated_app_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 396 chrome/browser/extensions/isolated_app_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 471 chrome/browser/extensions/isolated_app_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 531 chrome/browser/extensions/isolated_app_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 273 chrome/browser/extensions/lazy_background_page_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 57 chrome/browser/extensions/process_management_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 198 chrome/browser/extensions/process_management_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 129 chrome/browser/extensions/process_manager_browsertest.cc host_resolver()->AddRule(aliased_host, "127.0.0.1"); AddRule 75 chrome/browser/extensions/webstore_installer_test.cc host_resolver()->AddRule(webstore_domain_, "127.0.0.1"); AddRule 76 chrome/browser/extensions/webstore_installer_test.cc host_resolver()->AddRule(verified_domain_, "127.0.0.1"); AddRule 77 chrome/browser/extensions/webstore_installer_test.cc host_resolver()->AddRule(unverified_domain_, "127.0.0.1"); AddRule 115 chrome/browser/extensions/window_open_apitest.cc host_resolver()->AddRule("a.com", "127.0.0.1"); AddRule 183 chrome/browser/extensions/window_open_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 194 chrome/browser/extensions/window_open_apitest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 74 chrome/browser/net/cookie_policy_browsertest.cc host_resolver()->AddRule("www.example.com", "127.0.0.1"); AddRule 1386 chrome/browser/prerender/prerender_browsertest.cc host_resolver()->AddRule(host, "127.0.0.1"); AddRule 1399 chrome/browser/prerender/prerender_browsertest.cc host_resolver()->AddRule(secondary_domain, "127.0.0.1"); AddRule 487 chrome/browser/task_manager/task_manager_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 552 chrome/browser/task_manager/task_manager_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 588 chrome/browser/task_manager/task_manager_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 80 chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 476 chrome/browser/ui/browser_browsertest.cc host_resolver()->AddRule("www.example.com", "127.0.0.1"); AddRule 504 chrome/browser/ui/browser_browsertest.cc host_resolver()->AddRule("www.example.com", "127.0.0.1"); AddRule 1207 chrome/browser/ui/browser_browsertest.cc host_resolver()->AddRule("www.example.com", "127.0.0.1"); AddRule 1250 chrome/browser/ui/browser_browsertest.cc host_resolver()->AddRule("www.example.com", "127.0.0.1"); AddRule 1338 chrome/browser/ui/browser_browsertest.cc host_resolver()->AddRule("www.example.com", "127.0.0.1"); AddRule 1433 chrome/browser/ui/browser_browsertest.cc host_resolver()->AddRule("www.example.com", "127.0.0.1"); AddRule 1744 chrome/browser/ui/browser_browsertest.cc host_resolver()->AddRule("www.example.com", "127.0.0.1"); AddRule 1798 chrome/browser/ui/browser_browsertest.cc host_resolver()->AddRule("www.example.com", "127.0.0.1"); AddRule 764 chrome/browser/ui/login/login_prompt_browsertest.cc host_resolver()->AddRule("www.a.com", "127.0.0.1"); AddRule 765 chrome/browser/ui/login/login_prompt_browsertest.cc host_resolver()->AddRule("www.b.com", "127.0.0.1"); AddRule 835 chrome/browser/ui/login/login_prompt_browsertest.cc host_resolver()->AddRule("www.a.com", "127.0.0.1"); AddRule 836 chrome/browser/ui/login/login_prompt_browsertest.cc host_resolver()->AddRule("www.b.com", "127.0.0.1"); AddRule 215 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 164 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 89 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 57 components/nacl/broker/nacl_broker_listener.cc sandbox::ResultCode result = policy->AddRule( AddRule 255 content/browser/cross_site_transfer_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 365 content/browser/cross_site_transfer_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 421 content/browser/cross_site_transfer_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 32 content/browser/frame_host/frame_tree_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 127 content/browser/frame_host/frame_tree_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 59 content/browser/frame_host/render_frame_host_manager_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 244 content/browser/gpu/gpu_process_host.cc sandbox::ResultCode result = policy->AddRule( AddRule 259 content/browser/gpu/gpu_process_host.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_HANDLES, AddRule 271 content/browser/gpu/gpu_process_host.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_FILES, AddRule 65 content/browser/ppapi_plugin_process_host.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_NAMED_PIPES, AddRule 204 content/browser/site_per_process_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 254 content/browser/site_per_process_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 389 content/browser/web_contents/web_contents_impl_browsertest.cc host_resolver()->AddRule("*", "127.0.0.1"); AddRule 123 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_FILES, access, AddRule 133 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_FILES, access, AddRule 147 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_REGISTRY, access, AddRule 153 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_REGISTRY, access, AddRule 279 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_HANDLES, AddRule 288 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_FILES, AddRule 298 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_NAMED_PIPES, AddRule 306 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_NAMED_PIPES, AddRule 327 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_PROCESS, AddRule 342 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_HANDLES, AddRule 667 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_FILES, AddRule 674 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_FILES, AddRule 18 net/dns/dns_config_service.cc AddRule("8.8.8.8", NAME_SERVERS_TYPE_GOOGLE_PUBLIC_DNS); AddRule 19 net/dns/dns_config_service.cc AddRule("8.8.4.4", NAME_SERVERS_TYPE_GOOGLE_PUBLIC_DNS); AddRule 20 net/dns/dns_config_service.cc AddRule("2001:4860:4860:0:0:0:0:8888", NAME_SERVERS_TYPE_GOOGLE_PUBLIC_DNS), AddRule 21 net/dns/dns_config_service.cc AddRule("2001:4860:4860:0:0:0:0:8844", NAME_SERVERS_TYPE_GOOGLE_PUBLIC_DNS), AddRule 24 net/dns/dns_config_service.cc AddRule("127.*.*.*", NAME_SERVERS_TYPE_PRIVATE); AddRule 25 net/dns/dns_config_service.cc AddRule("0:0:0:0:0:0:0:1", NAME_SERVERS_TYPE_PRIVATE); AddRule 28 net/dns/dns_config_service.cc AddRule("10.*.*.*", NAME_SERVERS_TYPE_PRIVATE); AddRule 29 net/dns/dns_config_service.cc AddRule("172.[16-31].*.*", NAME_SERVERS_TYPE_PRIVATE); AddRule 30 net/dns/dns_config_service.cc AddRule("192.168.*.*", NAME_SERVERS_TYPE_PRIVATE); AddRule 33 net/dns/dns_config_service.cc AddRule("169.254.*.*", NAME_SERVERS_TYPE_PRIVATE); AddRule 36 net/dns/dns_config_service.cc AddRule("fe80:*:*:*:*:*:*:*", NAME_SERVERS_TYPE_PRIVATE); AddRule 39 net/dns/dns_config_service.cc AddRule("*.*.*.*", NAME_SERVERS_TYPE_PUBLIC); AddRule 40 net/dns/dns_config_service.cc AddRule("*:*:*:*:*:*:*:*", NAME_SERVERS_TYPE_PUBLIC); AddRule 58 net/dns/dns_config_service.h void AddRule(const char* pattern_string, NameServersType type); AddRule 113 net/dns/host_resolver_impl_unittest.cc AddRule(hostname, family, result); AddRule 121 net/dns/host_resolver_impl_unittest.cc AddRule(hostname, ADDRESS_FAMILY_UNSPECIFIED, result); AddRule 122 net/dns/host_resolver_impl_unittest.cc AddRule(hostname, ADDRESS_FAMILY_IPV4, result); AddRule 123 net/dns/host_resolver_impl_unittest.cc AddRule(hostname, ADDRESS_FAMILY_IPV6, result); AddRule 1147 net/dns/host_resolver_impl_unittest.cc proc_->AddRule("h1", ADDRESS_FAMILY_IPV4, "1.0.0.1"); AddRule 1148 net/dns/host_resolver_impl_unittest.cc proc_->AddRule("h1", ADDRESS_FAMILY_IPV6, "::2"); AddRule 1195 net/dns/host_resolver_impl_unittest.cc proc_->AddRule("h1", ADDRESS_FAMILY_IPV4, "1.0.0.1"); AddRule 1196 net/dns/host_resolver_impl_unittest.cc proc_->AddRule("h1", ADDRESS_FAMILY_IPV6, "::2"); AddRule 29 net/dns/mapped_host_resolver_unittest.cc resolver_impl->rules()->AddRule("baz.com", "192.168.1.5"); AddRule 30 net/dns/mapped_host_resolver_unittest.cc resolver_impl->rules()->AddRule("foo.com", "192.168.1.8"); AddRule 31 net/dns/mapped_host_resolver_unittest.cc resolver_impl->rules()->AddRule("proxy", "192.168.1.11"); AddRule 104 net/dns/mapped_host_resolver_unittest.cc resolver_impl->rules()->AddRule("baz", "192.168.1.5"); AddRule 105 net/dns/mapped_host_resolver_unittest.cc resolver_impl->rules()->AddRule("www.google.com", "192.168.1.3"); AddRule 151 net/dns/mapped_host_resolver_unittest.cc resolver_impl->rules()->AddRule("baz", "192.168.1.7"); AddRule 152 net/dns/mapped_host_resolver_unittest.cc resolver_impl->rules()->AddRule("bar", "192.168.1.9"); AddRule 210 net/dns/mapped_host_resolver_unittest.cc resolver_impl->rules()->AddRule("*", "192.168.1.5"); AddRule 171 net/dns/mock_host_resolver.h void AddRule(const std::string& host_pattern, AddRule 9661 net/http/http_network_transaction_unittest.cc session_deps_.host_resolver->rules()->AddRule("www.example.com", "10.0.0.1"); AddRule 11543 net/http/http_network_transaction_unittest.cc session_deps_.host_resolver->rules()->AddRule("mail.google.com", ip_addr); AddRule 11544 net/http/http_network_transaction_unittest.cc session_deps_.host_resolver->rules()->AddRule("proxy", ip_addr); AddRule 11667 net/http/http_network_transaction_unittest.cc session_deps_.host_resolver->rules()->AddRule("www.a.com", "10.0.0.1"); AddRule 11668 net/http/http_network_transaction_unittest.cc session_deps_.host_resolver->rules()->AddRule("www.b.com", "10.0.0.2"); AddRule 288 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host3", "166.155.144.33"); AddRule 289 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host5", "166.155.144.55"); AddRule 293 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("*", "133.122.100.200"); AddRule 360 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("foopy", "166.155.144.11"); AddRule 361 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("*", "122.133.144.155"); AddRule 417 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host1", "166.155.144.11"); AddRule 418 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("crazy4", "133.199.111.4"); AddRule 419 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("*", "122.133.144.155"); AddRule 469 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host1", "166.155.144.11"); AddRule 470 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host2", "166.155.144.22"); AddRule 471 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host3", "166.155.144.33"); AddRule 472 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host4", "166.155.144.44"); AddRule 473 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("*", "122.133.144.155"); AddRule 509 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host*", "166.155.144.11"); AddRule 510 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("*", "122.133.144.155"); AddRule 552 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host*", "166.155.144.11"); AddRule 553 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("*", "122.133.144.155"); AddRule 586 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host1", "91.13.12.1"); AddRule 587 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host2", "91.13.12.2"); AddRule 597 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host1", "145.88.13.3"); AddRule 598 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host2", "137.89.8.45"); AddRule 959 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host1", "182.111.0.222"); AddRule 960 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver.rules()->AddRule("host2", "111.33.44.55"); AddRule 1003 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver0.rules()->AddRule("host3", "166.155.144.33"); AddRule 1004 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver0.rules()->AddRule("host5", "166.155.144.55"); AddRule 1008 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver0.rules()->AddRule("*", "133.122.100.200"); AddRule 1031 net/proxy/proxy_resolver_v8_tracing_unittest.cc host_resolver3.rules()->AddRule("foo", "166.155.144.33"); AddRule 342 net/proxy/proxy_script_decider_unittest.cc resolver_.rules()->AddRule("wpad", "1.2.3.4"); AddRule 355 net/proxy/proxy_script_decider_unittest.cc resolver_.rules()->AddRule("wpad", "1.2.3.4"); AddRule 424 net/proxy/proxy_script_decider_unittest.cc resolver_.rules()->AddRule("custom", "1.2.3.4"); AddRule 103 net/quic/quic_end_to_end_unittest.cc resolver->rules()->AddRule("www.google.com", "127.0.0.1"); AddRule 64 net/test/net_test_suite.cc host_resolver_proc_->AddRule("*", "127.0.0.1"); AddRule 194 net/url_request/url_fetcher_impl_unittest.cc resolver_.rules()->AddRule("example.com", "127.0.0.1"); AddRule 518 sandbox/win/sandbox_poc/main_ui_window.cc policy->AddRule(sandbox::TargetPolicy::SUBSYS_FILES, AddRule 144 sandbox/win/src/filesystem_policy.cc !policy->AddRule(IPC_NTCREATEFILE_TAG, &create))) { AddRule 150 sandbox/win/src/filesystem_policy.cc !policy->AddRule(IPC_NTOPENFILE_TAG, &open))) { AddRule 156 sandbox/win/src/filesystem_policy.cc !policy->AddRule(IPC_NTQUERYATTRIBUTESFILE_TAG, &query))) { AddRule 162 sandbox/win/src/filesystem_policy.cc || !policy->AddRule(IPC_NTQUERYFULLATTRIBUTESFILE_TAG, AddRule 169 sandbox/win/src/filesystem_policy.cc !policy->AddRule(IPC_NTSETINFO_RENAME_TAG, &rename))) { AddRule 197 sandbox/win/src/filesystem_policy.cc if (!rv || !policy->AddRule(IPC_NTCREATEFILE_TAG, &format)) AddRule 200 sandbox/win/src/filesystem_policy.cc if (!policy->AddRule(IPC_NTCREATEFILE_TAG, &short_name)) AddRule 203 sandbox/win/src/filesystem_policy.cc if (!policy->AddRule(IPC_NTOPENFILE_TAG, &format)) AddRule 206 sandbox/win/src/filesystem_policy.cc if (!policy->AddRule(IPC_NTOPENFILE_TAG, &short_name)) AddRule 209 sandbox/win/src/filesystem_policy.cc if (!policy->AddRule(IPC_NTQUERYATTRIBUTESFILE_TAG, &format)) AddRule 212 sandbox/win/src/filesystem_policy.cc if (!policy->AddRule(IPC_NTQUERYATTRIBUTESFILE_TAG, &short_name)) AddRule 215 sandbox/win/src/filesystem_policy.cc if (!policy->AddRule(IPC_NTQUERYFULLATTRIBUTESFILE_TAG, &format)) AddRule 218 sandbox/win/src/filesystem_policy.cc if (!policy->AddRule(IPC_NTQUERYFULLATTRIBUTESFILE_TAG, &short_name)) AddRule 221 sandbox/win/src/filesystem_policy.cc if (!policy->AddRule(IPC_NTSETINFO_RENAME_TAG, &format)) AddRule 224 sandbox/win/src/filesystem_policy.cc if (!policy->AddRule(IPC_NTSETINFO_RENAME_TAG, &short_name)) AddRule 48 sandbox/win/src/handle_policy.cc if (!policy->AddRule(IPC_DUPLICATEHANDLEPROXY_TAG, &duplicate_rule)) { AddRule 62 sandbox/win/src/handle_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_HANDLES, AddRule 84 sandbox/win/src/handle_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_HANDLES, AddRule 100 sandbox/win/src/handle_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_HANDLES, AddRule 107 sandbox/win/src/handle_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_HANDLES, AddRule 55 sandbox/win/src/named_pipe_policy.cc if (!policy->AddRule(IPC_CREATENAMEDPIPEW_TAG, &pipe)) { AddRule 67 sandbox/win/src/named_pipe_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_NAMED_PIPES, AddRule 87 sandbox/win/src/named_pipe_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_NAMED_PIPES, AddRule 124 sandbox/win/src/named_pipe_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_NAMED_PIPES, AddRule 95 sandbox/win/src/policy_low_level.h bool AddRule(int service, PolicyRule* rule); AddRule 62 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(policyGen.AddRule(kFakeService, &pr)); AddRule 95 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(policyGen.AddRule(kFakeService, &pr)); AddRule 133 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(policyGen.AddRule(kFakeService, &pr)); AddRule 166 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(policyGen.AddRule(kFakeService, &pr)); AddRule 205 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(policyGen.AddRule(kFakeService, &pr)); AddRule 254 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(policyGen.AddRule(kFakeService, &pr)); AddRule 328 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(policyGen.AddRule(kNtFakeCreateFile, &pr)); AddRule 436 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(policyGen.AddRule(kNtFakeCreateFile, &pr_pipe)); AddRule 437 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(policyGen.AddRule(kNtFakeCreateFile, &pr_dump)); AddRule 438 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(policyGen.AddRule(kNtFakeCreateFile, &pr_winexe)); AddRule 440 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(policyGen.AddRule(kNtFakeOpenFile, &pr_adobe)); AddRule 441 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(policyGen.AddRule(kNtFakeOpenFile, &pr_pipe)); AddRule 443 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(policyGen.AddRule(kNtFakeNone, &pr_none)); AddRule 587 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(policyGen.AddRule(1, &pr_orig)); AddRule 588 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(policyGen.AddRule(2, &pr_copy)); AddRule 272 sandbox/win/src/process_policy_test.cc runner.GetPolicy()->AddRule(TargetPolicy::SUBSYS_PROCESS, AddRule 280 sandbox/win/src/process_policy_test.cc runner.GetPolicy()->AddRule(TargetPolicy::SUBSYS_PROCESS, AddRule 290 sandbox/win/src/process_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_PROCESS, AddRule 344 sandbox/win/src/process_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_PROCESS, AddRule 356 sandbox/win/src/process_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_PROCESS, AddRule 368 sandbox/win/src/process_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_PROCESS, AddRule 380 sandbox/win/src/process_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_PROCESS, AddRule 97 sandbox/win/src/process_thread_policy.cc if (!policy->AddRule(IPC_CREATEPROCESSW_TAG, process.get())) { AddRule 155 sandbox/win/src/registry_policy.cc !policy->AddRule(IPC_NTCREATEKEY_TAG, &create)) { AddRule 160 sandbox/win/src/registry_policy.cc !policy->AddRule(IPC_NTOPENKEY_TAG, &open)) { AddRule 90 sandbox/win/src/registry_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, AddRule 94 sandbox/win/src/registry_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, AddRule 140 sandbox/win/src/registry_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, AddRule 155 sandbox/win/src/registry_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, AddRule 159 sandbox/win/src/registry_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, AddRule 163 sandbox/win/src/registry_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, AddRule 184 sandbox/win/src/registry_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, AddRule 188 sandbox/win/src/registry_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, AddRule 192 sandbox/win/src/registry_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, AddRule 208 sandbox/win/src/registry_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, AddRule 212 sandbox/win/src/registry_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, AddRule 216 sandbox/win/src/registry_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, AddRule 251 sandbox/win/src/registry_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, AddRule 255 sandbox/win/src/registry_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, AddRule 259 sandbox/win/src/registry_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, AddRule 263 sandbox/win/src/registry_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, AddRule 210 sandbox/win/src/sandbox_policy.h virtual ResultCode AddRule(SubSystem subsystem, Semantics semantics, AddRule 63 sandbox/win/src/sandbox_policy_base.h virtual ResultCode AddRule(SubSystem subsystem, Semantics semantics, AddRule 163 sandbox/win/src/sync_policy.cc if (!policy->AddRule(IPC_OPENEVENT_TAG, &open)) AddRule 172 sandbox/win/src/sync_policy.cc if (!policy->AddRule(IPC_CREATEEVENT_TAG, &create)) AddRule 92 sandbox/win/src/sync_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_SYNC, AddRule 95 sandbox/win/src/sync_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_SYNC, AddRule 116 sandbox/win/src/sync_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_SYNC, AddRule 119 sandbox/win/src/sync_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_SYNC, AddRule 122 sandbox/win/src/sync_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_SYNC, AddRule 125 sandbox/win/src/sync_policy_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_SYNC, AddRule 50 sandbox/win/src/unload_dll_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_SYNC, AddRule 84 sandbox/win/src/unload_dll_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, AddRule 87 sandbox/win/src/unload_dll_test.cc EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_SYNC, AddRule 145 sandbox/win/tests/common/controller.cc return (SBOX_ALL_OK == policy_->AddRule(subsystem, semantics, pattern)); AddRule 157 sandbox/win/tests/common/controller.cc if (!AddRule(TargetPolicy::SUBSYS_FILES, semantics, win32_path.c_str())) AddRule 168 sandbox/win/tests/common/controller.cc return AddRule(TargetPolicy::SUBSYS_FILES, semantics, win32_path.c_str()); AddRule 176 sandbox/win/tests/common/controller.cc return AddRule(TargetPolicy::SUBSYS_FILES, semantics, pattern); AddRule 82 sandbox/win/tests/common/controller.h bool AddRule(TargetPolicy::SubSystem subsystem, AddRule 195 ui/events/event_rewriter_unittest.cc r2.AddRule(0, ET_SCROLL_FLING_START, AddRule 204 ui/events/event_rewriter_unittest.cc r2.AddRule(0, ET_KEY_PRESSED, AddRule 206 ui/events/event_rewriter_unittest.cc r2.AddRule(1, ET_MOUSE_PRESSED, AddRule 208 ui/events/event_rewriter_unittest.cc r2.AddRule(1, ET_KEY_RELEASED, AddRule 210 ui/events/event_rewriter_unittest.cc r2.AddRule(2, ET_MOUSE_RELEASED, AddRule 212 ui/events/event_rewriter_unittest.cc r2.AddRule(3, ET_MOUSE_RELEASED,