summaryrefslogtreecommitdiffstats
path: root/apps/app_restore_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_restore_service.h')
-rw-r--r--apps/app_restore_service.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/app_restore_service.h b/apps/app_restore_service.h
index 65d3de2..bf53829 100644
--- a/apps/app_restore_service.h
+++ b/apps/app_restore_service.h
@@ -36,6 +36,12 @@ class AppRestoreService : public BrowserContextKeyedService,
// from apps to prevent them being restarted in subsequent restarts.
void HandleStartup(bool should_restore_apps);
+ // Returns whether this extension is running or, at startup, whether it was
+ // running when Chrome was last terminated.
+ bool IsAppRestorable(const std::string& extension_id);
+
+ static AppRestoreService* Get(Profile* profile);
+
private:
// content::NotificationObserver.
virtual void Observe(int type,