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

Unified Diff: chrome/browser/extensions/api/media_galleries_private/media_galleries_eject_apitest.cc

Issue 19489006: Media Galleries: Move gallery name generation back to StorageMonitor. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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/extensions/api/media_galleries_private/media_galleries_eject_apitest.cc
===================================================================
--- chrome/browser/extensions/api/media_galleries_private/media_galleries_eject_apitest.cc (revision 213035)
+++ chrome/browser/extensions/api/media_galleries_private/media_galleries_eject_apitest.cc (working copy)
@@ -89,8 +89,9 @@
void Attach() {
DCHECK(chrome::StorageMonitor::GetInstance()->IsInitialized());
- chrome::StorageInfo info(device_id_, ASCIIToUTF16(kDeviceName), kDevicePath,
- string16(), string16(), string16(), 0);
+ chrome::StorageInfo info(device_id_, kDevicePath,
+ base::ASCIIToUTF16(kDeviceName), base::string16(),
vandebo (ex-Chrome) 2013/07/23 23:28:55 Is this to make the devices distinguishable or som
Lei Zhang 2013/07/24 05:13:34 Yes, for removable devices, the storage label fiel
+ base::string16(), 0);
chrome::StorageMonitor::GetInstance()->receiver()->ProcessAttach(info);
content::RunAllPendingInMessageLoop();
}

Powered by Google App Engine
This is Rietveld 408576698