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

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

Issue 209663006: [fsp] Simplify ID of provided file systems. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 6 years, 9 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 ee5702764e4b42ee821183d775de1f8580c981b4..10aa0a93fc291a589c2f2adb75a7ab7ec7257b5b 100644
--- a/chrome/browser/chromeos/file_system_provider/provided_file_system.h
+++ b/chrome/browser/chromeos/file_system_provider/provided_file_system.h
@@ -17,14 +17,14 @@ class ProvidedFileSystem {
public:
ProvidedFileSystem();
ProvidedFileSystem(const std::string& extension_id,
- const std::string& file_system_id,
+ int file_system_id,
const std::string& file_system_name,
const base::FilePath& mount_path);
~ProvidedFileSystem();
const std::string& extension_id() const { return extension_id_; }
- const std::string& file_system_id() const { return file_system_id_; }
+ int file_system_id() const { return file_system_id_; }
const std::string& file_system_name() const { return file_system_name_; }
const base::FilePath& mount_path() const { return mount_path_; }
@@ -32,9 +32,8 @@ class ProvidedFileSystem {
// ID of the extension providing this file system.
std::string extension_id_;
- // ID of the file system, used internally. Equal to the mount point name of
- // the underlying file system.
- std::string file_system_id_;
+ // ID of the file system, used internally.
+ int file_system_id_;
// Name of the file system, can be rendered in the UI.
std::string file_system_name_;

Powered by Google App Engine
This is Rietveld 408576698