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

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

Issue 1088883002: Add events for configuring and adding new providers to FSP API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed. Created 5 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 34063a09b7135171bfb30343f12e6d008bb97784..61dd0eddc47701265e4534cb34e1e67659ab5342 100644
--- a/chrome/browser/chromeos/file_system_provider/service.h
+++ b/chrome/browser/chromeos/file_system_provider/service.h
@@ -93,12 +93,16 @@ class Service : public KeyedService,
const std::string& file_system_id,
UnmountReason reason);
- // Requests unmounting of the file system. The callback is called when the
- // request is accepted or rejected, with an error code. Returns false if the
- // request could not been created, true otherwise.
+ // Requests unmounting of the file system. Returns false if the request could
+ // not been created, true otherwise.
bool RequestUnmount(const std::string& extension_id,
const std::string& file_system_id);
+ // Requests mounting a new file system by the providing extension with
+ // |extension_id|. Returns false if the request could not been created, true
+ // otherwise.
+ bool RequestMount(const std::string& extension_id);
+
// Returns a list of information of all currently provided file systems. All
// items are copied.
std::vector<ProvidedFileSystemInfo> GetProvidedFileSystemInfoList();

Powered by Google App Engine
This is Rietveld 408576698