diff options
Diffstat (limited to 'chrome/browser/extensions/extension_prefs.h')
-rw-r--r-- | chrome/browser/extensions/extension_prefs.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h index 1c32070..9334d10 100644 --- a/chrome/browser/extensions/extension_prefs.h +++ b/chrome/browser/extensions/extension_prefs.h @@ -31,6 +31,10 @@ class ExtensionPrefsUninstallExtension; class URLPatternSet; struct ExtensionOmniboxSuggestion; +namespace app_file_handler_util { +struct SavedFileEntry; +} + // Class for managing global and per-extension preferences. // // This class distinguishes the following kinds of preferences: @@ -322,6 +326,15 @@ class ExtensionPrefs : public ContentSettingsStore::Observer, // restart apps across browser restarts. bool IsExtensionRunning(const std::string& extension_id); + void AddSavedFileEntry(const std::string& extension_id, + const std::string& id, + const base::FilePath& file_path, + bool writable); + void ClearSavedFileEntries(const std::string& extension_id); + void GetSavedFileEntries( + const std::string& extension_id, + std::vector<app_file_handler_util::SavedFileEntry>* out); + // Controls the omnibox default suggestion as set by the extension. ExtensionOmniboxSuggestion GetOmniboxDefaultSuggestion( const std::string& extension_id); |