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

Unified Diff: chrome/browser/safe_browsing/protocol_manager.cc

Issue 7812036: Update base/timer.h code to pass through Location from call sites. (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 78c1bab56d4a52a59694370c14714640c0b8cb3e..83c7822abde5d3ead5833c2e7df049987869c804 100644
--- a/chrome/browser/safe_browsing/protocol_manager.cc
+++ b/chrome/browser/safe_browsing/protocol_manager.cc
@@ -503,7 +503,7 @@ void SafeBrowsingProtocolManager::ForceScheduleNextUpdate(
// Unschedule any current timer.
update_timer_.Stop();
update_timer_.Start(TimeDelta::FromMilliseconds(next_update_msec), this,
- &SafeBrowsingProtocolManager::GetNextUpdate);
+ &SafeBrowsingProtocolManager::GetNextUpdate, FROM_HERE);
}
// According to section 5 of the SafeBrowsing protocol specification, we must
@@ -621,7 +621,8 @@ void SafeBrowsingProtocolManager::OnGetChunksComplete(
// Begin the update request timeout.
update_timer_.Start(TimeDelta::FromSeconds(kSbMaxUpdateWaitSec), this,
- &SafeBrowsingProtocolManager::UpdateResponseTimeout);
+ &SafeBrowsingProtocolManager::UpdateResponseTimeout,
+ FROM_HERE);
}
// If we haven't heard back from the server with an update response, this method

Powered by Google App Engine
This is Rietveld 408576698