diff options
author | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-15 06:09:41 +0000 |
---|---|---|
committer | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-15 06:09:41 +0000 |
commit | 291a8adf16a35fdf4ecddbd802bc4cc1f4575096 (patch) | |
tree | 84e38cb99c9b2339a527d389ba4878396a89db59 /net/base/host_resolver.cc | |
parent | 2884a4619edeac1787e2b1d1b57e913f7e442cae (diff) | |
download | chromium_src-291a8adf16a35fdf4ecddbd802bc4cc1f4575096.zip chromium_src-291a8adf16a35fdf4ecddbd802bc4cc1f4575096.tar.gz chromium_src-291a8adf16a35fdf4ecddbd802bc4cc1f4575096.tar.bz2 |
[Refactor] Rename DnsResolutionObserver --> HostResolver::Observer.
TEST=this is striclty a refactoring; just needs to compile and pass existing tests.
BUG=14056
Review URL: http://codereview.chromium.org/126110
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18372 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/host_resolver.cc')
-rw-r--r-- | net/base/host_resolver.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/base/host_resolver.cc b/net/base/host_resolver.cc index 6dcef85..5a357eb 100644 --- a/net/base/host_resolver.cc +++ b/net/base/host_resolver.cc @@ -22,7 +22,6 @@ #include "base/time.h" #include "base/worker_pool.h" #include "net/base/address_list.h" -#include "net/base/dns_resolution_observer.h" #include "net/base/net_errors.h" #if defined(OS_LINUX) @@ -482,11 +481,11 @@ void HostResolver::CancelRequest(Request* req) { req->Cancel(); } -void HostResolver::AddObserver(DnsResolutionObserver* observer) { +void HostResolver::AddObserver(Observer* observer) { observers_.push_back(observer); } -void HostResolver::RemoveObserver(DnsResolutionObserver* observer) { +void HostResolver::RemoveObserver(Observer* observer) { ObserversList::iterator it = std::find(observers_.begin(), observers_.end(), observer); |