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

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

Powered by Google App Engine
This is Rietveld 408576698