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

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

Issue 1093383002: [WIP] Provided file system from NACL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Various cleanups Created 5 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: chrome/browser/chromeos/file_system_provider/operations/create_directory.h
diff --git a/chrome/browser/chromeos/file_system_provider/operations/create_directory.h b/chrome/browser/chromeos/file_system_provider/operations/create_directory.h
index ed57b8dde747a6d18ca0655da1f4b070cf43c440..bf250ad0446ec77b339a6bf25d3144ba13eb2f41 100644
--- a/chrome/browser/chromeos/file_system_provider/operations/create_directory.h
+++ b/chrome/browser/chromeos/file_system_provider/operations/create_directory.h
@@ -16,10 +16,6 @@ namespace base {
class FilePath;
} // namespace base
-namespace extensions {
-class EventRouter;
-} // namespace extensions
-
namespace chromeos {
namespace file_system_provider {
namespace operations {
@@ -27,9 +23,10 @@ namespace operations {
// Creates a directory. If |recursive| is set to true, then creates also all
// non-existing directories on the path. The operation will fail if the
// directory already exists. Created per request.
-class CreateDirectory : public Operation {
+template <int source>
+class CreateDirectory : public Operation<source> {
public:
- CreateDirectory(extensions::EventRouter* event_router,
+ CreateDirectory(typename Operation<source>::EventRouterType* event_router,
const ProvidedFileSystemInfo& file_system_info,
const base::FilePath& directory_path,
bool recursive,
@@ -50,7 +47,7 @@ class CreateDirectory : public Operation {
bool recursive_;
const storage::AsyncFileUtil::StatusCallback callback_;
- DISALLOW_COPY_AND_ASSIGN(CreateDirectory);
+ DISALLOW_COPY_AND_ASSIGN(CreateDirectory<source>);
};
} // namespace operations

Powered by Google App Engine
This is Rietveld 408576698