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

Unified Diff: net/dns/serial_worker.cc

Issue 24616002: Clean up a few unused globals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win Created 7 years, 3 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
Index: net/dns/serial_worker.cc
diff --git a/net/dns/serial_worker.cc b/net/dns/serial_worker.cc
index 394721c1a6564aeac5491c036c09ea9ab10be11c..4da7df98ba2d878b4f694a5fca60c0a46d5d0313 100644
--- a/net/dns/serial_worker.cc
+++ b/net/dns/serial_worker.cc
@@ -11,11 +11,6 @@
namespace net {
-namespace {
- // Delay between calls to WorkerPool::PostTask
- const int kWorkerPoolRetryDelayMs = 100;
-}
-
SerialWorker::SerialWorker()
: message_loop_(base::MessageLoopProxy::current()),
state_(IDLE) {}
@@ -33,6 +28,7 @@ void SerialWorker::WorkNow() {
NOTREACHED() << "WorkerPool::PostTask is not expected to fail on posix";
#else
LOG(WARNING) << "Failed to WorkerPool::PostTask, will retry later";
+ const int kWorkerPoolRetryDelayMs = 100;
message_loop_->PostDelayedTask(
FROM_HERE,
base::Bind(&SerialWorker::RetryWork, this),

Powered by Google App Engine
This is Rietveld 408576698