/external/chromium_org/chrome/browser/extensions/ |
extension_javascript_url_apitest.cc | 10 host_resolver()->AddRule("a.com", "127.0.0.1"); 11 host_resolver()->AddRule("b.com", "127.0.0.1");
|
execute_script_apitest.cc | 13 host_resolver()->AddRule("b.com", "127.0.0.1"); 14 host_resolver()->AddRule("c.com", "127.0.0.1"); 48 host_resolver()->AddRule("b.com", "127.0.0.1"); 68 host_resolver()->AddRule("a.com", "127.0.0.1"); 69 host_resolver()->AddRule("b.com", "127.0.0.1"); 76 host_resolver()->AddRule("a.com", "127.0.0.1"); 77 host_resolver()->AddRule("b.com", "127.0.0.1");
|
cross_origin_xhr_apitest.cc | 12 host_resolver()->AddRule("*.com", "127.0.0.1"); 19 host_resolver()->AddRule("*.com", "127.0.0.1"); 25 host_resolver()->AddRule("*.com", "127.0.0.1");
|
content_script_apitest.cc | 135 host_resolver()->AddRule("a.com", "127.0.0.1"); 136 host_resolver()->AddRule("b.com", "127.0.0.1"); 151 host_resolver()->AddRule("a.com", "127.0.0.1"); 182 host_resolver()->AddRule(kWebstoreDomain, "127.0.0.1"); 279 host_resolver()->AddRule("*.com", "127.0.0.1");
|
extension_incognito_apitest.cc | 56 host_resolver()->AddRule("*", "127.0.0.1"); 106 host_resolver()->AddRule("*", "127.0.0.1"); 126 host_resolver()->AddRule("*", "127.0.0.1"); 166 host_resolver()->AddRule("*", "127.0.0.1"); 191 host_resolver()->AddRule("*", "127.0.0.1");
|
chrome_app_api_browsertest.cc | 107 host_resolver()->AddRule(app_host, "127.0.0.1"); 108 host_resolver()->AddRule(nonapp_host, "127.0.0.1"); 195 host_resolver()->AddRule(app_host, "127.0.0.1"); 196 host_resolver()->AddRule(nonapp_host, "127.0.0.1"); 197 host_resolver()->AddRule(checkout_host, "127.0.0.1"); 253 host_resolver()->AddRule(app_host, "127.0.0.1"); 254 host_resolver()->AddRule(non_app_host, "127.0.0.1"); 320 host_resolver()->AddRule(app_host, "127.0.0.1"); 321 host_resolver()->AddRule(non_app_host, "127.0.0.1");
|
extension_tabs_apitest.cc | 175 host_resolver()->AddRule("a.com", "127.0.0.1"); 176 host_resolver()->AddRule("b.com", "127.0.0.1"); 183 host_resolver()->AddRule("a.com", "127.0.0.1"); 184 host_resolver()->AddRule("b.com", "127.0.0.1");
|
/external/chromium_org/chrome/browser/chromeos/extensions/ |
wallpaper_apitest.cc | 9 host_resolver()->AddRule("a.com", "127.0.0.1");
|
wallpaper_private_apitest.cc | 10 host_resolver()->AddRule("a.com", "127.0.0.1");
|
/external/chromium_org/sandbox/win/src/ |
process_mitigations_win32k_policy.cc | 14 if (!policy->AddRule(IPC_GDI_GDIDLLINITIALIZE_TAG, &rule)) 16 if (!policy->AddRule(IPC_GDI_GETSTOCKOBJECT_TAG, &rule)) 18 if (!policy->AddRule(IPC_USER_REGISTERCLASSW_TAG, &rule))
|
registry_policy_test.cc | 90 EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, 94 EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, 140 EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, 155 EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, 159 EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, 163 EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, 184 EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, 188 EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, 192 EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, 208 EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY [all...] |
filesystem_policy.cc | 141 !policy->AddRule(IPC_NTCREATEFILE_TAG, &create))) { 147 !policy->AddRule(IPC_NTOPENFILE_TAG, &open))) { 153 !policy->AddRule(IPC_NTQUERYATTRIBUTESFILE_TAG, &query))) { 159 || !policy->AddRule(IPC_NTQUERYFULLATTRIBUTESFILE_TAG, 166 !policy->AddRule(IPC_NTSETINFO_RENAME_TAG, &rename))) { 182 // policy->AddRule(service, rule); 194 if (!rv || !policy->AddRule(IPC_NTCREATEFILE_TAG, &format)) 197 if (!policy->AddRule(IPC_NTCREATEFILE_TAG, &short_name)) 200 if (!policy->AddRule(IPC_NTOPENFILE_TAG, &format)) 203 if (!policy->AddRule(IPC_NTOPENFILE_TAG, &short_name) [all...] |
handle_policy_test.cc | 62 EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_HANDLES, 84 EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_HANDLES, 100 EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_HANDLES, 107 EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_HANDLES,
|
named_pipe_policy_test.cc | 67 EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_NAMED_PIPES, 87 EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_NAMED_PIPES, 125 EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_NAMED_PIPES,
|
unload_dll_test.cc | 50 EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_SYNC, 84 EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_REGISTRY, 87 EXPECT_TRUE(runner.AddRule(TargetPolicy::SUBSYS_SYNC,
|
/external/chromium_org/net/dns/ |
dns_config_service.cc | 18 AddRule("8.8.8.8", NAME_SERVERS_TYPE_GOOGLE_PUBLIC_DNS); 19 AddRule("8.8.4.4", NAME_SERVERS_TYPE_GOOGLE_PUBLIC_DNS); 20 AddRule("2001:4860:4860:0:0:0:0:8888", NAME_SERVERS_TYPE_GOOGLE_PUBLIC_DNS), 21 AddRule("2001:4860:4860:0:0:0:0:8844", NAME_SERVERS_TYPE_GOOGLE_PUBLIC_DNS), 24 AddRule("127.*.*.*", NAME_SERVERS_TYPE_PRIVATE); 25 AddRule("0:0:0:0:0:0:0:1", NAME_SERVERS_TYPE_PRIVATE); 28 AddRule("10.*.*.*", NAME_SERVERS_TYPE_PRIVATE); 29 AddRule("172.[16-31].*.*", NAME_SERVERS_TYPE_PRIVATE); 30 AddRule("192.168.*.*", NAME_SERVERS_TYPE_PRIVATE); 33 AddRule("169.254.*.*", NAME_SERVERS_TYPE_PRIVATE) [all...] |
mapped_host_resolver_unittest.cc | 29 resolver_impl->rules()->AddRule("baz.com", "192.168.1.5"); 30 resolver_impl->rules()->AddRule("foo.com", "192.168.1.8"); 31 resolver_impl->rules()->AddRule("proxy", "192.168.1.11"); 104 resolver_impl->rules()->AddRule("baz", "192.168.1.5"); 105 resolver_impl->rules()->AddRule("www.google.com", "192.168.1.3"); 151 resolver_impl->rules()->AddRule("baz", "192.168.1.7"); 152 resolver_impl->rules()->AddRule("bar", "192.168.1.9"); 210 resolver_impl->rules()->AddRule("*", "192.168.1.5");
|
/external/chromium_org/chrome/browser/extensions/api/declarative/ |
rules_registry_with_cache_unittest.cc | 70 std::string AddRule(const std::string& extension_id, 79 std::string AddRule(const std::string& extension_id, 81 return AddRule(extension_id, rule_id, registry_.get()); 116 EXPECT_EQ("Error", AddRule(extension1_->id(), kRuleId)); 121 EXPECT_EQ("", AddRule(extension1_->id(), kRule2Id)); 125 EXPECT_NE("", AddRule(extension1_->id(), kRuleId)); 129 EXPECT_EQ("", AddRule(extension2_->id(), kRuleId)); 136 EXPECT_EQ("", AddRule(extension1_->id(), kRuleId)); 137 EXPECT_EQ("", AddRule(extension2_->id(), kRuleId)); 160 EXPECT_EQ("", AddRule(extension1_->id(), kRuleId)) [all...] |
/external/chromium_org/chrome/browser/extensions/api/history/ |
history_apitest.cc | 20 host_resolver()->AddRule("www.a.com", "127.0.0.1"); 21 host_resolver()->AddRule("www.b.com", "127.0.0.1");
|
/external/chromium_org/chrome/browser/extensions/api/permissions/ |
permissions_apitest.cc | 86 host_resolver()->AddRule("*.com", "127.0.0.1"); 97 host_resolver()->AddRule("*.com", "127.0.0.1"); 106 host_resolver()->AddRule("*.com", "127.0.0.1"); 115 host_resolver()->AddRule("*.com", "127.0.0.1"); 125 host_resolver()->AddRule("*.com", "127.0.0.1");
|
/external/chromium_org/ui/events/ |
event_rewriter_unittest.cc | 110 void AddRule(int from_state, EventType from_type, 195 r2.AddRule(0, ET_SCROLL_FLING_START, 204 r2.AddRule(0, ET_KEY_PRESSED, 206 r2.AddRule(1, ET_MOUSE_PRESSED, 208 r2.AddRule(1, ET_KEY_RELEASED, 210 r2.AddRule(2, ET_MOUSE_RELEASED, 212 r2.AddRule(3, ET_MOUSE_RELEASED,
|
/external/chromium_org/third_party/webrtc/base/ |
firewallsocketserver.h | 51 void AddRule(bool allow, FirewallProtocol p = FP_ANY, 54 void AddRule(bool allow, FirewallProtocol p, 108 void AddRule(bool allow, FirewallProtocol p = FP_ANY,
|
/external/chromium_org/net/proxy/ |
proxy_resolver_v8_tracing_unittest.cc | 288 host_resolver.rules()->AddRule("host3", "166.155.144.33"); 289 host_resolver.rules()->AddRule("host5", "166.155.144.55"); 293 host_resolver.rules()->AddRule("*", "133.122.100.200"); 360 host_resolver.rules()->AddRule("foopy", "166.155.144.11"); 361 host_resolver.rules()->AddRule("*", "122.133.144.155"); 417 host_resolver.rules()->AddRule("host1", "166.155.144.11"); 418 host_resolver.rules()->AddRule("crazy4", "133.199.111.4"); 419 host_resolver.rules()->AddRule("*", "122.133.144.155"); 469 host_resolver.rules()->AddRule("host1", "166.155.144.11"); 470 host_resolver.rules()->AddRule("host2", "166.155.144.22") [all...] |
/external/chromium_org/chrome/browser/extensions/api/page_capture/ |
page_capture_apitest.cc | 43 host_resolver()->AddRule("www.a.com", "127.0.0.1");
|
/external/chromium_org/net/test/ |
net_test_suite.cc | 64 host_resolver_proc_->AddRule("*", "127.0.0.1");
|