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

Unified Diff: components/storage_monitor/storage_info.h

Issue 246293011: Mount MTP devices in Chrome OS Files.app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + fix test (handle null StorageMonitor in some tests) Created 6 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
« no previous file with comments | « chrome/chrome_browser_chromeos.gypi ('k') | components/storage_monitor/storage_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/storage_monitor/storage_info.h
diff --git a/components/storage_monitor/storage_info.h b/components/storage_monitor/storage_info.h
index d6f88540d32e9a10e9728a74001127c3e0756b4b..caebe1cd5ec98d73951c1b996b76f53fd51e47fc 100644
--- a/components/storage_monitor/storage_info.h
+++ b/components/storage_monitor/storage_info.h
@@ -69,6 +69,8 @@ class StorageInfo {
static bool IsIPhotoDevice(const std::string& device_id);
+ static bool IsMTPDevice(const std::string& device_id);
+
// Get the display name for the removable device represented by this
// StorageInfo. Include the size for removable devices if |with_size| is true.
base::string16 GetDisplayName(bool with_size) const;
« no previous file with comments | « chrome/chrome_browser_chromeos.gypi ('k') | components/storage_monitor/storage_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698