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

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

Issue 391613002: Revert 282890 "[fsp] Add an option for mounting in R/W mode." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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: trunk/src/chrome/browser/chromeos/file_system_provider/service.h
===================================================================
--- trunk/src/chrome/browser/chromeos/file_system_provider/service.h (revision 282899)
+++ trunk/src/chrome/browser/chromeos/file_system_provider/service.h (working copy)
@@ -39,7 +39,6 @@
// Key names for preferences.
extern const char kPrefKeyFileSystemId[];
extern const char kPrefKeyDisplayName[];
-extern const char kPrefKeyWritable[];
class ProvidedFileSystemFactoryInterface;
class ProvidedFileSystemInfo;
@@ -72,14 +71,11 @@
void SetFileSystemFactoryForTesting(
const FileSystemFactoryCallback& factory_callback);
- // Mounts a file system provided by an extension with the |extension_id|. If
- // |writable| is set to true, then the file system is mounted in a R/W mode.
- // Otherwise, only read-only operations are supported. For success, returns
- // true, otherwise false.
+ // Mounts a file system provided by an extension with the |extension_id|.
+ // For success, returns true, otherwise false.
bool MountFileSystem(const std::string& extension_id,
const std::string& file_system_id,
- const std::string& display_name,
- bool writable);
+ const std::string& display_name);
// Unmounts a file system with the specified |file_system_id| for the
// |extension_id|. For success returns true, otherwise false.

Powered by Google App Engine
This is Rietveld 408576698