ElectronBrowserClient::CreateBrowserMainParts(
    content::MainFunctionParams params) {
  auto browser_main_parts =
      std::make_unique<ElectronBrowserMainParts>(std::move(params));

#if BUILDFLAG(IS_MAC)
  browser_main_parts_ = browser_main_parts.get();
#endif

  return browser_main_parts;
}
ElectronBrowserClient::CreateBrowserMainParts(
    content::MainFunctionParams params) {
  auto browser_main_parts =
      std::make_unique<ElectronBrowserMainParts>(std::move(params));

#if BUILDFLAG(IS_MAC)
  browser_main_parts_ = browser_main_parts.get();
#endif

  return browser_main_parts;
}