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

Unified Diff: net/base/host_resolver.cc

Issue 126110: [Refactor] Rename DnsResolutionObserver --> HostResolver::Observer.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 6 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 | « net/base/host_resolver.h ('k') | net/base/host_resolver_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/host_resolver.cc
===================================================================
--- net/base/host_resolver.cc (revision 18371)
+++ net/base/host_resolver.cc (working copy)
@@ -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 @@
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);
« no previous file with comments | « net/base/host_resolver.h ('k') | net/base/host_resolver_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698