summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/dns_master.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/net/dns_master.cc')
-rw-r--r--chrome/browser/net/dns_master.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/chrome/browser/net/dns_master.cc b/chrome/browser/net/dns_master.cc
index 582c1e6..10d464f 100644
--- a/chrome/browser/net/dns_master.cc
+++ b/chrome/browser/net/dns_master.cc
@@ -35,7 +35,6 @@
#include "base/histogram.h"
#include "base/stats_counters.h"
-#include "base/string_util.h"
#include "base/thread.h"
#include "base/win_util.h"
#include "chrome/browser/net/dns_slave.h"
@@ -254,16 +253,6 @@ void DnsMaster::PreLockedResolve(const std::string& hostname) {
name_buffer_.push(hostname);
}
-void DnsMaster::SetSlaveName(int slave_index) {
- DCHECK(0 <= slave_index && kSlaveCountMax > slave_index);
-
- std::string name = StringPrintf("Dns Prefetcher thread %d of %d",
- slave_index + 1, kSlaveCountMax);
-
- DLOG(INFO) << "Now Running " << name;
- PlatformThread::SetName(thread_ids_[slave_index], name.c_str());
-}
-
// GetNextAssignment() is executed on the thread associated with
// with a prefetch slave instance.
// Return value of false indicates slave thread termination is needed.