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

Unified Diff: chrome/browser/safe_browsing/protocol_manager.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
Index: chrome/browser/safe_browsing/protocol_manager.cc
diff --git a/chrome/browser/safe_browsing/protocol_manager.cc b/chrome/browser/safe_browsing/protocol_manager.cc
index f412b04159ce0835c72a4e4f83d6b867ceab44f8..78c1bab56d4a52a59694370c14714640c0b8cb3e 100644
--- a/chrome/browser/safe_browsing/protocol_manager.cc
+++ b/chrome/browser/safe_browsing/protocol_manager.cc
@@ -502,8 +502,8 @@ void SafeBrowsingProtocolManager::ForceScheduleNextUpdate(
DCHECK_GE(next_update_msec, 0);
// Unschedule any current timer.
update_timer_.Stop();
- update_timer_.Start(FROM_HERE, TimeDelta::FromMilliseconds(next_update_msec),
- this, &SafeBrowsingProtocolManager::GetNextUpdate);
+ update_timer_.Start(TimeDelta::FromMilliseconds(next_update_msec), this,
+ &SafeBrowsingProtocolManager::GetNextUpdate);
}
// According to section 5 of the SafeBrowsing protocol specification, we must
@@ -620,8 +620,7 @@ void SafeBrowsingProtocolManager::OnGetChunksComplete(
request_->Start();
// Begin the update request timeout.
- update_timer_.Start(FROM_HERE, TimeDelta::FromSeconds(kSbMaxUpdateWaitSec),
- this,
+ update_timer_.Start(TimeDelta::FromSeconds(kSbMaxUpdateWaitSec), this,
&SafeBrowsingProtocolManager::UpdateResponseTimeout);
}
« no previous file with comments | « chrome/browser/renderer_host/safe_browsing_resource_handler.cc ('k') | chrome/browser/sessions/session_restore.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698