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

Unified Diff: chrome/browser/media_galleries/media_scan_manager.h

Issue 285433004: Have FindContainerScanResults() find broader media container directories (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed other unit tests Created 6 years, 6 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/media_galleries/media_scan_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media_galleries/media_scan_manager.h
diff --git a/chrome/browser/media_galleries/media_scan_manager.h b/chrome/browser/media_galleries/media_scan_manager.h
index 707bd0ed69e022f4b5343033a89ca412ef0df27e..0ff0f45f0b7a71ee4cf977a7ca0f2159848dd9d8 100644
--- a/chrome/browser/media_galleries/media_scan_manager.h
+++ b/chrome/browser/media_galleries/media_scan_manager.h
@@ -53,6 +53,7 @@ class MediaScanManager : public extensions::ExtensionRegistryObserver {
protected:
friend class MediaGalleriesPlatformAppBrowserTest;
+ friend class MediaScanManagerTest;
typedef base::Callback<MediaFolderFinder*(
const MediaFolderFinder::MediaFolderFinderResultsCallback&)>
@@ -60,6 +61,11 @@ class MediaScanManager : public extensions::ExtensionRegistryObserver {
void SetMediaFolderFinderFactory(const MediaFolderFinderFactory& factory);
+ // Here so that friend MediaScanManagerTest can access it.
+ static MediaFolderFinder::MediaFolderFinderResults FindContainerScanResults(
+ const MediaFolderFinder::MediaFolderFinderResults& found_folders,
+ const std::vector<base::FilePath>& sensitive_locations);
+
private:
struct ScanObservers {
ScanObservers();
« no previous file with comments | « no previous file | chrome/browser/media_galleries/media_scan_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698