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

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

Issue 294073007: [fsp] Let extensions decide about the file system id. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 7 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_info.h
diff --git a/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h b/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h
index 3b88aecff2bb13a54e7ddb63ef948a96d3803f4a..5a3682dcfe0fdf9450d56bf05347b2118defa56a 100644
--- a/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h
+++ b/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h
@@ -17,14 +17,14 @@ class ProvidedFileSystemInfo {
public:
ProvidedFileSystemInfo();
ProvidedFileSystemInfo(const std::string& extension_id,
- int file_system_id,
+ const std::string& file_system_id,
const std::string& file_system_name,
const base::FilePath& mount_path);
~ProvidedFileSystemInfo();
const std::string& extension_id() const { return extension_id_; }
- int file_system_id() const { return file_system_id_; }
+ const std::string& 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,8 +32,8 @@ class ProvidedFileSystemInfo {
// ID of the extension providing this file system.
std::string extension_id_;
- // ID of the file system, used internally.
- int file_system_id_;
+ // ID of the file system.
+ std::string 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