chore: bump chromium to 137.0.7141.0 (main) (#46725)
* chore: bump chromium in DEPS to 137.0.7139.0 * chore: bump chromium in DEPS to 137.0.7141.0 * chore: update patches Refs6474596
Refs6443472
Refs6471184
* [ServiceWorker] Pipe is_for_service_worker into OverrideURLLoaderFactoryParams Refs6459481
* Reland "[PermissionOptions] Use PermissionDescriptorPtr in PermissionControllerDelegate" Refs6455975
* clickiness: Check attestation and user settings on origins Refs6356796
* extensions : Move ReloadExtension from ExtensionService Refs6472812
Refs6472777
* fixup! Update AppleKeychain API to be friendlier Refs6443472
* chore: script/gen-libc++-filenames.js * Rename ColorVariant::CovertToSkColor() to ColorVariant::ResolveToSkColor() Refs6373793
* [headless] Provide headless aware window metrics on Windows Refs6374074
--------- 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:
parent
e9f279afd1
commit
08b7a1f801
68 changed files with 393 additions and 371 deletions
|
@ -28,8 +28,6 @@
|
|||
|
||||
namespace extensions {
|
||||
|
||||
using LoadErrorBehavior = ExtensionRegistrar::LoadErrorBehavior;
|
||||
|
||||
namespace {
|
||||
|
||||
std::pair<scoped_refptr<const Extension>, std::string> LoadUnpacked(
|
||||
|
@ -127,8 +125,7 @@ void ElectronExtensionLoader::ReloadExtension(const ExtensionId& extension_id) {
|
|||
DCHECK_EQ(false, did_schedule_reload_);
|
||||
base::AutoReset<bool> reset_did_schedule_reload(&did_schedule_reload_, false);
|
||||
|
||||
extension_registrar_->ReloadExtension(extension_id,
|
||||
LoadErrorBehavior::kQuiet);
|
||||
extension_registrar_->ReloadExtensionWithQuietFailure(extension_id);
|
||||
if (did_schedule_reload_)
|
||||
return;
|
||||
}
|
||||
|
@ -201,10 +198,9 @@ void ElectronExtensionLoader::PostUninstallExtension(
|
|||
scoped_refptr<const Extension> extension,
|
||||
base::OnceClosure done_callback) {}
|
||||
|
||||
void ElectronExtensionLoader::LoadExtensionForReload(
|
||||
void ElectronExtensionLoader::DoLoadExtensionForReload(
|
||||
const ExtensionId& extension_id,
|
||||
const base::FilePath& path,
|
||||
LoadErrorBehavior load_error_behavior) {
|
||||
const base::FilePath& path) {
|
||||
CHECK(!path.empty());
|
||||
|
||||
// TODO(nornagon): we should save whether file access was granted
|
||||
|
@ -218,6 +214,18 @@ void ElectronExtensionLoader::LoadExtensionForReload(
|
|||
did_schedule_reload_ = true;
|
||||
}
|
||||
|
||||
void ElectronExtensionLoader::LoadExtensionForReload(
|
||||
const ExtensionId& extension_id,
|
||||
const base::FilePath& path) {
|
||||
DoLoadExtensionForReload(extension_id, path);
|
||||
}
|
||||
|
||||
void ElectronExtensionLoader::LoadExtensionForReloadWithQuietFailure(
|
||||
const ExtensionId& extension_id,
|
||||
const base::FilePath& path) {
|
||||
DoLoadExtensionForReload(extension_id, path);
|
||||
}
|
||||
|
||||
void ElectronExtensionLoader::ShowExtensionDisabledError(
|
||||
const Extension* extension,
|
||||
bool is_remote_install) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue