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

Unified Diff: chrome/browser/media_gallery/media_galleries_preferences_unittest.cc

Issue 10913290: Clean up MediaStorageUtil (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 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
Index: chrome/browser/media_gallery/media_galleries_preferences_unittest.cc
diff --git a/chrome/browser/media_gallery/media_galleries_preferences_unittest.cc b/chrome/browser/media_gallery/media_galleries_preferences_unittest.cc
index 92ecc0da7145f435a9333df2564995702c949395..482ddc765f8344843bc0ee634bf78ce357538010 100644
--- a/chrome/browser/media_gallery/media_galleries_preferences_unittest.cc
+++ b/chrome/browser/media_gallery/media_galleries_preferences_unittest.cc
@@ -36,7 +36,7 @@ class MediaStorageUtilTest : public MediaStorageUtil {
&GetDeviceInfoFromPathTestFunction);
}
- static void GetDeviceInfoFromPathTestFunction(const FilePath& path,
+ static bool GetDeviceInfoFromPathTestFunction(const FilePath& path,
std::string* device_id,
string16* device_name,
FilePath* relative_path) {
@@ -46,6 +46,7 @@ class MediaStorageUtilTest : public MediaStorageUtil {
*device_name = path.BaseName().LossyDisplayName();
if (relative_path)
*relative_path = FilePath();
+ return true;
}
};
« no previous file with comments | « chrome/browser/media_gallery/media_galleries_preferences.cc ('k') | chrome/browser/system_monitor/media_storage_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698