| 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 61dd0eddc47701265e4534cb34e1e67659ab5342..d2477f5667ddcc555910013552c84e93d57739f0 100644
|
| --- a/chrome/browser/chromeos/file_system_provider/service.h
|
| +++ b/chrome/browser/chromeos/file_system_provider/service.h
|
| @@ -50,6 +50,17 @@ struct MountOptions;
|
| // Registers preferences to remember registered file systems between reboots.
|
| void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
|
|
|
| +// Holds information for a providing extension.
|
| +struct ProvidingExtensionInfo {
|
| + ProvidingExtensionInfo();
|
| + ~ProvidingExtensionInfo();
|
| +
|
| + std::string extension_id;
|
| + std::string name;
|
| + bool can_configure;
|
| + bool can_add;
|
| +};
|
| +
|
| // Manages and registers the file system provider service. Maintains provided
|
| // file systems.
|
| class Service : public KeyedService,
|
| @@ -118,6 +129,10 @@ class Service : public KeyedService,
|
| ProvidedFileSystemInterface* GetProvidedFileSystem(
|
| const std::string& mount_point_name);
|
|
|
| + // Returns a list of information of all currently installed providing
|
| + // extensions.
|
| + std::vector<ProvidingExtensionInfo> GetProvidingExtensionInfoList() const;
|
| +
|
| // Adds and removes observers.
|
| void AddObserver(Observer* observer);
|
| void RemoveObserver(Observer* observer);
|
|
|