#include "apps/app_restore_service.h"
#include "apps/app_lifetime_monitor_factory.h"
#include "apps/app_restore_service_factory.h"
#include "apps/launcher.h"
#include "apps/saved_files_service.h"
#include "build/chromeos_buildflags.h"
#include "content/public/browser/browser_context.h"
#include "extensions/browser/app_window/app_window.h"
#include "extensions/browser/extension_host.h"
#include "extensions/browser/extension_prefs.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/common/extension.h"
#include "extensions/common/extension_id.h"
#include "extensions/common/extension_set.h"
Extension;
ExtensionHost;
ExtensionPrefs;
ExtensionRegistry;
namespace apps {
bool AppRestoreService::ShouldRestoreApps(bool is_browser_restart) { … }
AppRestoreService::AppRestoreService(content::BrowserContext* context)
: … { … }
void AppRestoreService::HandleStartup(bool should_restore_apps) { … }
bool AppRestoreService::IsAppRestorable(
const extensions::ExtensionId& extension_id) { … }
void AppRestoreService::OnApplicationTerminating() { … }
AppRestoreService* AppRestoreService::Get(content::BrowserContext* context) { … }
void AppRestoreService::OnAppStart(
content::BrowserContext* context,
const extensions::ExtensionId& extension_id) { … }
void AppRestoreService::OnAppActivated(
content::BrowserContext* context,
const extensions::ExtensionId& extension_id) { … }
void AppRestoreService::OnAppDeactivated(
content::BrowserContext* context,
const extensions::ExtensionId& extension_id) { … }
void AppRestoreService::OnAppStop(content::BrowserContext* context,
const extensions::ExtensionId& extension_id) { … }
void AppRestoreService::Shutdown() { … }
void AppRestoreService::RecordAppStart(
const extensions::ExtensionId& extension_id) { … }
void AppRestoreService::RecordAppStop(
const extensions::ExtensionId& extension_id) { … }
void AppRestoreService::RecordAppActiveState(
const extensions::ExtensionId& extension_id,
bool is_active) { … }
void AppRestoreService::RestoreApp(const Extension* extension) { … }
void AppRestoreService::StartObservingAppLifetime() { … }
void AppRestoreService::StopObservingAppLifetime() { … }
}