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

Unified Diff: webkit/browser/fileapi/file_system_context.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 | « webkit/browser/fileapi/file_system_context.h ('k') | webkit/browser/fileapi/file_system_quota_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/fileapi/file_system_context.cc
diff --git a/webkit/browser/fileapi/file_system_context.cc b/webkit/browser/fileapi/file_system_context.cc
index 5bf89775a0cb1fceff29ebcaf74ad98dcc190491..cd704e89f58d7a0642c63a2b3b9b1dcf577d62dc 100644
--- a/webkit/browser/fileapi/file_system_context.cc
+++ b/webkit/browser/fileapi/file_system_context.cc
@@ -169,7 +169,7 @@ FileSystemContext::FileSystemContext(
url_crackers_.push_back(IsolatedContext::GetInstance());
}
-bool FileSystemContext::DeleteDataForOriginOnFileThread(
+bool FileSystemContext::DeleteDataForOriginOnFileTaskRunner(
const GURL& origin_url) {
DCHECK(default_file_task_runner()->RunsTasksOnCurrentThread());
DCHECK(origin_url == origin_url.GetOrigin());
@@ -181,7 +181,7 @@ bool FileSystemContext::DeleteDataForOriginOnFileThread(
FileSystemBackend* backend = iter->second;
if (!backend->GetQuotaUtil())
continue;
- if (backend->GetQuotaUtil()->DeleteOriginDataOnFileThread(
+ if (backend->GetQuotaUtil()->DeleteOriginDataOnFileTaskRunner(
this, quota_manager_proxy(), origin_url, iter->first)
!= base::PLATFORM_FILE_OK) {
// Continue the loop, but record the failure.
@@ -367,7 +367,7 @@ void FileSystemContext::DeleteFileSystem(
default_file_task_runner(),
FROM_HERE,
// It is safe to pass Unretained(quota_util) since context owns it.
- base::Bind(&FileSystemQuotaUtil::DeleteOriginDataOnFileThread,
+ base::Bind(&FileSystemQuotaUtil::DeleteOriginDataOnFileTaskRunner,
base::Unretained(backend->GetQuotaUtil()),
make_scoped_refptr(this),
base::Unretained(quota_manager_proxy()),
« no previous file with comments | « webkit/browser/fileapi/file_system_context.h ('k') | webkit/browser/fileapi/file_system_quota_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698