chore: bump chromium to 113.0.5653.0 (main) (#37587)

* chore: bump chromium in DEPS to 113.0.5653.0

* chore: update patches

* [Extensions c2s] Move HasActiveTabAndCanAccess() to //extensions

4305558

* [Privacy Hub] Respecting ChromeOS geoloc setting

4171824

* Add runtime DLLs to win_clang_x64 when needed

4336228

* chore: fix lint

---------

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
This commit is contained in:
electron-roller[bot] 2023-03-16 19:03:53 +09:00 committed by GitHub
parent c5fc5efc00
commit 48d0b09ad9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 96 additions and 59 deletions

View file

@ -249,7 +249,7 @@ enum class RenderProcessHostPrivilege {
bool AllowFileAccess(const std::string& extension_id,
content::BrowserContext* context) {
return base::CommandLine::ForCurrentProcess()->HasSwitch(
::switches::kDisableExtensionsFileAccessCheck) ||
extensions::switches::kDisableExtensionsFileAccessCheck) ||
extensions::ExtensionPrefs::Get(context)->AllowFileAccess(
extension_id);
}
@ -1715,13 +1715,11 @@ void ElectronBrowserClient::RegisterBrowserInterfaceBindersForServiceWorker(
base::BindRepeating(&BindBadgeServiceForServiceWorker));
}
device::GeolocationManager* ElectronBrowserClient::GetGeolocationManager() {
#if BUILDFLAG(IS_MAC)
return browser_main_parts_->GetGeolocationManager();
#else
return nullptr;
#endif
device::GeolocationManager* ElectronBrowserClient::GetGeolocationManager() {
return g_browser_process->geolocation_manager();
}
#endif
content::HidDelegate* ElectronBrowserClient::GetHidDelegate() {
if (!hid_delegate_)