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

Unified Diff: chrome/browser/chromeos/file_manager/volume_manager.h

Issue 1077823005: Declare providing extension capabilities in the manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed tests. Created 5 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_manager/volume_manager.h
diff --git a/chrome/browser/chromeos/file_manager/volume_manager.h b/chrome/browser/chromeos/file_manager/volume_manager.h
index 9b7aef68de5432024e78d75ffcbc160d244bd766..efaf20f2857767687367378c6ce057a10309c04c 100644
--- a/chrome/browser/chromeos/file_manager/volume_manager.h
+++ b/chrome/browser/chromeos/file_manager/volume_manager.h
@@ -57,14 +57,6 @@ enum VolumeType {
NUM_VOLUME_TYPE,
};
-// Source of a volume's data.
-enum VolumeSource {
- VOLUME_SOURCE_UNKNOWN,
- VOLUME_SOURCE_FILE,
- VOLUME_SOURCE_DEVICE,
- VOLUME_SOURCE_NETWORK
-};
-
// Says how was the mount performed, whether due to user interaction, or
// automatic. User interaction includes both hardware (pluggins a USB stick)
// or software (mounting a ZIP archive) interaction.
@@ -105,7 +97,6 @@ class Volume : public base::SupportsWeakPtr<Volume> {
const std::string& volume_id() const { return volume_id_; }
const std::string& file_system_id() const { return file_system_id_; }
const std::string& extension_id() const { return extension_id_; }
- const VolumeSource volume_source() const { return volume_source_; }
VolumeType type() const { return type_; }
chromeos::DeviceType device_type() const { return device_type_; }
const base::FilePath& source_path() const { return source_path_; }
@@ -136,9 +127,6 @@ class Volume : public base::SupportsWeakPtr<Volume> {
// to an empty string.
std::string extension_id_;
- // The source of the file system's data.
- VolumeSource volume_source_;
-
// The type of mounted volume.
VolumeType type_;

Powered by Google App Engine
This is Rietveld 408576698