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

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

Issue 1055183003: Add a data source field for volumes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed a typo. 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/provided_file_system_info.cc
diff --git a/chrome/browser/chromeos/file_system_provider/provided_file_system_info.cc b/chrome/browser/chromeos/file_system_provider/provided_file_system_info.cc
index 38dc4a5d305264270b7b26b3515c2521e419fd39..e09e7809d7a21c678ca3f8180446a8e83fe39641 100644
--- a/chrome/browser/chromeos/file_system_provider/provided_file_system_info.cc
+++ b/chrome/browser/chromeos/file_system_provider/provided_file_system_info.cc
@@ -9,7 +9,10 @@ namespace chromeos {
namespace file_system_provider {
MountOptions::MountOptions()
- : writable(false), supports_notify_tag(false), opened_files_limit(0) {
+ : writable(false),
+ source(SOURCE_UNKNOWN),
+ supports_notify_tag(false),
+ opened_files_limit(0) {
}
MountOptions::MountOptions(const std::string& file_system_id,
@@ -17,12 +20,13 @@ MountOptions::MountOptions(const std::string& file_system_id,
: file_system_id(file_system_id),
display_name(display_name),
writable(false),
+ source(SOURCE_UNKNOWN),
supports_notify_tag(false),
opened_files_limit(0) {
}
ProvidedFileSystemInfo::ProvidedFileSystemInfo()
- : writable_(false), supports_notify_tag_(false) {
+ : writable_(false), source_(SOURCE_UNKNOWN), supports_notify_tag_(false) {
}
ProvidedFileSystemInfo::ProvidedFileSystemInfo(
@@ -33,6 +37,7 @@ ProvidedFileSystemInfo::ProvidedFileSystemInfo(
file_system_id_(mount_options.file_system_id),
display_name_(mount_options.display_name),
writable_(mount_options.writable),
+ source_(mount_options.source),
supports_notify_tag_(mount_options.supports_notify_tag),
opened_files_limit_(mount_options.opened_files_limit),
mount_path_(mount_path) {

Powered by Google App Engine
This is Rietveld 408576698