diff options
Diffstat (limited to 'content/browser/histogram_synchronizer.cc')
-rw-r--r-- | content/browser/histogram_synchronizer.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/content/browser/histogram_synchronizer.cc b/content/browser/histogram_synchronizer.cc index b2db39b..5a1e6f9 100644 --- a/content/browser/histogram_synchronizer.cc +++ b/content/browser/histogram_synchronizer.cc @@ -201,7 +201,7 @@ void HistogramSynchronizer::FetchHistograms() { base::TimeDelta::FromMinutes(1)); } -void FetchHistogramsAsynchronously(MessageLoop* callback_thread, +void FetchHistogramsAsynchronously(base::MessageLoop* callback_thread, const base::Closure& callback, base::TimeDelta wait_time) { HistogramSynchronizer::FetchHistogramsAsynchronously( @@ -210,7 +210,7 @@ void FetchHistogramsAsynchronously(MessageLoop* callback_thread, // static void HistogramSynchronizer::FetchHistogramsAsynchronously( - MessageLoop* callback_thread, + base::MessageLoop* callback_thread, const base::Closure& callback, base::TimeDelta wait_time) { DCHECK(callback_thread != NULL); @@ -287,10 +287,10 @@ void HistogramSynchronizer::OnHistogramDataCollected( } void HistogramSynchronizer::SetCallbackTaskAndThread( - MessageLoop* callback_thread, + base::MessageLoop* callback_thread, const base::Closure& callback) { base::Closure old_callback; - MessageLoop* old_thread = NULL; + base::MessageLoop* old_thread = NULL; { base::AutoLock auto_lock(lock_); old_callback = callback_; @@ -307,7 +307,7 @@ void HistogramSynchronizer::SetCallbackTaskAndThread( void HistogramSynchronizer::ForceHistogramSynchronizationDoneCallback( int sequence_number) { base::Closure callback; - MessageLoop* thread = NULL; + base::MessageLoop* thread = NULL; { base::AutoLock lock(lock_); if (sequence_number != async_sequence_number_) @@ -320,7 +320,7 @@ void HistogramSynchronizer::ForceHistogramSynchronizationDoneCallback( InternalPostTask(thread, callback); } -void HistogramSynchronizer::InternalPostTask(MessageLoop* thread, +void HistogramSynchronizer::InternalPostTask(base::MessageLoop* thread, const base::Closure& callback) { if (callback.is_null() || !thread) return; |