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

#if defined(OS_MAC)
  browser_main_parts_ = browser_main_parts.get();
#endif

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

#if defined(OS_MAC)
  browser_main_parts_ = browser_main_parts.get();
#endif

  return browser_main_parts;
}