summaryrefslogtreecommitdiffstats
path: root/net/base/host_resolver.h
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-17 02:34:56 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-17 02:34:56 +0000
commit1ff3c23680621228ea756e1acde0ede0f5baabbb (patch)
treefca0796944126c794f5e80696ac9a622b786bb88 /net/base/host_resolver.h
parent3e8f4cf5a6765a50218a116d5638eb8884a6a6e1 (diff)
downloadchromium_src-1ff3c23680621228ea756e1acde0ede0f5baabbb.zip
chromium_src-1ff3c23680621228ea756e1acde0ede0f5baabbb.tar.gz
chromium_src-1ff3c23680621228ea756e1acde0ede0f5baabbb.tar.bz2
Re-land second-to-last subset of r18520 (now everything is relanded except notification of cancellation during destruction).
The original code review that this belongs to is:<http://codereview.chromium.org/125171>. (BUG=14138) The original was backed out because of a valgrind linux error (BUG=14218), so I am now re-landing in smaller chunks to identify where the problem resides Review URL: http://codereview.chromium.org/126254 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18583 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/host_resolver.h')
-rw-r--r--net/base/host_resolver.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/base/host_resolver.h b/net/base/host_resolver.h
index 6e2add7..0b5c3fc 100644
--- a/net/base/host_resolver.h
+++ b/net/base/host_resolver.h
@@ -189,6 +189,10 @@ class HostResolver {
const RequestInfo& info,
int error);
+ // Notify all observers of the cancellation of a resolve request.
+ void NotifyObserversCancelRequest(int request_id,
+ const RequestInfo& info);
+
// Cache of host resolution results.
HostCache cache_;