summaryrefslogtreecommitdiffstats
path: root/apps/app_load_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_load_service.h')
-rw-r--r--apps/app_load_service.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/app_load_service.h b/apps/app_load_service.h
index 5c16804..9f0d971 100644
--- a/apps/app_load_service.h
+++ b/apps/app_load_service.h
@@ -16,6 +16,10 @@
class Profile;
+namespace extensions {
+struct UnloadedExtensionInfo;
+}
+
namespace apps {
// Monitors apps being reloaded and performs app specific actions (like launch
@@ -60,6 +64,11 @@ class AppLoadService : public BrowserContextKeyedService,
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
+ bool HasShellWindows(const std::string& extension_id);
+ bool WasUnloadedForReload(
+ const extensions::UnloadedExtensionInfo& unload_info);
+ bool HasPostReloadAction(const std::string& extension_id);
+
// Map of extension id to reload action. Absence from the map implies
// no action.
std::map<std::string, PostReloadAction> post_reload_actions_;