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

Unified Diff: chrome/browser/chromeos/net/network_portal_detector_impl.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/chromeos/net/network_portal_detector_impl.cc
diff --git a/chrome/browser/chromeos/net/network_portal_detector_impl.cc b/chrome/browser/chromeos/net/network_portal_detector_impl.cc
index 1ccf0391f7c68187a7d6da8b499155c722b423ff..7f8d85ef2d56b88d3e426e91808fc91c6b524d82 100644
--- a/chrome/browser/chromeos/net/network_portal_detector_impl.cc
+++ b/chrome/browser/chromeos/net/network_portal_detector_impl.cc
@@ -286,9 +286,8 @@ void NetworkPortalDetectorImpl::DetectCaptivePortal(
detection_task_.Reset(
base::Bind(&NetworkPortalDetectorImpl::DetectCaptivePortalTask,
weak_ptr_factory_.GetWeakPtr()));
- MessageLoop::current()->PostDelayedTask(FROM_HERE,
- detection_task_.callback(),
- next_attempt_delay_);
+ base::MessageLoop::current()->PostDelayedTask(
+ FROM_HERE, detection_task_.callback(), next_attempt_delay_);
}
void NetworkPortalDetectorImpl::DetectCaptivePortalTask() {
@@ -322,9 +321,8 @@ void NetworkPortalDetectorImpl::DetectCaptivePortalTask() {
request_timeout = request_timeout_for_testing_;
else
request_timeout = base::TimeDelta::FromSeconds(GetRequestTimeoutSec());
- MessageLoop::current()->PostDelayedTask(FROM_HERE,
- detection_timeout_.callback(),
- request_timeout);
+ base::MessageLoop::current()->PostDelayedTask(
+ FROM_HERE, detection_timeout_.callback(), request_timeout);
}
void NetworkPortalDetectorImpl::PortalDetectionTimeout() {

Powered by Google App Engine
This is Rietveld 408576698