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

Unified Diff: webkit/fileapi/isolated_file_util.h

Issue 15371005: Move browser-specific FileAPI code from webkit/fileapi to webkit/browser/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | « webkit/fileapi/file_writer_delegate_unittest.cc ('k') | webkit/fileapi/isolated_file_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/isolated_file_util.h
diff --git a/webkit/fileapi/isolated_file_util.h b/webkit/fileapi/isolated_file_util.h
deleted file mode 100644
index 5d48399aad1714efaf32c175d1f2e96395be97f7..0000000000000000000000000000000000000000
--- a/webkit/fileapi/isolated_file_util.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef WEBKIT_FILEAPI_ISOLATED_FILE_UTIL_H_
-#define WEBKIT_FILEAPI_ISOLATED_FILE_UTIL_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "webkit/fileapi/local_file_util.h"
-#include "webkit/storage/webkit_storage_export.h"
-
-namespace fileapi {
-
-class FileSystemOperationContext;
-
-class WEBKIT_STORAGE_EXPORT_PRIVATE IsolatedFileUtil : public LocalFileUtil {
- public:
- IsolatedFileUtil();
- virtual ~IsolatedFileUtil() {}
-
- // LocalFileUtil overrides.
- virtual base::PlatformFileError GetLocalFilePath(
- FileSystemOperationContext* context,
- const FileSystemURL& file_system_url,
- base::FilePath* local_file_path) OVERRIDE;
-};
-
-// Dragged file system is a specialized IsolatedFileUtil where read access to
-// the virtual root directory (i.e. empty cracked path case) is allowed
-// and single isolated context may be associated with multiple file paths.
-class WEBKIT_STORAGE_EXPORT_PRIVATE DraggedFileUtil : public IsolatedFileUtil {
- public:
- DraggedFileUtil();
- virtual ~DraggedFileUtil() {}
-
- // FileSystemFileUtil overrides.
- virtual base::PlatformFileError GetFileInfo(
- FileSystemOperationContext* context,
- const FileSystemURL& url,
- base::PlatformFileInfo* file_info,
- base::FilePath* platform_path) OVERRIDE;
- virtual scoped_ptr<AbstractFileEnumerator> CreateFileEnumerator(
- FileSystemOperationContext* context,
- const FileSystemURL& root_url) OVERRIDE;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(DraggedFileUtil);
-};
-
-} // namespace fileapi
-
-#endif // WEBKIT_FILEAPI_ISOLATED_FILE_UTIL_H_
« no previous file with comments | « webkit/fileapi/file_writer_delegate_unittest.cc ('k') | webkit/fileapi/isolated_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698