Index: storage/browser/fileapi/recursive_operation_delegate.h |
diff --git a/webkit/browser/fileapi/recursive_operation_delegate.h b/storage/browser/fileapi/recursive_operation_delegate.h |
similarity index 94% |
rename from webkit/browser/fileapi/recursive_operation_delegate.h |
rename to storage/browser/fileapi/recursive_operation_delegate.h |
index 11f8da044331b61ca783632c728edb7751193b0f..346dd485772abca3183effdc47c299f11f46807a 100644 |
--- a/webkit/browser/fileapi/recursive_operation_delegate.h |
+++ b/storage/browser/fileapi/recursive_operation_delegate.h |
@@ -11,10 +11,10 @@ |
#include "base/basictypes.h" |
#include "base/callback.h" |
#include "base/memory/weak_ptr.h" |
-#include "webkit/browser/fileapi/file_system_operation.h" |
-#include "webkit/browser/fileapi/file_system_url.h" |
+#include "storage/browser/fileapi/file_system_operation.h" |
+#include "storage/browser/fileapi/file_system_url.h" |
-namespace fileapi { |
+namespace storage { |
class FileSystemContext; |
class FileSystemOperationRunner; |
@@ -24,7 +24,7 @@ class FileSystemOperationRunner; |
// In short, each subclass should override ProcessFile and ProcessDirectory |
// to process a directory or a file. To start the recursive operation it |
// should also call StartRecursiveOperation. |
-class WEBKIT_STORAGE_BROWSER_EXPORT RecursiveOperationDelegate |
+class STORAGE_EXPORT RecursiveOperationDelegate |
: public base::SupportsWeakPtr<RecursiveOperationDelegate> { |
public: |
typedef FileSystemOperation::StatusCallback StatusCallback; |
@@ -50,7 +50,6 @@ class WEBKIT_STORAGE_BROWSER_EXPORT RecursiveOperationDelegate |
virtual void ProcessDirectory(const FileSystemURL& url, |
const StatusCallback& callback) = 0; |
- |
// This is called each time after files and subdirectories for a |
// directory is processed while recursively performing an operation. |
virtual void PostProcessDirectory(const FileSystemURL& url, |
@@ -120,8 +119,7 @@ class WEBKIT_STORAGE_BROWSER_EXPORT RecursiveOperationDelegate |
virtual void OnCancel(); |
private: |
- void DidTryProcessFile(const FileSystemURL& root, |
- base::File::Error error); |
+ void DidTryProcessFile(const FileSystemURL& root, base::File::Error error); |
void ProcessNextDirectory(); |
void DidProcessDirectory(base::File::Error error); |
void DidReadDirectory(const FileSystemURL& parent, |
@@ -147,6 +145,6 @@ class WEBKIT_STORAGE_BROWSER_EXPORT RecursiveOperationDelegate |
DISALLOW_COPY_AND_ASSIGN(RecursiveOperationDelegate); |
}; |
-} // namespace fileapi |
+} // namespace storage |
#endif // WEBKIT_BROWSER_FILEAPI_RECURSIVE_OPERATION_DELEGATE_H_ |