#ifndef CONTENT_PUBLIC_APP_CONTENT_MAIN_H_
#define CONTENT_PUBLIC_APP_CONTENT_MAIN_H_
#include <stddef.h>
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "build/build_config.h"
#include "content/common/content_export.h"
#if BUILDFLAG(IS_WIN)
#include <windows.h>
#endif
#if BUILDFLAG(IS_MAC)
#include "base/apple/scoped_nsautorelease_pool.h"
#include "base/memory/stack_allocated.h"
#endif
namespace sandbox {
struct SandboxInterfaceInfo;
}
namespace content {
class BrowserMainParts;
class ContentMainDelegate;
class ContentMainRunner;
CreatedMainPartsClosure;
struct CONTENT_EXPORT ContentMainParams { … };
CONTENT_EXPORT int RunContentProcess(ContentMainParams params,
ContentMainRunner* content_main_runner);
#if BUILDFLAG(IS_ANDROID)
CONTENT_EXPORT void SetContentMainDelegate(ContentMainDelegate* delegate);
#else
CONTENT_EXPORT int ContentMain(ContentMainParams params);
#endif
}
#endif