Home
last modified time | relevance | path

Searched refs:AddRule (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium/chrome/browser/extensions/
Dexecute_script_apitest.cc13 host_resolver()->AddRule("b.com", "127.0.0.1"); in SetupDelayedHostResolver()
14 host_resolver()->AddRule("c.com", "127.0.0.1"); in SetupDelayedHostResolver()
37 host_resolver()->AddRule("b.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
57 host_resolver()->AddRule("a.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
58 host_resolver()->AddRule("b.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
Dextension_incognito_apitest.cc47 host_resolver()->AddRule("*", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
96 host_resolver()->AddRule("*", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
116 host_resolver()->AddRule("*", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
150 host_resolver()->AddRule("*", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
168 host_resolver()->AddRule("*", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
Dchrome_app_api_browsertest.cc34 host_resolver()->AddRule(app_host, "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
35 host_resolver()->AddRule(nonapp_host, "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
124 host_resolver()->AddRule(app_host, "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
125 host_resolver()->AddRule(nonapp_host, "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
126 host_resolver()->AddRule(checkout_host, "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
Dextension_tabs_apitest.cc94 host_resolver()->AddRule("a.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
95 host_resolver()->AddRule("b.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
102 host_resolver()->AddRule("a.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
103 host_resolver()->AddRule("b.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
Dextension_javascript_url_apitest.cc10 host_resolver()->AddRule("a.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
11 host_resolver()->AddRule("b.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
Dapp_background_page_apitest.cc49 host_resolver()->AddRule("a.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
76 host_resolver()->AddRule("a.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
102 host_resolver()->AddRule("a.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
Dextension_history_apitest.cc15 host_resolver()->AddRule("www.a.com", "127.0.0.1"); in SetUpInProcessBrowserTestFixture()
16 host_resolver()->AddRule("www.b.com", "127.0.0.1"); in SetUpInProcessBrowserTestFixture()
Dcontent_script_apitest.cc46 host_resolver()->AddRule("a.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
47 host_resolver()->AddRule("b.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
Dwindow_open_apitest.cc53 host_resolver()->AddRule("*", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
64 host_resolver()->AddRule("*", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
Dcross_origin_xhr_apitest.cc9 host_resolver()->AddRule("*.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
Disolated_app_apitest.cc47 host_resolver()->AddRule("*", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
108 host_resolver()->AddRule("*", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
Dextension_webrequest_apitest.cc14 host_resolver()->AddRule("*", "127.0.0.1"); in SetUpInProcessBrowserTestFixture()
Dapp_process_apitest.cc68 host_resolver()->AddRule("*", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
152 host_resolver()->AddRule("*", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
Dextension_gallery_install_apitest.cc66 host_resolver()->AddRule("www.example.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
Dextension_resource_request_policy_apitest.cc20 host_resolver()->AddRule("*", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
Dextension_webstore_private_browsertest.cc186 host_resolver()->AddRule(kTestUrlHostname, "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
/external/chromium/net/base/
Dmapped_host_resolver_unittest.cc21 resolver_impl->rules()->AddRule("baz.com", "192.168.1.5"); in TEST()
22 resolver_impl->rules()->AddRule("foo.com", "192.168.1.8"); in TEST()
23 resolver_impl->rules()->AddRule("proxy", "192.168.1.11"); in TEST()
74 resolver_impl->rules()->AddRule("baz", "192.168.1.5"); in TEST()
75 resolver_impl->rules()->AddRule("www.google.com", "192.168.1.3"); in TEST()
110 resolver_impl->rules()->AddRule("baz", "192.168.1.7"); in TEST()
111 resolver_impl->rules()->AddRule("bar", "192.168.1.9"); in TEST()
Dnet_test_suite.cc43 host_resolver_proc_->AddRule("*", "127.0.0.1"); in InitializeTestThread()
Dmock_host_resolver.cc66 catchall->AddRule("*", "127.0.0.1"); in Reset()
157 void RuleBasedHostResolverProc::AddRule(const std::string& host_pattern, in AddRule() function in net::RuleBasedHostResolverProc
Dmock_host_resolver.h110 void AddRule(const std::string& host_pattern,
/external/chromium/third_party/libjingle/source/talk/base/
Dfirewallsocketserver.cc142 void FirewallSocketServer::AddRule(bool allow, FirewallProtocol p, in AddRule() function in talk_base::FirewallSocketServer
151 AddRule(allow, p, src, dst); in AddRule()
155 void FirewallSocketServer::AddRule(bool allow, FirewallProtocol p, in AddRule() function in talk_base::FirewallSocketServer
229 void FirewallManager::AddRule(bool allow, FirewallProtocol p, in AddRule() function in talk_base::FirewallManager
234 (*it)->AddRule(allow, p, d, addr); in AddRule()
Dfirewallsocketserver.h68 void AddRule(bool allow, FirewallProtocol p = FP_ANY,
71 void AddRule(bool allow, FirewallProtocol p,
121 void AddRule(bool allow, FirewallProtocol p = FP_ANY,
/external/chromium/chrome/common/
Dsandbox_policy.cc137 result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_FILES, access, in AddDirectory()
147 result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_FILES, access, in AddDirectory()
161 result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_REGISTRY, access, in AddKeyAndSubkeys()
167 result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_REGISTRY, access, in AddKeyAndSubkeys()
234 result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_FILES, in AddGenericPolicy()
240 result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_NAMED_PIPES, in AddGenericPolicy()
261 result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_PROCESS, in AddGenericPolicy()
476 result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_NAMED_PIPES, in AddPolicyForPlugin()
692 result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_FILES, in StartProcessWithAccess()
699 result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_FILES, in StartProcessWithAccess()
/external/chromium/chrome/browser/net/
Dcookie_policy_browsertest.cc111 host_resolver()->AddRule("www.example.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/
Dbrowser_browsertest.cc482 host_resolver()->AddRule("www.example.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
521 host_resolver()->AddRule("www.example.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
609 host_resolver()->AddRule("www.example.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()
692 host_resolver()->AddRule("www.example.com", "127.0.0.1"); in IN_PROC_BROWSER_TEST_F()

12