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

Unified Diff: chrome/browser/intranet_redirect_detector.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 years, 7 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: chrome/browser/intranet_redirect_detector.cc
diff --git a/chrome/browser/intranet_redirect_detector.cc b/chrome/browser/intranet_redirect_detector.cc
index d0290ade718b2079de27180cc7a84ea9ef6b22ac..fcc6c6e5c5098fbaa79276fa6a82e41c5861010b 100644
--- a/chrome/browser/intranet_redirect_detector.cc
+++ b/chrome/browser/intranet_redirect_detector.cc
@@ -35,7 +35,7 @@ IntranetRedirectDetector::IntranetRedirectDetector()
// browser is starting up, and if so, come back later", but there is currently
// no function to do this.
static const int kStartFetchDelaySeconds = 7;
- MessageLoop::current()->PostDelayedTask(FROM_HERE,
+ base::MessageLoop::current()->PostDelayedTask(FROM_HERE,
base::Bind(&IntranetRedirectDetector::FinishSleep,
weak_factory_.GetWeakPtr()),
base::TimeDelta::FromSeconds(kStartFetchDelaySeconds));
@@ -159,7 +159,7 @@ void IntranetRedirectDetector::OnIPAddressChanged() {
// delay this a little bit.
in_sleep_ = true;
static const int kNetworkSwitchDelayMS = 1000;
- MessageLoop::current()->PostDelayedTask(FROM_HERE,
+ base::MessageLoop::current()->PostDelayedTask(FROM_HERE,
base::Bind(&IntranetRedirectDetector::FinishSleep,
weak_factory_.GetWeakPtr()),
base::TimeDelta::FromMilliseconds(kNetworkSwitchDelayMS));
« no previous file with comments | « chrome/browser/internal_auth_unittest.cc ('k') | chrome/browser/invalidation/invalidator_storage_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698