Commit 4ea953e3 authored by Gabriel Charette's avatar Gabriel Charette Committed by Commit Bot

Migrate ContentHashFetcher off of BlockingPool

R=rdevlin.cronin@chromium.org

Bug: 667892
Change-Id: I21df3c5a2eac7d6a5d2b1a3bc0322d752baca286
Reviewed-on: https://chromium-review.googlesource.com/663767
Commit-Queue: Gabriel Charette <gab@chromium.org>
Reviewed-by: default avatarDevlin <rdevlin.cronin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#501607}
parent 4b7622af
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include "extensions/browser/computed_hashes.h" #include "extensions/browser/computed_hashes.h"
#include "extensions/browser/content_hash_tree.h" #include "extensions/browser/content_hash_tree.h"
#include "extensions/browser/content_verifier_delegate.h" #include "extensions/browser/content_verifier_delegate.h"
#include "extensions/browser/extension_file_task_runner.h"
#include "extensions/browser/verified_contents.h" #include "extensions/browser/verified_contents.h"
#include "extensions/common/constants.h" #include "extensions/common/constants.h"
#include "extensions/common/extension.h" #include "extensions/common/extension.h"
...@@ -350,10 +351,8 @@ void ContentHashFetcherJob::DoneFetchingVerifiedContents(bool success) { ...@@ -350,10 +351,8 @@ void ContentHashFetcherJob::DoneFetchingVerifiedContents(bool success) {
return; return;
} }
content::BrowserThread::PostBlockingPoolSequencedTask( GetExtensionFileTaskRunner()->PostTask(
"ContentHashFetcher", FROM_HERE, base::Bind(&ContentHashFetcherJob::MaybeCreateHashes, this));
FROM_HERE,
base::Bind(&ContentHashFetcherJob::MaybeCreateHashes, this));
} }
void ContentHashFetcherJob::MaybeCreateHashes() { void ContentHashFetcherJob::MaybeCreateHashes() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment