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

Unified Diff: chrome/browser/browsing_data/browsing_data_file_system_helper.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
Index: chrome/browser/browsing_data/browsing_data_file_system_helper.cc
diff --git a/chrome/browser/browsing_data/browsing_data_file_system_helper.cc b/chrome/browser/browsing_data/browsing_data_file_system_helper.cc
index d32fe0d0ec4f549132fd70381fa55dc3b20a162b..cddc3c91ca0a5142b7fb1a7abcca7b01d09de7fb 100644
--- a/chrome/browser/browsing_data/browsing_data_file_system_helper.cc
+++ b/chrome/browser/browsing_data/browsing_data_file_system_helper.cc
@@ -93,7 +93,7 @@ void BrowsingDataFileSystemHelperImpl::DeleteFileSystemOrigin(
void BrowsingDataFileSystemHelperImpl::FetchFileSystemInfoInFileThread(
const FetchCallback& callback) {
- DCHECK(file_task_runner()->RunsTasksOnCurrentThread());
+ DCHECK(file_task_runner()->RunsTasksInCurrentSequence());
DCHECK(!callback.is_null());
// We check usage for these filesystem types.
@@ -136,7 +136,7 @@ void BrowsingDataFileSystemHelperImpl::FetchFileSystemInfoInFileThread(
void BrowsingDataFileSystemHelperImpl::DeleteFileSystemOriginInFileThread(
const GURL& origin) {
- DCHECK(file_task_runner()->RunsTasksOnCurrentThread());
+ DCHECK(file_task_runner()->RunsTasksInCurrentSequence());
filesystem_context_->DeleteDataForOriginOnFileTaskRunner(origin);
}

Powered by Google App Engine
This is Rietveld 408576698