Bläddra i källkod

first_run-deactivate-autoupdate-globally.patch

none 4 år sedan
förälder
incheckning
45cea66c6c
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      build/patches/first_run-deactivate-autoupdate-globally.patch

+ 2 - 2
build/patches/first_run-deactivate-autoupdate-globally.patch

@@ -15,14 +15,14 @@ turn it back on.
 diff --git a/chrome/browser/extensions/extension_system_impl.cc b/chrome/browser/extensions/extension_system_impl.cc
 --- a/chrome/browser/extensions/extension_system_impl.cc
 +++ b/chrome/browser/extensions/extension_system_impl.cc
-@@ -203,8 +203,7 @@ void ExtensionSystemImpl::Shared::Init(bool extensions_enabled) {
+@@ -207,8 +207,7 @@ void ExtensionSystemImpl::Shared::Init(bool extensions_enabled) {
    // ExtensionService depends on RuntimeData.
    runtime_data_.reset(new RuntimeData(ExtensionRegistry::Get(profile_)));
  
 -  bool autoupdate_enabled = !profile_->IsGuestSession() &&
 -                            !profile_->IsSystemProfile();
 +  bool autoupdate_enabled = false;
- #if defined(OS_CHROMEOS)
+ #if BUILDFLAG(IS_CHROMEOS_ASH)
    if (!extensions_enabled ||
        chromeos::ProfileHelper::IsLockScreenAppProfile(profile_)) {
 --