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

Unified Diff: content/browser/dom_storage/dom_storage_task_runner.h

Issue 2823103003: Introduce TaskRunner::RunsTasksInCurrentSequence() (Closed)
Patch Set: fixed build error and commments Created 3 years, 8 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/dom_storage/dom_storage_task_runner.h
diff --git a/content/browser/dom_storage/dom_storage_task_runner.h b/content/browser/dom_storage/dom_storage_task_runner.h
index ef90833d050a9941f49e76d9e93b31b3a05e7ee2..fe23a5144d95cc6bc7d1f038a92c1e541c3524fb 100644
--- a/content/browser/dom_storage/dom_storage_task_runner.h
+++ b/content/browser/dom_storage/dom_storage_task_runner.h
@@ -63,7 +63,7 @@ class CONTENT_EXPORT DOMStorageWorkerPoolTaskRunner :
scoped_refptr<base::SequencedTaskRunner> primary_sequence,
scoped_refptr<base::SequencedTaskRunner> commit_sequence);
- bool RunsTasksOnCurrentThread() const override;
+ bool RunsTasksInCurrentSequence() const override;
bool PostDelayedTask(const tracked_objects::Location& from_here,
base::OnceClosure task,
@@ -100,7 +100,7 @@ class CONTENT_EXPORT MockDOMStorageTaskRunner :
explicit MockDOMStorageTaskRunner(
scoped_refptr<base::SequencedTaskRunner> task_runner);
- bool RunsTasksOnCurrentThread() const override;
+ bool RunsTasksInCurrentSequence() const override;
bool PostDelayedTask(const tracked_objects::Location& from_here,
base::OnceClosure task,

Powered by Google App Engine
This is Rietveld 408576698