diff options
Diffstat (limited to 'apps/app_restore_service.h')
-rw-r--r-- | apps/app_restore_service.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/app_restore_service.h b/apps/app_restore_service.h index a308c31..f27c83c 100644 --- a/apps/app_restore_service.h +++ b/apps/app_restore_service.h @@ -31,6 +31,10 @@ namespace apps { class AppRestoreService : public ProfileKeyedService, public content::NotificationObserver { public: + // Returns true if apps should be restored on the current platform, given + // whether this new browser process launched due to a restart. + static bool ShouldRestoreApps(bool is_browser_restart); + explicit AppRestoreService(Profile* profile); // Restart apps that need to be restarted and clear the "running" preference |