#include "chrome/browser/extensions/launch_util.h"
#include <memory>
#include "base/values.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/extensions/bookmark_app_util.h"
#include "chrome/browser/extensions/extension_sync_service.h"
#include "chrome/common/extensions/extension_constants.h"
#include "chrome/common/extensions/manifest_handlers/app_launch_info.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "extensions/browser/extension_prefs.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/browser/pref_names.h"
#include "extensions/common/extension.h"
namespace extensions {
namespace {
const char kPrefLaunchType[] = …;
}
LaunchType GetLaunchType(const ExtensionPrefs* prefs,
const Extension* extension) { … }
LaunchType GetLaunchTypePrefValue(const ExtensionPrefs* prefs,
const std::string& extension_id) { … }
void SetLaunchType(content::BrowserContext* context,
const std::string& extension_id,
LaunchType launch_type) { … }
apps::LaunchContainer GetLaunchContainer(const ExtensionPrefs* prefs,
const Extension* extension) { … }
bool HasPreferredLaunchContainer(const ExtensionPrefs* prefs,
const Extension* extension) { … }
bool LaunchesInWindow(content::BrowserContext* context,
const Extension* extension) { … }
}