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

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

Issue 1135383002: Add the chrome.fileSystem.onVolumeListChanged event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleaned up. Created 5 years, 7 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.h
diff --git a/chrome/browser/extensions/api/file_system/file_system_api.h b/chrome/browser/extensions/api/file_system/file_system_api.h
index c6a6e9fb6fa941e97e950cddc2ad3add0fbe4880..8d1a2d248e82e242428c079c3bb6a9e28a3966ee 100644
--- a/chrome/browser/extensions/api/file_system/file_system_api.h
+++ b/chrome/browser/extensions/api/file_system/file_system_api.h
@@ -46,6 +46,10 @@ void SetLastChooseEntryDirectory(ExtensionPrefs* prefs,
std::vector<base::FilePath> GetGrayListedDirectories();
#if defined(OS_CHROMEOS)
+// Dispatches an event about a mounted on unmounted volume in the system to
+// each extension which can request it.
+void DispatchVolumeListChangeEvent(Profile* profile);
+
// Requests consent for the chrome.fileSystem.requestFileSystem() method.
// Interaction with UI and environmental checks (kiosk mode, whitelist) are
// provided by a delegate: ConsentProviderDelegate. For testing, it is

Powered by Google App Engine
This is Rietveld 408576698