| Index: chrome/browser/extensions/extension_service.h
|
| diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
|
| index f12d92b7dfdbfe84ba8f90cd69bdb730795788b7..0b869e3498a891d3ac7e8ae0613401fc08255ccb 100644
|
| --- a/chrome/browser/extensions/extension_service.h
|
| +++ b/chrome/browser/extensions/extension_service.h
|
| @@ -791,7 +791,10 @@ class ExtensionService
|
|
|
| // Dispatches a restart event to the platform app associated with
|
| // |extension_host|.
|
| - static void RestartApplication(extensions::ExtensionHost* extension_host);
|
| + static void RestartApplication(
|
| + std::vector<extensions::app_file_handler_util::SavedFileEntry>
|
| + file_entries,
|
| + extensions::ExtensionHost* extension_host);
|
|
|
| // Helper to inspect an ExtensionHost after it has been loaded.
|
| void InspectExtensionHost(extensions::ExtensionHost* host);
|
| @@ -919,6 +922,13 @@ class ExtensionService
|
| // dispatched to the extension when it is loaded.
|
| std::map<std::string, int> on_load_events_;
|
|
|
| + // Maps extension ids to vectors of saved file entries that the extension
|
| + // should be given access to on restart.
|
| + typedef std::map<std::string,
|
| + std::vector<extensions::app_file_handler_util::SavedFileEntry> >
|
| + SavedFileEntryMap;
|
| + SavedFileEntryMap on_restart_file_entries_;
|
| +
|
| content::NotificationRegistrar registrar_;
|
| PrefChangeRegistrar pref_change_registrar_;
|
|
|
|
|