summaryrefslogtreecommitdiffstats
path: root/net/base/host_resolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/host_resolver.h')
-rw-r--r--net/base/host_resolver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/base/host_resolver.h b/net/base/host_resolver.h
index 6e61eb5..c730f76 100644
--- a/net/base/host_resolver.h
+++ b/net/base/host_resolver.h
@@ -59,6 +59,9 @@ class HostResolver {
class HostMapper : public base::RefCountedThreadSafe<HostMapper> {
public:
virtual ~HostMapper() {}
+
+ // Returns possibly altered hostname, or empty string to simulate
+ // a failed lookup.
virtual std::string Map(const std::string& host) = 0;
protected: