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

Unified Diff: chrome/browser/chromeos/file_system_provider/operations/unmount.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/unmount.h
diff --git a/chrome/browser/chromeos/file_system_provider/operations/unmount.h b/chrome/browser/chromeos/file_system_provider/operations/unmount.h
index 4b966afb6f61cd03643c1de84a74d4441e92edcf..f8c52b9174b4b87ce016271f18898995db95d45d 100644
--- a/chrome/browser/chromeos/file_system_provider/operations/unmount.h
+++ b/chrome/browser/chromeos/file_system_provider/operations/unmount.h
@@ -14,10 +14,6 @@ namespace base {
class DictionaryValue;
} // namespace base
-namespace extensions {
-class EventRouter;
-} // namespace extensions
-
namespace chromeos {
namespace file_system_provider {
@@ -27,9 +23,10 @@ namespace operations {
// Bridge between fileManagerPrivate's unmount operation and providing
// extension's unmount request. Created per request.
-class Unmount : public Operation {
+template <class DestinationPolicy>
+class Unmount : public Operation<DestinationPolicy> {
public:
- Unmount(extensions::EventRouter* event_router,
+ Unmount(typename DestinationPolicy::EventRouterType* event_router,
const ProvidedFileSystemInfo& file_system_info,
const storage::AsyncFileUtil::StatusCallback& callback);
~Unmount() override;
@@ -46,7 +43,7 @@ class Unmount : public Operation {
private:
const storage::AsyncFileUtil::StatusCallback callback_;
- DISALLOW_COPY_AND_ASSIGN(Unmount);
+ DISALLOW_COPY_AND_ASSIGN(Unmount<DestinationPolicy>);
};
} // namespace operations

Powered by Google App Engine
This is Rietveld 408576698