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

Unified Diff: storage/browser/fileapi/sandbox_quota_observer.cc

Issue 2890143004: Rename TaskRunner::RunsTasksOnCurrentThread() in //storage (Closed)
Patch Set: for Requirements 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: storage/browser/fileapi/sandbox_quota_observer.cc
diff --git a/storage/browser/fileapi/sandbox_quota_observer.cc b/storage/browser/fileapi/sandbox_quota_observer.cc
index 0b96b87bd6282877568a2fef6fe4406afa8fe5de..e9b5e3f23719a055d3479cfee769c1180f49918c 100644
--- a/storage/browser/fileapi/sandbox_quota_observer.cc
+++ b/storage/browser/fileapi/sandbox_quota_observer.cc
@@ -30,7 +30,7 @@ SandboxQuotaObserver::SandboxQuotaObserver(
SandboxQuotaObserver::~SandboxQuotaObserver() {}
void SandboxQuotaObserver::OnStartUpdate(const FileSystemURL& url) {
- DCHECK(update_notify_runner_->RunsTasksOnCurrentThread());
+ DCHECK(update_notify_runner_->RunsTasksInCurrentSequence());
base::FilePath usage_file_path = GetUsageCachePath(url);
if (usage_file_path.empty())
return;
@@ -38,7 +38,7 @@ void SandboxQuotaObserver::OnStartUpdate(const FileSystemURL& url) {
}
void SandboxQuotaObserver::OnUpdate(const FileSystemURL& url, int64_t delta) {
- DCHECK(update_notify_runner_->RunsTasksOnCurrentThread());
+ DCHECK(update_notify_runner_->RunsTasksInCurrentSequence());
if (quota_manager_proxy_.get()) {
quota_manager_proxy_->NotifyStorageModified(
@@ -65,7 +65,7 @@ void SandboxQuotaObserver::OnUpdate(const FileSystemURL& url, int64_t delta) {
}
void SandboxQuotaObserver::OnEndUpdate(const FileSystemURL& url) {
- DCHECK(update_notify_runner_->RunsTasksOnCurrentThread());
+ DCHECK(update_notify_runner_->RunsTasksInCurrentSequence());
base::FilePath usage_file_path = GetUsageCachePath(url);
if (usage_file_path.empty())

Powered by Google App Engine
This is Rietveld 408576698