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

Unified Diff: chrome/browser/extensions/app_data_migrator.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/extensions/app_data_migrator.cc
diff --git a/chrome/browser/extensions/app_data_migrator.cc b/chrome/browser/extensions/app_data_migrator.cc
index 2f4ef28df82dc98a288ce4f47b3cbbacabc39436..79d8502df2bd88e5508b84611bb26f9cc4d8665e 100644
--- a/chrome/browser/extensions/app_data_migrator.cc
+++ b/chrome/browser/extensions/app_data_migrator.cc
@@ -31,7 +31,7 @@ void MigrateOnFileSystemThread(FileSystemContext* old_fs_context,
FileSystemContext* fs_context,
const extensions::Extension* extension) {
DCHECK(
- old_fs_context->default_file_task_runner()->RunsTasksOnCurrentThread());
+ old_fs_context->default_file_task_runner()->RunsTasksInCurrentSequence());
SandboxFileSystemBackendDelegate* old_sandbox_delegate =
old_fs_context->sandbox_delegate();
@@ -67,7 +67,7 @@ void MigrateOnFileSystemThread(FileSystemContext* old_fs_context,
void MigrateOnIndexedDBThread(IndexedDBContext* old_indexed_db_context,
IndexedDBContext* indexed_db_context,
const extensions::Extension* extension) {
- DCHECK(old_indexed_db_context->TaskRunner()->RunsTasksOnCurrentThread());
+ DCHECK(old_indexed_db_context->TaskRunner()->RunsTasksInCurrentSequence());
GURL extension_url =
extensions::Extension::GetBaseURLFromExtensionId(extension->id());
« no previous file with comments | « chrome/browser/extensions/api/storage/managed_value_store_cache.cc ('k') | chrome/browser/extensions/crx_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698