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

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

Issue 16352002: Rename CrossOperationDelegate to CopyOrMoveOperationDelegate (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 | « content/content_tests.gypi ('k') | webkit/browser/fileapi/copy_or_move_operation_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/fileapi/copy_or_move_operation_delegate.h
diff --git a/webkit/browser/fileapi/cross_operation_delegate.h b/webkit/browser/fileapi/copy_or_move_operation_delegate.h
similarity index 87%
rename from webkit/browser/fileapi/cross_operation_delegate.h
rename to webkit/browser/fileapi/copy_or_move_operation_delegate.h
index d001a5e619e4332ba45f31b3f15dc03db6a4d8f5..1fce074fbe48da82cc4f2d7218d0502402c148c6 100644
--- a/webkit/browser/fileapi/cross_operation_delegate.h
+++ b/webkit/browser/fileapi/copy_or_move_operation_delegate.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_BROWSER_FILEAPI_CROSS_OPERATION_DELEGATE_H_
-#define WEBKIT_BROWSER_FILEAPI_CROSS_OPERATION_DELEGATE_H_
+#ifndef WEBKIT_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_
+#define WEBKIT_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_
#include <stack>
@@ -20,16 +20,16 @@ namespace fileapi {
class CopyOrMoveFileValidator;
// A delegate class for recursive copy or move operations.
-class CrossOperationDelegate
+class CopyOrMoveOperationDelegate
: public RecursiveOperationDelegate,
- public base::SupportsWeakPtr<CrossOperationDelegate> {
+ public base::SupportsWeakPtr<CopyOrMoveOperationDelegate> {
public:
enum OperationType {
OPERATION_COPY,
OPERATION_MOVE
};
- CrossOperationDelegate(
+ CopyOrMoveOperationDelegate(
FileSystemContext* file_system_context,
scoped_ptr<LocalFileSystemOperation> src_root_operation,
LocalFileSystemOperation* dest_root_operation,
@@ -37,7 +37,7 @@ class CrossOperationDelegate
const FileSystemURL& dest_root,
OperationType operation_type,
const StatusCallback& callback);
- virtual ~CrossOperationDelegate();
+ virtual ~CopyOrMoveOperationDelegate();
// RecursiveOperationDelegate overrides:
virtual void Run() OVERRIDE;
@@ -47,7 +47,7 @@ class CrossOperationDelegate
virtual void ProcessDirectory(const FileSystemURL& url,
const StatusCallback& callback) OVERRIDE;
- using base::SupportsWeakPtr<CrossOperationDelegate>::AsWeakPtr;
+ using base::SupportsWeakPtr<CopyOrMoveOperationDelegate>::AsWeakPtr;
private:
struct URLPair {
@@ -115,9 +115,9 @@ class CrossOperationDelegate
scoped_ptr<CopyOrMoveFileValidator> validator_;
- DISALLOW_COPY_AND_ASSIGN(CrossOperationDelegate);
+ DISALLOW_COPY_AND_ASSIGN(CopyOrMoveOperationDelegate);
};
} // namespace fileapi
-#endif // WEBKIT_BROWSER_FILEAPI_CROSS_OPERATION_DELEGATE_H_
+#endif // WEBKIT_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_
« no previous file with comments | « content/content_tests.gypi ('k') | webkit/browser/fileapi/copy_or_move_operation_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698