Chromium Code Reviews| Index: extensions/browser/api/system_storage/storage_info_provider.cc |
| diff --git a/extensions/browser/api/system_storage/storage_info_provider.cc b/extensions/browser/api/system_storage/storage_info_provider.cc |
| index 0d0fd144c68ed499d5ea25c15577edc487f0f84a..596e2c1f3148c285077e6b4a9c3a167e0ff901f3 100644 |
| --- a/extensions/browser/api/system_storage/storage_info_provider.cc |
| +++ b/extensions/browser/api/system_storage/storage_info_provider.cc |
| @@ -68,7 +68,7 @@ void StorageInfoProvider::InitializeProvider( |
| } |
| bool StorageInfoProvider::QueryInfo() { |
| - DCHECK(BrowserThread::GetBlockingPool()->RunsTasksOnCurrentThread()); |
| + base::ThreadRestrictions::AssertIOAllowed(); |
|
Devlin
2017/05/17 15:06:23
Might be worth mentioning this change in either th
Yeol Park
2017/05/19 07:31:36
Done.
|
| // No info to query since we get all available storage devices' info in |
| // |PrepareQueryOnUIThread()|. |
| return true; |