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

Unified Diff: chrome/browser/chromeos/file_system_provider/provided_file_system.h

Issue 239993002: [fsp] Create a RequestManager per a ProvidedFileSystem instance. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed and rebased. Created 6 years, 8 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/provided_file_system.h
diff --git a/chrome/browser/chromeos/file_system_provider/provided_file_system.h b/chrome/browser/chromeos/file_system_provider/provided_file_system.h
index 45807a45618ac6c5667207ec2db181783b91c83f..71104786e1eff386133620c4056965152099cfa9 100644
--- a/chrome/browser/chromeos/file_system_provider/provided_file_system.h
+++ b/chrome/browser/chromeos/file_system_provider/provided_file_system.h
@@ -7,6 +7,7 @@
#include "chrome/browser/chromeos/file_system_provider/provided_file_system_info.h"
#include "chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h"
+#include "chrome/browser/chromeos/file_system_provider/request_manager.h"
namespace extensions {
class EventRouter;
@@ -15,14 +16,11 @@ class EventRouter;
namespace chromeos {
namespace file_system_provider {
-class RequestManager;
-
// Provided file system implementation. Forwards requests between providers and
// clients.
class ProvidedFileSystem : public ProvidedFileSystemInterface {
public:
ProvidedFileSystem(extensions::EventRouter* event_router,
- RequestManager* request_manager,
const ProvidedFileSystemInfo& file_system_info);
virtual ~ProvidedFileSystem();
@@ -30,10 +28,11 @@ class ProvidedFileSystem : public ProvidedFileSystemInterface {
virtual bool RequestUnmount(
const fileapi::AsyncFileUtil::StatusCallback& callback) OVERRIDE;
virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const OVERRIDE;
+ virtual RequestManager* GetRequestManager() OVERRIDE;
private:
extensions::EventRouter* event_router_;
- RequestManager* request_manager_;
+ RequestManager request_manager_;
ProvidedFileSystemInfo file_system_info_;
DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem);

Powered by Google App Engine
This is Rietveld 408576698