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

Unified Diff: chrome/browser/chromeos/arc/arc_downloads_watcher_service.h

Issue 2379323002: arc: Exclude non-media files from Android media scanning. (Closed)
Patch Set: Addressed comments. Created 4 years, 2 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/chromeos/arc/arc_downloads_watcher_service.h
diff --git a/chrome/browser/chromeos/arc/arc_downloads_watcher_service.h b/chrome/browser/chromeos/arc/arc_downloads_watcher_service.h
index 795c2ae5862b80b0b13b8e8389a0b4e17e80b568..d469f714ca7b80041492f2d09bbb2701e8678407 100644
--- a/chrome/browser/chromeos/arc/arc_downloads_watcher_service.h
+++ b/chrome/browser/chromeos/arc/arc_downloads_watcher_service.h
@@ -20,6 +20,9 @@ class FilePath;
namespace arc {
+// Returns true if the file path has a media extension supported by Android.
+bool HasAndroidSupportedMediaExtension(const base::FilePath& path);
+
// Watches Downloads directory and registers newly created media files to
// Android MediaProvider.
class ArcDownloadsWatcherService

Powered by Google App Engine
This is Rietveld 408576698