#include "base/callback_forward.h"
#include "base/files/file.h"
#include "base/files/file_path.h"
+#include "storage/browser/fileapi/file_system_operation_runner.h"
#include "url/gurl.h"
-#include "webkit/browser/fileapi/file_system_operation_runner.h"
class Profile;
class RenderViewHost;
}
-namespace fileapi {
+namespace storage {
class FileSystemContext;
}
// Returns a file system context associated with the given profile and the
// extension ID.
-fileapi::FileSystemContext* GetFileSystemContextForExtensionId(
+storage::FileSystemContext* GetFileSystemContextForExtensionId(
Profile* profile,
const std::string& extension_id);
// Returns a file system context associated with the given profile and the
// render view host.
-fileapi::FileSystemContext* GetFileSystemContextForRenderViewHost(
+storage::FileSystemContext* GetFileSystemContextForRenderViewHost(
Profile* profile,
content::RenderViewHost* render_view_host);
// Checks if a directory exists at |url|.
void CheckIfDirectoryExists(
- scoped_refptr<fileapi::FileSystemContext> file_system_context,
+ scoped_refptr<storage::FileSystemContext> file_system_context,
const GURL& url,
- const fileapi::FileSystemOperationRunner::StatusCallback& callback);
+ const storage::FileSystemOperationRunner::StatusCallback& callback);
} // namespace util
} // namespace file_manager