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

Unified Diff: chrome/browser/chromeos/cros/mount_library.h

Issue 8049002: Don't show hidden devices in UI (exept from imageburner). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 'mock library update' Created 9 years, 3 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
« no previous file with comments | « chrome/browser/chromeos/cros/mock_mount_library.cc ('k') | chrome/browser/chromeos/cros/mount_library.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/cros/mount_library.h
diff --git a/chrome/browser/chromeos/cros/mount_library.h b/chrome/browser/chromeos/cros/mount_library.h
index 3f5129c216295da0015902fc4877140851df6ded..3eb7b4777e912d81741008dd64732a50b4d0dd21 100644
--- a/chrome/browser/chromeos/cros/mount_library.h
+++ b/chrome/browser/chromeos/cros/mount_library.h
@@ -87,7 +87,8 @@ class MountLibrary {
bool is_parent,
bool is_read_only,
bool has_media,
- bool on_boot_device);
+ bool on_boot_device,
+ bool is_hidden);
~Disk();
// The path of the device, used by devicekit-disks.
@@ -120,6 +121,8 @@ class MountLibrary {
bool has_media() const { return has_media_; }
// Is the device on the boot device.
bool on_boot_device() const { return on_boot_device_; }
+ // Shoud the device be shown in the UI, or automounted.
+ bool is_hidden() const { return is_hidden_; }
void set_mount_path(const char* mount_path) { mount_path_ = mount_path; }
void clear_mount_path() { mount_path_.clear(); }
@@ -139,6 +142,7 @@ class MountLibrary {
bool is_read_only_;
bool has_media_;
bool on_boot_device_;
+ bool is_hidden_;
};
typedef std::map<std::string, Disk*> DiskMap;
typedef std::map<std::string, std::string> PathMap;
« no previous file with comments | « chrome/browser/chromeos/cros/mock_mount_library.cc ('k') | chrome/browser/chromeos/cros/mount_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698