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

Unified Diff: chrome/browser/search_engines/template_url_scraper_unittest.cc

Issue 149511: Refactorings surrounding HostResolver:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Merge in socks5_client_socket_unittest.cc Created 11 years, 5 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 | « chrome/browser/net/dns_master_unittest.cc ('k') | chrome/test/in_process_browser_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search_engines/template_url_scraper_unittest.cc
===================================================================
--- chrome/browser/search_engines/template_url_scraper_unittest.cc (revision 20760)
+++ chrome/browser/search_engines/template_url_scraper_unittest.cc (working copy)
@@ -11,7 +11,7 @@
#include "chrome/common/notification_type.h"
#include "chrome/test/in_process_browser_test.h"
#include "chrome/test/ui_test_utils.h"
-#include "net/base/host_resolver_unittest.h"
+#include "net/base/mock_host_resolver.h"
#include "net/base/net_util.h"
namespace {
@@ -21,10 +21,10 @@
}
protected:
- virtual void ConfigureHostMapper(net::RuleBasedHostMapper* host_mapper) {
- InProcessBrowserTest::ConfigureHostMapper(host_mapper);
+ virtual void ConfigureHostResolverProc(net::RuleBasedHostResolverProc* proc) {
+ InProcessBrowserTest::ConfigureHostResolverProc(proc);
// We use foo.com in our tests.
- host_mapper->AddRule("*.foo.com", "localhost");
+ proc->AddRule("*.foo.com", "localhost");
}
private:
Property changes on: chrome\browser\search_engines\template_url_scraper_unittest.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/browser/net/dns_master_unittest.cc ('k') | chrome/test/in_process_browser_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698