diff options
Diffstat (limited to 'chrome/browser/safe_browsing')
-rw-r--r-- | chrome/browser/safe_browsing/client_side_detection_service.cc | 4 | ||||
-rw-r--r-- | chrome/browser/safe_browsing/safe_browsing_service.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/safe_browsing/client_side_detection_service.cc b/chrome/browser/safe_browsing/client_side_detection_service.cc index 0af1ab4..85c410e 100644 --- a/chrome/browser/safe_browsing/client_side_detection_service.cc +++ b/chrome/browser/safe_browsing/client_side_detection_service.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -245,7 +245,7 @@ void ClientSideDetectionService::ScheduleFetchModel(int64 delay_ms) { FROM_HERE, base::Bind(&ClientSideDetectionService::StartFetchModel, weak_factory_.GetWeakPtr()), - delay_ms); + base::TimeDelta::FromMilliseconds(delay_ms)); } void ClientSideDetectionService::StartFetchModel() { diff --git a/chrome/browser/safe_browsing/safe_browsing_service.cc b/chrome/browser/safe_browsing/safe_browsing_service.cc index 6f666b3..669dc33 100644 --- a/chrome/browser/safe_browsing/safe_browsing_service.cc +++ b/chrome/browser/safe_browsing/safe_browsing_service.cc @@ -1240,7 +1240,7 @@ void SafeBrowsingService::StartDownloadCheck(SafeBrowsingCheck* check, MessageLoop::current()->PostDelayedTask(FROM_HERE, base::Bind(&SafeBrowsingService::TimeoutCallback, check->timeout_factory_->GetWeakPtr(), check), - timeout_ms); + base::TimeDelta::FromMilliseconds(timeout_ms)); } void SafeBrowsingService::UpdateWhitelist(const UnsafeResource& resource) { |