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

Unified Diff: net/base/mock_host_resolver.cc

Issue 164350: Remove the unittest "DnsMasterTest.OsCachesLookupsTest".... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Fix a line that was too long Created 11 years, 4 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') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/mock_host_resolver.cc
===================================================================
--- net/base/mock_host_resolver.cc (revision 23088)
+++ net/base/mock_host_resolver.cc (working copy)
@@ -164,11 +164,8 @@
RuleList::iterator r;
for (r = rules_.begin(); r != rules_.end(); ++r) {
if (MatchPattern(host, r->host_pattern)) {
- if (r->latency_ms != 0) {
+ if (r->latency_ms != 0)
PlatformThread::Sleep(r->latency_ms);
- // Hmm, this seems unecessary.
- r->latency_ms = 1;
- }
// Remap to a new host.
const std::string& effective_host =
« no previous file with comments | « chrome/browser/net/dns_master_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698