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

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 2e365c811bde532063fe7c9b6de947f5a832342b..3484b174d7ed999b493e9c7ad792c36b3b7f4800 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);
« no previous file with comments | « chrome/browser/extensions/api/file_system/file_system_api.h ('k') | chrome/browser/extensions/api/idltest/idltest_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698