Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1043)

Unified Diff: net/base/mock_host_resolver.h

Issue 303022: Disable IPv6 results for the PAC bindings:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/base/mock_host_resolver.cc » ('j') | net/base/mock_host_resolver.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/mock_host_resolver.h
===================================================================
--- net/base/mock_host_resolver.h (revision 29686)
+++ net/base/mock_host_resolver.h (working copy)
@@ -102,6 +102,11 @@
void AddRule(const std::string& host_pattern,
const std::string& replacement);
+ // Same as AddRule(), but further restricts to |address_family|.
+ void AddRuleForFamily(const std::string& host_pattern,
wtc 2009/10/22 21:53:54 Nit: rename this AddRuleForAddressFamily. Are you
+ AddressFamily address_family,
+ const std::string& replacement);
+
// Same as AddRule(), but the replacement is expected to be an IPV6 literal.
// You should use this in place of AddRule(), since the system's host resolver
// may not support IPv6 literals on all systems. Whereas this variant
« no previous file with comments | « no previous file | net/base/mock_host_resolver.cc » ('j') | net/base/mock_host_resolver.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698