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

Unified Diff: content/browser/indexed_db/indexed_db_internals_ui.cc

Issue 2873333004: Rename TaskRunner::RunsTasksOnCurrentThread() in //content (Closed)
Patch Set: 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: content/browser/indexed_db/indexed_db_internals_ui.cc
diff --git a/content/browser/indexed_db/indexed_db_internals_ui.cc b/content/browser/indexed_db/indexed_db_internals_ui.cc
index 69aa15395188f89af9943c82b48fc53ad46f1fb7..8e867aae3517886ec76cdb856e98e512aaa95c6d 100644
--- a/content/browser/indexed_db/indexed_db_internals_ui.cc
+++ b/content/browser/indexed_db/indexed_db_internals_ui.cc
@@ -103,7 +103,7 @@ void IndexedDBInternalsUI::GetAllOrigins(const base::ListValue* args) {
void IndexedDBInternalsUI::GetAllOriginsOnIndexedDBThread(
scoped_refptr<IndexedDBContext> context,
const base::FilePath& context_path) {
- DCHECK(context->TaskRunner()->RunsTasksOnCurrentThread());
+ DCHECK(context->TaskRunner()->RunsTasksInCurrentSequence());
IndexedDBContextImpl* context_impl =
static_cast<IndexedDBContextImpl*>(context.get());
@@ -213,7 +213,7 @@ void IndexedDBInternalsUI::DownloadOriginDataOnIndexedDBThread(
const base::FilePath& partition_path,
const scoped_refptr<IndexedDBContextImpl> context,
const Origin& origin) {
- DCHECK(context->TaskRunner()->RunsTasksOnCurrentThread());
+ DCHECK(context->TaskRunner()->RunsTasksInCurrentSequence());
// This runs on the IndexedDB task runner to prevent script from reopening
// the origin while we are zipping.
@@ -251,7 +251,7 @@ void IndexedDBInternalsUI::ForceCloseOriginOnIndexedDBThread(
const base::FilePath& partition_path,
const scoped_refptr<IndexedDBContextImpl> context,
const Origin& origin) {
- DCHECK(context->TaskRunner()->RunsTasksOnCurrentThread());
+ DCHECK(context->TaskRunner()->RunsTasksInCurrentSequence());
// Make sure the database hasn't been deleted since the page was loaded.
if (!context->HasOrigin(origin))
« no previous file with comments | « content/browser/indexed_db/indexed_db_dispatcher_host.cc ('k') | content/browser/indexed_db/indexed_db_quota_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698