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

Unified Diff: components/drive/chromeos/file_cache.cc

Issue 2889683003: Rename TaskRunner::RunsTasksOnCurrentThread() in //components (Closed)
Patch Set: rebase Created 3 years, 6 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
« no previous file with comments | « components/domain_reliability/monitor.cc ('k') | components/drive/chromeos/resource_metadata.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/chromeos/file_cache.cc
diff --git a/components/drive/chromeos/file_cache.cc b/components/drive/chromeos/file_cache.cc
index a9597cfcc90fe50d852f0a043fd9d25a704e0a30..9d286216d6e1ec5c86b2ed7b334b549170a656f5 100644
--- a/components/drive/chromeos/file_cache.cc
+++ b/components/drive/chromeos/file_cache.cc
@@ -194,7 +194,7 @@ base::FilePath FileCache::GetCacheFilePath(const std::string& id) const {
}
void FileCache::AssertOnSequencedWorkerPool() {
- DCHECK(blocking_task_runner_->RunsTasksOnCurrentThread());
+ DCHECK(blocking_task_runner_->RunsTasksInCurrentSequence());
}
bool FileCache::IsUnderFileCacheDirectory(const base::FilePath& path) const {
« no previous file with comments | « components/domain_reliability/monitor.cc ('k') | components/drive/chromeos/resource_metadata.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698