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

Unified Diff: chrome/browser/extensions/api/storage/managed_value_store_cache.cc

Issue 2871303004: Rename TaskRunner::RunsTasksOnCurrentThread() in //chrome (Closed)
Patch Set: fixed build error Created 3 years, 7 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
« no previous file with comments | « chrome/browser/download/download_commands.cc ('k') | chrome/browser/extensions/app_data_migrator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/storage/managed_value_store_cache.cc
diff --git a/chrome/browser/extensions/api/storage/managed_value_store_cache.cc b/chrome/browser/extensions/api/storage/managed_value_store_cache.cc
index 7ad44f018ce624efb6b81a4ac3468e4489f54d83..3ac578b222dd4add17c53d8f0cef49d4a26c74bd 100644
--- a/chrome/browser/extensions/api/storage/managed_value_store_cache.cc
+++ b/chrome/browser/extensions/api/storage/managed_value_store_cache.cc
@@ -190,7 +190,7 @@ bool ManagedValueStoreCache::ExtensionTracker::UsesManagedStorage(
void ManagedValueStoreCache::ExtensionTracker::LoadSchemasOnBlockingPool(
std::unique_ptr<ExtensionSet> extensions,
base::WeakPtr<ExtensionTracker> self) {
- DCHECK(BrowserThread::GetBlockingPool()->RunsTasksOnCurrentThread());
+ base::ThreadRestrictions::AssertIOAllowed();
std::unique_ptr<policy::ComponentMap> components(new policy::ComponentMap);
for (ExtensionSet::const_iterator it = extensions->begin();
« no previous file with comments | « chrome/browser/download/download_commands.cc ('k') | chrome/browser/extensions/app_data_migrator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698