| Index: chrome/browser/chromeos/file_system_provider/operations/open_file.h
|
| diff --git a/chrome/browser/chromeos/file_system_provider/operations/open_file.h b/chrome/browser/chromeos/file_system_provider/operations/open_file.h
|
| index 852c466e59f89176487b05aeb8e1f3e1bb83f80e..e5b1eaf916e3de6ccc9f912b3afb6664288e8c62 100644
|
| --- a/chrome/browser/chromeos/file_system_provider/operations/open_file.h
|
| +++ b/chrome/browser/chromeos/file_system_provider/operations/open_file.h
|
| @@ -17,19 +17,16 @@ namespace base {
|
| class FilePath;
|
| } // namespace base
|
|
|
| -namespace extensions {
|
| -class EventRouter;
|
| -} // namespace extensions
|
| -
|
| namespace chromeos {
|
| namespace file_system_provider {
|
| namespace operations {
|
|
|
| // Opens a file for either read or write. The file must exist, otherwise the
|
| // operation will fail. Created per request.
|
| -class OpenFile : public Operation {
|
| +template <int source>
|
| +class OpenFile : public Operation<source> {
|
| public:
|
| - OpenFile(extensions::EventRouter* event_router,
|
| + OpenFile(typename Operation<source>::EventRouterType* event_router,
|
| const ProvidedFileSystemInfo& file_system_info,
|
| const base::FilePath& file_path,
|
| OpenFileMode mode,
|
| @@ -50,7 +47,7 @@ class OpenFile : public Operation {
|
| OpenFileMode mode_;
|
| const ProvidedFileSystemInterface::OpenFileCallback callback_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(OpenFile);
|
| + DISALLOW_COPY_AND_ASSIGN(OpenFile<source>);
|
| };
|
|
|
| } // namespace operations
|
|
|