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

Unified Diff: webkit/fileapi/remove_operation_delegate.h

Issue 14895013: Move webkit/fileapi/file_system_mount_point_provider.h 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
Index: webkit/fileapi/remove_operation_delegate.h
diff --git a/webkit/fileapi/remove_operation_delegate.h b/webkit/fileapi/remove_operation_delegate.h
deleted file mode 100644
index 20bdd23f8e4620072151d374fa15fc51c081d9e1..0000000000000000000000000000000000000000
--- a/webkit/fileapi/remove_operation_delegate.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2013 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_REMOVE_OPERATION_DELEGATE_H_
-#define WEBKIT_FILEAPI_REMOVE_OPERATION_DELEGATE_H_
-
-#include <stack>
-
-#include "webkit/fileapi/recursive_operation_delegate.h"
-
-namespace fileapi {
-
-class RemoveOperationDelegate
- : public RecursiveOperationDelegate,
- public base::SupportsWeakPtr<RemoveOperationDelegate> {
- public:
- RemoveOperationDelegate(FileSystemContext* file_system_context,
- LocalFileSystemOperation* operation,
- 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;
-
- using base::SupportsWeakPtr<RemoveOperationDelegate>::AsWeakPtr;
-
- private:
- void DidTryRemoveFile(base::PlatformFileError error);
- void DidRemoveFile(const StatusCallback& callback,
- base::PlatformFileError error);
- void RemoveNextDirectory(base::PlatformFileError error);
-
- FileSystemURL url_;
- StatusCallback callback_;
-
- std::stack<FileSystemURL> to_remove_directories_;
-
- DISALLOW_COPY_AND_ASSIGN(RemoveOperationDelegate);
-};
-
-} // namespace fileapi
-
-#endif // WEBKIT_FILEAPI_REMOVE_OPERATION_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698