diff options
Diffstat (limited to 'chromeos/network/portal_detector/network_portal_detector_strategy.cc')
-rw-r--r-- | chromeos/network/portal_detector/network_portal_detector_strategy.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/chromeos/network/portal_detector/network_portal_detector_strategy.cc b/chromeos/network/portal_detector/network_portal_detector_strategy.cc index 50b32c2..c45466f 100644 --- a/chromeos/network/portal_detector/network_portal_detector_strategy.cc +++ b/chromeos/network/portal_detector/network_portal_detector_strategy.cc @@ -132,7 +132,7 @@ PortalDetectorStrategy::PortalDetectorStrategy(Delegate* delegate) PortalDetectorStrategy::~PortalDetectorStrategy() { } -// statc +// static scoped_ptr<PortalDetectorStrategy> PortalDetectorStrategy::CreateById( StrategyId id, Delegate* delegate) { @@ -148,7 +148,7 @@ scoped_ptr<PortalDetectorStrategy> PortalDetectorStrategy::CreateById( default: NOTREACHED(); return scoped_ptr<PortalDetectorStrategy>( - static_cast<PortalDetectorStrategy*>(NULL)); + static_cast<PortalDetectorStrategy*>(nullptr)); } } @@ -178,8 +178,4 @@ void PortalDetectorStrategy::OnDetectionCompleted() { backoff_entry_->InformOfRequest(false); } -base::TimeDelta PortalDetectorStrategy::GetNextAttemptTimeoutImpl() { - return base::TimeDelta(); -} - } // namespace chromeos |