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

Unified Diff: chrome/browser/chromeos/file_system_provider/service.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/service.h
diff --git a/chrome/browser/chromeos/file_system_provider/service.h b/chrome/browser/chromeos/file_system_provider/service.h
index adf09c5de2ccb5730fe3729fb3d7af87cf7195b4..ce98392f3e1f985a7e13c2100ad5e1c69cf653b5 100644
--- a/chrome/browser/chromeos/file_system_provider/service.h
+++ b/chrome/browser/chromeos/file_system_provider/service.h
@@ -15,7 +15,6 @@
#include "base/observer_list.h"
#include "base/values.h"
#include "chrome/browser/chromeos/file_system_provider/observer.h"
-#include "chrome/browser/chromeos/file_system_provider/request_manager.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/extensions/api/file_system_provider.h"
#include "components/keyed_service/core/keyed_service.h"
@@ -39,7 +38,6 @@ class Service : public KeyedService {
public:
typedef base::Callback<ProvidedFileSystemInterface*(
extensions::EventRouter* event_router,
- RequestManager* request_manager,
const ProvidedFileSystemInfo& file_system_info)>
FileSystemFactoryCallback;
@@ -86,10 +84,6 @@ class Service : public KeyedService {
// BrowserContextKeyedService overrides.
virtual void Shutdown() OVERRIDE;
- // Getter for the request manager. Used by the extension API to forward
- // replies. Valid as long as the service.
- RequestManager* request_manager() { return &request_manager_; }
-
private:
typedef std::map<int, ProvidedFileSystemInterface*> ProvidedFileSystemMap;
@@ -98,7 +92,6 @@ class Service : public KeyedService {
void OnRequestUnmountStatus(const ProvidedFileSystemInfo& file_system_info,
base::File::Error error);
- RequestManager request_manager_;
Profile* profile_;
FileSystemFactoryCallback file_system_factory_;
ObserverList<Observer> observers_;

Powered by Google App Engine
This is Rietveld 408576698