#include "extensions/shell/browser/default_shell_browser_main_delegate.h"
#include "apps/launcher.h"
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/path_service.h"
#include "base/strings/string_tokenizer.h"
#include "build/build_config.h"
#include "extensions/common/switches.h"
#include "extensions/shell/browser/shell_extension_system.h"
#if defined(USE_AURA)
#include "extensions/shell/browser/shell_desktop_controller_aura.h"
#endif
#if BUILDFLAG(IS_MAC)
#include "extensions/shell/browser/shell_desktop_controller_mac.h"
#endif
namespace extensions {
namespace {
void LoadExtensionsFromCommandLine(ShellExtensionSystem* extension_system) { … }
void LoadAppsFromCommandLine(ShellExtensionSystem* extension_system,
content::BrowserContext* browser_context) { … }
}
DefaultShellBrowserMainDelegate::DefaultShellBrowserMainDelegate() { … }
DefaultShellBrowserMainDelegate::~DefaultShellBrowserMainDelegate() { … }
void DefaultShellBrowserMainDelegate::Start(
content::BrowserContext* browser_context) { … }
void DefaultShellBrowserMainDelegate::Shutdown() { … }
DesktopController* DefaultShellBrowserMainDelegate::CreateDesktopController(
content::BrowserContext* context) { … }
}