Prechádzať zdrojové kódy

first_run-deactivate-autoupdate-globally.patch

none 4 rokov pred
rodič
commit
45cea66c6c

+ 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
 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
 --- a/chrome/browser/extensions/extension_system_impl.cc
 +++ b/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.
    // ExtensionService depends on RuntimeData.
    runtime_data_.reset(new RuntimeData(ExtensionRegistry::Get(profile_)));
    runtime_data_.reset(new RuntimeData(ExtensionRegistry::Get(profile_)));
  
  
 -  bool autoupdate_enabled = !profile_->IsGuestSession() &&
 -  bool autoupdate_enabled = !profile_->IsGuestSession() &&
 -                            !profile_->IsSystemProfile();
 -                            !profile_->IsSystemProfile();
 +  bool autoupdate_enabled = false;
 +  bool autoupdate_enabled = false;
- #if defined(OS_CHROMEOS)
+ #if BUILDFLAG(IS_CHROMEOS_ASH)
    if (!extensions_enabled ||
    if (!extensions_enabled ||
        chromeos::ProfileHelper::IsLockScreenAppProfile(profile_)) {
        chromeos::ProfileHelper::IsLockScreenAppProfile(profile_)) {
 -- 
 --