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

Unified Diff: chrome/browser/browsing_data/browsing_data_file_system_helper.cc

Issue 101393006: FileAPI: Rename *OnFileThread to *OnFileTaskRunner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « no previous file | content/browser/fileapi/file_writer_delegate_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data/browsing_data_file_system_helper.cc
diff --git a/chrome/browser/browsing_data/browsing_data_file_system_helper.cc b/chrome/browser/browsing_data/browsing_data_file_system_helper.cc
index dbb0b1f5df0b08d9b8da2b0d02662541afa00e8f..49b68d9acc3b80d598a24d28925a32f6fecb9fcd 100644
--- a/chrome/browser/browsing_data/browsing_data_file_system_helper.cc
+++ b/chrome/browser/browsing_data/browsing_data_file_system_helper.cc
@@ -136,13 +136,13 @@ void BrowsingDataFileSystemHelperImpl::FetchFileSystemInfoInFileThread() {
filesystem_context_->GetQuotaUtil(type);
DCHECK(quota_util);
std::set<GURL> origins;
- quota_util->GetOriginsForTypeOnFileThread(type, &origins);
+ quota_util->GetOriginsForTypeOnFileTaskRunner(type, &origins);
for (std::set<GURL>::iterator iter = origins.begin();
iter != origins.end(); ++iter) {
const GURL& current = *iter;
if (!BrowsingDataHelper::HasWebScheme(current))
continue; // Non-websafe state is not considered browsing data.
- int64 usage = quota_util->GetOriginUsageOnFileThread(
+ int64 usage = quota_util->GetOriginUsageOnFileTaskRunner(
filesystem_context_.get(), current, type);
OriginInfoMap::iterator inserted =
file_system_info_map.insert(
@@ -172,7 +172,7 @@ void BrowsingDataFileSystemHelperImpl::NotifyOnUIThread() {
void BrowsingDataFileSystemHelperImpl::DeleteFileSystemOriginInFileThread(
const GURL& origin) {
DCHECK(file_task_runner()->RunsTasksOnCurrentThread());
- filesystem_context_->DeleteDataForOriginOnFileThread(origin);
+ filesystem_context_->DeleteDataForOriginOnFileTaskRunner(origin);
}
} // namespace
« no previous file with comments | « no previous file | content/browser/fileapi/file_writer_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698