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

Unified Diff: webkit/browser/fileapi/remove_operation_delegate.h

Issue 539143002: Migrate webkit/browser/ to storage/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: webkit/browser/fileapi/remove_operation_delegate.h
diff --git a/webkit/browser/fileapi/remove_operation_delegate.h b/webkit/browser/fileapi/remove_operation_delegate.h
index 57380a3167cbcaef7decc813eb3bbb2170c4a2c8..2a7bea3b4b8eb57bc5d2624f8bf5d0c1f79cf7f8 100644
--- a/webkit/browser/fileapi/remove_operation_delegate.h
+++ b/webkit/browser/fileapi/remove_operation_delegate.h
@@ -1,46 +1,5 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Copyright 2014 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_BROWSER_FILEAPI_REMOVE_OPERATION_DELEGATE_H_
-#define WEBKIT_BROWSER_FILEAPI_REMOVE_OPERATION_DELEGATE_H_
-
-#include <stack>
-
-#include "webkit/browser/fileapi/recursive_operation_delegate.h"
-
-namespace storage {
-
-class RemoveOperationDelegate : public RecursiveOperationDelegate {
- public:
- RemoveOperationDelegate(FileSystemContext* file_system_context,
- const FileSystemURL& url,
- const StatusCallback& callback);
- virtual ~RemoveOperationDelegate();
-
- // RecursiveOperationDelegate overrides:
- virtual void Run() OVERRIDE;
- virtual void RunRecursively() OVERRIDE;
- virtual void ProcessFile(const FileSystemURL& url,
- const StatusCallback& callback) OVERRIDE;
- virtual void ProcessDirectory(const FileSystemURL& url,
- const StatusCallback& callback) OVERRIDE;
- virtual void PostProcessDirectory(const FileSystemURL& url,
- const StatusCallback& callback) OVERRIDE;
-
- private:
- void DidTryRemoveFile(base::File::Error error);
- void DidTryRemoveDirectory(base::File::Error remove_file_error,
- base::File::Error remove_directory_error);
- void DidRemoveFile(const StatusCallback& callback,
- base::File::Error error);
-
- FileSystemURL url_;
- StatusCallback callback_;
- base::WeakPtrFactory<RemoveOperationDelegate> weak_factory_;
- DISALLOW_COPY_AND_ASSIGN(RemoveOperationDelegate);
-};
-
-} // namespace storage
-
-#endif // WEBKIT_BROWSER_FILEAPI_REMOVE_OPERATION_DELEGATE_H_
+#include "storage/browser/fileapi/remove_operation_delegate.h"

Powered by Google App Engine
This is Rietveld 408576698