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

Unified Diff: chrome/browser/chromeos/file_system_provider/operations/move_entry.h

Issue 389973002: [fsp] Add support for moving files within a provided file system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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: chrome/browser/chromeos/file_system_provider/operations/move_entry.h
diff --git a/chrome/browser/chromeos/file_system_provider/operations/copy_entry.h b/chrome/browser/chromeos/file_system_provider/operations/move_entry.h
similarity index 90%
copy from chrome/browser/chromeos/file_system_provider/operations/copy_entry.h
copy to chrome/browser/chromeos/file_system_provider/operations/move_entry.h
index b25a640c2871de033eaa9836ba3b2b9a2438932b..5c6de31802856453b6e76e9f2f17bdb88738fbd8 100644
--- a/chrome/browser/chromeos/file_system_provider/operations/copy_entry.h
+++ b/chrome/browser/chromeos/file_system_provider/operations/move_entry.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 CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_COPY_ENTRY_H_
-#define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_COPY_ENTRY_H_
+#ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_MOVE_ENTRY_H_
+#define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_MOVE_ENTRY_H_
#include "base/files/file.h"
#include "base/memory/scoped_ptr.h"
@@ -26,14 +26,14 @@ namespace file_system_provider {
namespace operations {
// Copies an entry (recursively if a directory). Created per request.
-class CopyEntry : public Operation {
+class MoveEntry : public Operation {
public:
- CopyEntry(extensions::EventRouter* event_router,
+ MoveEntry(extensions::EventRouter* event_router,
const ProvidedFileSystemInfo& file_system_info,
const base::FilePath& source_path,
const base::FilePath& target_path,
const fileapi::AsyncFileUtil::StatusCallback& callback);
- virtual ~CopyEntry();
+ virtual ~MoveEntry();
// Operation overrides.
virtual bool Execute(int request_id) OVERRIDE;
@@ -49,11 +49,11 @@ class CopyEntry : public Operation {
base::FilePath target_path_;
const fileapi::AsyncFileUtil::StatusCallback callback_;
- DISALLOW_COPY_AND_ASSIGN(CopyEntry);
+ DISALLOW_COPY_AND_ASSIGN(MoveEntry);
};
} // namespace operations
} // namespace file_system_provider
} // namespace chromeos
-#endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_COPY_ENTRY_H_
+#endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_MOVE_ENTRY_H_

Powered by Google App Engine
This is Rietveld 408576698