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

Unified Diff: chrome/browser/sync_file_system/local/root_delete_helper.cc

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build Created 6 years, 4 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: chrome/browser/sync_file_system/local/root_delete_helper.cc
diff --git a/chrome/browser/sync_file_system/local/root_delete_helper.cc b/chrome/browser/sync_file_system/local/root_delete_helper.cc
index 8ab21da5ddf240cd6275a66d891410d938575b7f..34d7ea1b6b8eea1ecb79c0adac5c1ffb9b2147a3 100644
--- a/chrome/browser/sync_file_system/local/root_delete_helper.cc
+++ b/chrome/browser/sync_file_system/local/root_delete_helper.cc
@@ -20,9 +20,8 @@ namespace sync_file_system {
namespace {
// This runs on FileSystemContext's default_file_task_runner.
-void ResetFileChangeTracker(
- fileapi::FileSystemContext* file_system_context,
- const fileapi::FileSystemURL& url) {
+void ResetFileChangeTracker(storage::FileSystemContext* file_system_context,
+ const storage::FileSystemURL& url) {
DCHECK(file_system_context->default_file_task_runner()->
RunsTasksOnCurrentThread());
SyncFileSystemBackend* backend =
@@ -35,9 +34,9 @@ void ResetFileChangeTracker(
} // namespace
RootDeleteHelper::RootDeleteHelper(
- fileapi::FileSystemContext* file_system_context,
+ storage::FileSystemContext* file_system_context,
LocalFileSyncStatus* sync_status,
- const fileapi::FileSystemURL& url,
+ const storage::FileSystemURL& url,
const FileStatusCallback& callback)
: file_system_context_(file_system_context),
url_(url),
@@ -49,7 +48,7 @@ RootDeleteHelper::RootDeleteHelper(
DCHECK(!callback_.is_null());
DCHECK(sync_status_);
// This is expected to run on the filesystem root.
- DCHECK(fileapi::VirtualPath::IsRootPath(url.path()));
+ DCHECK(storage::VirtualPath::IsRootPath(url.path()));
}
RootDeleteHelper::~RootDeleteHelper() {
@@ -89,10 +88,12 @@ void RootDeleteHelper::DidResetFileChangeTracker() {
// Reopening the filesystem.
file_system_context_->sandbox_delegate()->OpenFileSystem(
- url_.origin(), url_.type(),
- fileapi::OPEN_FILE_SYSTEM_CREATE_IF_NONEXISTENT,
+ url_.origin(),
+ url_.type(),
+ storage::OPEN_FILE_SYSTEM_CREATE_IF_NONEXISTENT,
base::Bind(&RootDeleteHelper::DidOpenFileSystem,
- weak_factory_.GetWeakPtr()), GURL());
+ weak_factory_.GetWeakPtr()),
+ GURL());
}
void RootDeleteHelper::DidOpenFileSystem(const GURL& /* root */,

Powered by Google App Engine
This is Rietveld 408576698