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

Unified Diff: chrome/browser/extensions/api/file_system/file_system_api.cc

Issue 1695563002: Media Galleries Partial Deprecation: Remove scan functionality. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/file_system/file_system_api.cc
diff --git a/chrome/browser/extensions/api/file_system/file_system_api.cc b/chrome/browser/extensions/api/file_system/file_system_api.cc
index 7968fdf7d80b5d7f6519878ea841867360b9684f..0b7eb53ee46ad35a58cecfd114d8c80e522dc2c0 100644
--- a/chrome/browser/extensions/api/file_system/file_system_api.cc
+++ b/chrome/browser/extensions/api/file_system/file_system_api.cc
@@ -297,16 +297,6 @@ void SetLastChooseEntryDirectory(ExtensionPrefs* prefs,
base::CreateFilePathValue(path));
}
-std::vector<base::FilePath> GetGrayListedDirectories() {
- std::vector<base::FilePath> graylisted_directories;
- for (size_t i = 0; i < arraysize(kGraylistedPaths); ++i) {
- base::FilePath graylisted_path;
- if (PathService::Get(kGraylistedPaths[i], &graylisted_path))
- graylisted_directories.push_back(graylisted_path);
- }
- return graylisted_directories;
-}
-
#if defined(OS_CHROMEOS)
void DispatchVolumeListChangeEvent(Profile* profile) {
DCHECK(profile);

Powered by Google App Engine
This is Rietveld 408576698