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

Unified Diff: chrome/browser/chromeos/file_system_provider/operations/abort.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/abort.h
diff --git a/chrome/browser/chromeos/file_system_provider/operations/abort.h b/chrome/browser/chromeos/file_system_provider/operations/abort.h
index 0dc7ff1632c213eb935cda8132c13b7105c0aea1..17fdbaaf8f82740b4e6b63e6d61ab819d081528c 100644
--- a/chrome/browser/chromeos/file_system_provider/operations/abort.h
+++ b/chrome/browser/chromeos/file_system_provider/operations/abort.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 {
// Aborts an operation. Created per request.
-class Abort : public Operation {
+template <class DestinationPolicy>
+class Abort : public Operation<DestinationPolicy> {
public:
- Abort(extensions::EventRouter* event_router,
+ Abort(typename DestinationPolicy::EventRouterType* event_router,
const ProvidedFileSystemInfo& file_system_info,
int operation_request_id,
const storage::AsyncFileUtil::StatusCallback& callback);
@@ -47,7 +44,7 @@ class Abort : public Operation {
int operation_request_id_;
const storage::AsyncFileUtil::StatusCallback callback_;
- DISALLOW_COPY_AND_ASSIGN(Abort);
+ DISALLOW_COPY_AND_ASSIGN(Abort<DestinationPolicy>);
};
} // namespace operations

Powered by Google App Engine
This is Rietveld 408576698