diff options
Diffstat (limited to 'content/browser')
7 files changed, 10 insertions, 7 deletions
diff --git a/content/browser/download/download_file_manager.cc b/content/browser/download/download_file_manager.cc index f21c67b1..0df8a3f 100644 --- a/content/browser/download/download_file_manager.cc +++ b/content/browser/download/download_file_manager.cc @@ -88,7 +88,8 @@ DownloadFile* DownloadFileManager::GetDownloadFile(int id) { void DownloadFileManager::StartUpdateTimer() { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); if (!update_timer_.IsRunning()) { - update_timer_.Start(base::TimeDelta::FromMilliseconds(kUpdatePeriodMs), + update_timer_.Start(FROM_HERE, + base::TimeDelta::FromMilliseconds(kUpdatePeriodMs), this, &DownloadFileManager::UpdateInProgressDownloads); } } diff --git a/content/browser/download/download_item.cc b/content/browser/download/download_item.cc index eefb8dd..fa6c436 100644 --- a/content/browser/download/download_item.cc +++ b/content/browser/download/download_item.cc @@ -325,7 +325,8 @@ void DownloadItem::StartProgressTimer() { // TODO(rdsmith): Change to DCHECK after http://crbug.com/85408 resolved. CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); - update_timer_.Start(base::TimeDelta::FromMilliseconds(kUpdateTimeMs), this, + update_timer_.Start(FROM_HERE, + base::TimeDelta::FromMilliseconds(kUpdateTimeMs), this, &DownloadItem::UpdateObservers); } diff --git a/content/browser/download/download_resource_handler.cc b/content/browser/download/download_resource_handler.cc index 5846c63..003a34e 100644 --- a/content/browser/download/download_resource_handler.cc +++ b/content/browser/download/download_resource_handler.cc @@ -238,7 +238,8 @@ DownloadResourceHandler::~DownloadResourceHandler() { void DownloadResourceHandler::StartPauseTimer() { if (!pause_timer_.IsRunning()) - pause_timer_.Start(base::TimeDelta::FromMilliseconds(kThrottleTimeMs), this, + pause_timer_.Start(FROM_HERE, + base::TimeDelta::FromMilliseconds(kThrottleTimeMs), this, &DownloadResourceHandler::CheckWriteProgress); } diff --git a/content/browser/net/url_request_slow_http_job.cc b/content/browser/net/url_request_slow_http_job.cc index 398298f..3f1a6b6 100644 --- a/content/browser/net/url_request_slow_http_job.cc +++ b/content/browser/net/url_request_slow_http_job.cc @@ -50,7 +50,7 @@ URLRequestSlowHTTPJob::URLRequestSlowHTTPJob(net::URLRequest* request, : URLRequestMockHTTPJob(request, file_path) { } void URLRequestSlowHTTPJob::Start() { - delay_timer_.Start(TimeDelta::FromMilliseconds(kDelayMs), this, + delay_timer_.Start(FROM_HERE, TimeDelta::FromMilliseconds(kDelayMs), this, &URLRequestSlowHTTPJob::RealStart); } diff --git a/content/browser/renderer_host/browser_render_process_host.cc b/content/browser/renderer_host/browser_render_process_host.cc index 51f7b5c..29b3e86 100644 --- a/content/browser/renderer_host/browser_render_process_host.cc +++ b/content/browser/renderer_host/browser_render_process_host.cc @@ -185,7 +185,7 @@ BrowserRenderProcessHost::BrowserRenderProcessHost( visible_widgets_(0), backgrounded_(true), ALLOW_THIS_IN_INITIALIZER_LIST(cached_dibs_cleaner_( - base::TimeDelta::FromSeconds(5), + FROM_HERE, base::TimeDelta::FromSeconds(5), this, &BrowserRenderProcessHost::ClearTransportDIBCache)), accessibility_enabled_(false), is_initialized_(false) { diff --git a/content/browser/renderer_host/render_widget_host.cc b/content/browser/renderer_host/render_widget_host.cc index 2a506d0..e370fe4 100644 --- a/content/browser/renderer_host/render_widget_host.cc +++ b/content/browser/renderer_host/render_widget_host.cc @@ -482,7 +482,7 @@ void RenderWidgetHost::StartHangMonitorTimeout(TimeDelta delay) { // fire sooner. time_when_considered_hung_ = Time::Now() + delay; hung_renderer_timer_.Stop(); - hung_renderer_timer_.Start(delay, this, + hung_renderer_timer_.Start(FROM_HERE, delay, this, &RenderWidgetHost::CheckRendererIsUnresponsive); } diff --git a/content/browser/renderer_host/resource_dispatcher_host.cc b/content/browser/renderer_host/resource_dispatcher_host.cc index cccc121..d845c8f 100644 --- a/content/browser/renderer_host/resource_dispatcher_host.cc +++ b/content/browser/renderer_host/resource_dispatcher_host.cc @@ -1575,7 +1575,7 @@ void ResourceDispatcherHost::InsertIntoResourceQueue( // Make sure we have the load state monitor running if (!update_load_states_timer_.IsRunning()) { - update_load_states_timer_.Start( + update_load_states_timer_.Start(FROM_HERE, TimeDelta::FromMilliseconds(kUpdateLoadStatesIntervalMsec), this, &ResourceDispatcherHost::UpdateLoadStates); } |