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

Unified Diff: chrome/browser/upgrade_detector_impl.cc

Issue 7825026: Revert "Currently, base/timer.cc calls PostTask with FROM_HERE as the Location, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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
« no previous file with comments | « chrome/browser/ui/webui/ntp/new_tab_ui.cc ('k') | chrome/browser/visitedlink/visitedlink_event_listener.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/upgrade_detector_impl.cc
diff --git a/chrome/browser/upgrade_detector_impl.cc b/chrome/browser/upgrade_detector_impl.cc
index 34b58c1547446c35e7cac7f602f7958d1a342313..d6fa033944367e3b32ab491990ca2de9a35a947b 100644
--- a/chrome/browser/upgrade_detector_impl.cc
+++ b/chrome/browser/upgrade_detector_impl.cc
@@ -159,7 +159,7 @@ UpgradeDetectorImpl::UpgradeDetectorImpl()
if (keystone_glue::KeystoneEnabled())
#endif
{
- detect_upgrade_timer_.Start(FROM_HERE,
+ detect_upgrade_timer_.Start(
base::TimeDelta::FromMilliseconds(GetCheckForUpgradeEveryMs()),
this, &UpgradeDetectorImpl::CheckForUpgrade);
}
@@ -195,7 +195,7 @@ void UpgradeDetectorImpl::UpgradeDetected() {
// and stop the timer.
int cycle_time = CmdLineInterval().empty() ? kNotifyCycleTimeMs :
kNotifyCycleTimeForTestingMs;
- upgrade_notification_timer_.Start(FROM_HERE,
+ upgrade_notification_timer_.Start(
base::TimeDelta::FromMilliseconds(cycle_time),
this, &UpgradeDetectorImpl::NotifyOnUpgrade);
}
« no previous file with comments | « chrome/browser/ui/webui/ntp/new_tab_ui.cc ('k') | chrome/browser/visitedlink/visitedlink_event_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698