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

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

Issue 1093383002: [WIP] Provided file system from NACL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved several modules to chromeos folder. Created 5 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/copy_entry.h
diff --git a/chrome/browser/chromeos/file_system_provider/operations/copy_entry.h b/chrome/browser/chromeos/file_system_provider/operations/copy_entry.h
index 6fba429ef299b9fdb882895ce86859184243b8e4..270ff0d0e0c905fb3f3e4708a9a0407e1b177077 100644
--- a/chrome/browser/chromeos/file_system_provider/operations/copy_entry.h
+++ b/chrome/browser/chromeos/file_system_provider/operations/copy_entry.h
@@ -17,18 +17,15 @@ namespace base {
class FilePath;
} // namespace base
-namespace extensions {
-class EventRouter;
-} // namespace extensions
-
namespace chromeos {
namespace file_system_provider {
namespace operations {
// Copies an entry (recursively if a directory). Created per request.
-class CopyEntry : public Operation {
+template <class DestinationPolicy>
+class CopyEntry : public Operation<DestinationPolicy> {
public:
- CopyEntry(extensions::EventRouter* event_router,
+ CopyEntry(typename DestinationPolicy::EventRouterType* event_router,
const ProvidedFileSystemInfo& file_system_info,
const base::FilePath& source_path,
const base::FilePath& target_path,
@@ -49,7 +46,7 @@ class CopyEntry : public Operation {
base::FilePath target_path_;
const storage::AsyncFileUtil::StatusCallback callback_;
- DISALLOW_COPY_AND_ASSIGN(CopyEntry);
+ DISALLOW_COPY_AND_ASSIGN(CopyEntry<DestinationPolicy>);
};
} // namespace operations

Powered by Google App Engine
This is Rietveld 408576698