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

Unified Diff: chrome/browser/media_galleries/media_galleries_dialog_controller.cc

Issue 12544005: Consolidate storage_monitor/MediaDeviceNotificationsUtils into MediaStorageUtil. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix mac apply patch Created 7 years, 9 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 | « no previous file | chrome/browser/storage_monitor/disk_info_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media_galleries/media_galleries_dialog_controller.cc
diff --git a/chrome/browser/media_galleries/media_galleries_dialog_controller.cc b/chrome/browser/media_galleries/media_galleries_dialog_controller.cc
index c723a35fcc3d5ff10885a5cea083bce36b9fcd71..4e8dd47df28ade915217f21da2a7d577ef0df678 100644
--- a/chrome/browser/media_galleries/media_galleries_dialog_controller.cc
+++ b/chrome/browser/media_galleries/media_galleries_dialog_controller.cc
@@ -11,7 +11,6 @@
#include "chrome/browser/browser_process.h"
#include "chrome/browser/media_galleries/media_file_system_registry.h"
#include "chrome/browser/profiles/profile.h"
-#include "chrome/browser/storage_monitor/media_device_notifications_utils.h"
#include "chrome/browser/storage_monitor/media_storage_util.h"
#include "chrome/browser/storage_monitor/storage_info.h"
#include "chrome/browser/ui/chrome_select_file_policy.h"
@@ -83,10 +82,10 @@ string16 ConstructGalleryNameFromMetadata(
const string16& vendor_name,
const string16& model_name,
uint64 size_in_bytes) {
- return chrome::GetDisplayNameForDevice(
+ return MediaStorageUtil::GetDisplayNameForDevice(
size_in_bytes,
- chrome::GetFullProductName(UTF16ToUTF8(vendor_name),
- UTF16ToUTF8(model_name)));
+ MediaStorageUtil::GetFullProductName(UTF16ToUTF8(vendor_name),
+ UTF16ToUTF8(model_name)));
}
« no previous file with comments | « no previous file | chrome/browser/storage_monitor/disk_info_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698