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

Unified Diff: chrome/browser/system_monitor/media_storage_util.cc

Issue 11363153: [Media Gallery][Linux] Improve device media gallery names. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_clang compile error Created 8 years, 1 month 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 | « no previous file | chrome/browser/system_monitor/removable_device_notifications_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/system_monitor/media_storage_util.cc
diff --git a/chrome/browser/system_monitor/media_storage_util.cc b/chrome/browser/system_monitor/media_storage_util.cc
index 1344d80669688b4ae4b253f909c926b6d3519256..5c8f165602656fa4a34a91cbb34e62094701c029 100644
--- a/chrome/browser/system_monitor/media_storage_util.cc
+++ b/chrome/browser/system_monitor/media_storage_util.cc
@@ -266,7 +266,7 @@ bool MediaStorageUtil::GetDeviceInfoFromPath(const FilePath& path,
}
if (device_name) {
-#if defined(OS_CHROMEOS)
+#if defined(OS_LINUX) // Implies OS_CHROMEOS
*device_name = GetDisplayNameForDevice(
notifier->GetStorageSize(device_info.location),
sub_folder_path.value().empty() ?
« no previous file with comments | « no previous file | chrome/browser/system_monitor/removable_device_notifications_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698