summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_data
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-03 20:52:37 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-03 20:52:37 +0000
commit09eab25bfee3e04dc07f3d5dfc15edf99951e1a2 (patch)
tree55ee39490c2ab196fadef70c4241f3419dea8052 /chrome/browser/browsing_data
parent8d8277a6c58ba7ec96fc5af416453c5957f3c3dd (diff)
downloadchromium_src-09eab25bfee3e04dc07f3d5dfc15edf99951e1a2.zip
chromium_src-09eab25bfee3e04dc07f3d5dfc15edf99951e1a2.tar.gz
chromium_src-09eab25bfee3e04dc07f3d5dfc15edf99951e1a2.tar.bz2
Convert WebRtcLoggingHandlerHost to use the blocking thread pool.
Also call base::GetLinuxDistro() on the blocking pool and not on the IO thread because it may block. Review URL: https://codereview.chromium.org/299903002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274615 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_data')
-rw-r--r--chrome/browser/browsing_data/browsing_data_remover.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/browsing_data/browsing_data_remover.cc b/chrome/browser/browsing_data/browsing_data_remover.cc
index da2bb2f..bd4e2fd 100644
--- a/chrome/browser/browsing_data/browsing_data_remover.cc
+++ b/chrome/browser/browsing_data/browsing_data_remover.cc
@@ -388,8 +388,7 @@ void BrowsingDataRemover::RemoveImpl(int remove_mask,
#if defined(ENABLE_WEBRTC)
waiting_for_clear_webrtc_logs_ = true;
- BrowserThread::PostTaskAndReply(
- BrowserThread::FILE,
+ BrowserThread::PostBlockingPoolTaskAndReply(
FROM_HERE,
base::Bind(
&WebRtcLogUtil::DeleteOldAndRecentWebRtcLogFiles,