mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-23 06:26:17 +00:00
249 lines
11 KiB
Diff
249 lines
11 KiB
Diff
--- a/chrome/browser/chrome_content_browser_client.cc
|
|
+++ b/chrome/browser/chrome_content_browser_client.cc
|
|
@@ -1125,7 +1125,7 @@ void ChromeContentBrowserClient::Registe
|
|
void ChromeContentBrowserClient::RegisterProfilePrefs(
|
|
user_prefs::PrefRegistrySyncable* registry) {
|
|
registry->RegisterBooleanPref(prefs::kDisable3DAPIs, false);
|
|
- registry->RegisterBooleanPref(prefs::kEnableHyperlinkAuditing, true);
|
|
+ registry->RegisterBooleanPref(prefs::kEnableHyperlinkAuditing, false);
|
|
registry->RegisterListPref(prefs::kEnableDeprecatedWebPlatformFeatures);
|
|
// Register user prefs for mapping SitePerProcess and IsolateOrigins in
|
|
// user policy in addition to the same named ones in Local State (which are
|
|
--- a/chrome/browser/ui/browser_ui_prefs.cc
|
|
+++ b/chrome/browser/ui/browser_ui_prefs.cc
|
|
@@ -66,11 +66,11 @@ void RegisterBrowserUserPrefs(user_prefs
|
|
registry->RegisterBooleanPref(prefs::kWebAppCreateInAppsMenu, true);
|
|
registry->RegisterBooleanPref(prefs::kWebAppCreateInQuickLaunchBar, true);
|
|
registry->RegisterBooleanPref(
|
|
- prefs::kOfferTranslateEnabled, true,
|
|
+ prefs::kOfferTranslateEnabled, false,
|
|
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
|
registry->RegisterStringPref(prefs::kCloudPrintEmail, std::string());
|
|
registry->RegisterBooleanPref(prefs::kCloudPrintProxyEnabled, true);
|
|
- registry->RegisterBooleanPref(prefs::kCloudPrintSubmitEnabled, true);
|
|
+ registry->RegisterBooleanPref(prefs::kCloudPrintSubmitEnabled, false);
|
|
registry->RegisterDictionaryPref(prefs::kBrowserWindowPlacement);
|
|
registry->RegisterDictionaryPref(prefs::kBrowserWindowPlacementPopup);
|
|
registry->RegisterDictionaryPref(prefs::kAppWindowPlacement);
|
|
--- a/chrome/browser/net/prediction_options.cc
|
|
+++ b/chrome/browser/net/prediction_options.cc
|
|
@@ -32,7 +32,7 @@ NetworkPredictionStatus CanPrefetchAndPr
|
|
}
|
|
return NetworkPredictionStatus::DISABLED_DUE_TO_NETWORK;
|
|
default:
|
|
- DCHECK_EQ(NETWORK_PREDICTION_NEVER, network_prediction_options);
|
|
+ //DCHECK_EQ(NETWORK_PREDICTION_NEVER, network_prediction_options);
|
|
return NetworkPredictionStatus::DISABLED_ALWAYS;
|
|
}
|
|
}
|
|
--- a/chrome/browser/net/prediction_options.h
|
|
+++ b/chrome/browser/net/prediction_options.h
|
|
@@ -23,7 +23,7 @@ enum NetworkPredictionOptions {
|
|
NETWORK_PREDICTION_ALWAYS,
|
|
NETWORK_PREDICTION_WIFI_ONLY,
|
|
NETWORK_PREDICTION_NEVER,
|
|
- NETWORK_PREDICTION_DEFAULT = NETWORK_PREDICTION_WIFI_ONLY,
|
|
+ NETWORK_PREDICTION_DEFAULT = NETWORK_PREDICTION_NEVER,
|
|
};
|
|
|
|
enum class NetworkPredictionStatus {
|
|
--- a/chrome/browser/background/background_mode_manager.cc
|
|
+++ b/chrome/browser/background/background_mode_manager.cc
|
|
@@ -352,7 +352,7 @@ void BackgroundModeManager::RegisterPref
|
|
registry->RegisterBooleanPref(prefs::kChromeCreatedLoginItem, false);
|
|
registry->RegisterBooleanPref(prefs::kMigratedLoginItemPref, false);
|
|
#endif
|
|
- registry->RegisterBooleanPref(prefs::kBackgroundModeEnabled, true);
|
|
+ registry->RegisterBooleanPref(prefs::kBackgroundModeEnabled, false);
|
|
}
|
|
|
|
void BackgroundModeManager::RegisterProfile(Profile* profile) {
|
|
--- a/components/content_settings/core/browser/cookie_settings.cc
|
|
+++ b/components/content_settings/core/browser/cookie_settings.cc
|
|
@@ -50,7 +50,7 @@ void CookieSettings::GetCookieSettings(
|
|
void CookieSettings::RegisterProfilePrefs(
|
|
user_prefs::PrefRegistrySyncable* registry) {
|
|
registry->RegisterBooleanPref(
|
|
- prefs::kBlockThirdPartyCookies, false,
|
|
+ prefs::kBlockThirdPartyCookies, true,
|
|
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
|
}
|
|
|
|
--- a/chrome/browser/ui/navigation_correction_tab_observer.cc
|
|
+++ b/chrome/browser/ui/navigation_correction_tab_observer.cc
|
|
@@ -55,7 +55,7 @@ NavigationCorrectionTabObserver::~Naviga
|
|
// static
|
|
void NavigationCorrectionTabObserver::RegisterProfilePrefs(
|
|
user_prefs::PrefRegistrySyncable* prefs) {
|
|
- prefs->RegisterBooleanPref(prefs::kAlternateErrorPagesEnabled, true,
|
|
+ prefs->RegisterBooleanPref(prefs::kAlternateErrorPagesEnabled, false,
|
|
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
|
}
|
|
|
|
--- a/components/autofill/core/common/autofill_prefs.cc
|
|
+++ b/components/autofill/core/common/autofill_prefs.cc
|
|
@@ -130,10 +130,10 @@ const char kAutocompleteLastVersionReten
|
|
void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
|
|
// Synced prefs. Used for cross-device choices, e.g., credit card Autofill.
|
|
registry->RegisterBooleanPref(
|
|
- prefs::kAutofillEnabledDeprecated, true,
|
|
+ prefs::kAutofillEnabledDeprecated, false,
|
|
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
|
registry->RegisterBooleanPref(
|
|
- prefs::kAutofillProfileEnabled, true,
|
|
+ prefs::kAutofillProfileEnabled, false,
|
|
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
|
registry->RegisterIntegerPref(
|
|
prefs::kAutofillLastVersionDeduped, 0,
|
|
@@ -146,7 +146,7 @@ void RegisterProfilePrefs(user_prefs::Pr
|
|
prefs::kAutofillLastVersionDisusedAddressesDeleted, 0,
|
|
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
|
registry->RegisterBooleanPref(
|
|
- prefs::kAutofillCreditCardEnabled, true,
|
|
+ prefs::kAutofillCreditCardEnabled, false,
|
|
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
|
registry->RegisterStringPref(
|
|
prefs::kAutofillProfileValidity, "",
|
|
--- a/chrome/browser/resources/settings/reset_page/reset_profile_dialog.html
|
|
+++ b/chrome/browser/resources/settings/reset_page/reset_profile_dialog.html
|
|
@@ -52,7 +52,7 @@
|
|
</paper-button>
|
|
</div>
|
|
<div slot="footer">
|
|
- <cr-checkbox id="sendSettings" checked>
|
|
+ <cr-checkbox id="sendSettings">
|
|
$i18nRaw{resetPageFeedback}</cr-checkbox>
|
|
</div>
|
|
</cr-dialog>
|
|
--- a/chrome/browser/signin/signin_promo.cc
|
|
+++ b/chrome/browser/signin/signin_promo.cc
|
|
@@ -171,7 +171,7 @@ bool IsAutoCloseEnabledInEmbeddedURL(con
|
|
|
|
void RegisterProfilePrefs(
|
|
user_prefs::PrefRegistrySyncable* registry) {
|
|
- registry->RegisterBooleanPref(prefs::kSignInPromoShowOnFirstRunAllowed, true);
|
|
+ registry->RegisterBooleanPref(prefs::kSignInPromoShowOnFirstRunAllowed, false);
|
|
registry->RegisterBooleanPref(prefs::kSignInPromoShowNTPBubble, false);
|
|
registry->RegisterIntegerPref(prefs::kDiceSigninUserMenuPromoCount, 0);
|
|
}
|
|
--- a/components/bookmarks/browser/bookmark_utils.cc
|
|
+++ b/components/bookmarks/browser/bookmark_utils.cc
|
|
@@ -440,12 +440,12 @@ void GetBookmarksMatchingProperties(Book
|
|
void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
|
|
registry->RegisterBooleanPref(
|
|
prefs::kShowBookmarkBar,
|
|
- false,
|
|
+ true,
|
|
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
|
registry->RegisterBooleanPref(prefs::kEditBookmarksEnabled, true);
|
|
registry->RegisterBooleanPref(
|
|
prefs::kShowAppsShortcutInBookmarkBar,
|
|
- true,
|
|
+ false,
|
|
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
|
registry->RegisterBooleanPref(
|
|
prefs::kShowManagedBookmarksInBookmarkBar,
|
|
--- a/chrome/browser/profiles/profile.cc
|
|
+++ b/chrome/browser/profiles/profile.cc
|
|
@@ -148,7 +148,7 @@ const char Profile::kProfileKey[] = "__P
|
|
void Profile::RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
|
|
registry->RegisterBooleanPref(
|
|
prefs::kSearchSuggestEnabled,
|
|
- true,
|
|
+ false,
|
|
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
|
#if defined(OS_ANDROID)
|
|
registry->RegisterStringPref(
|
|
--- a/chrome/service/cloud_print/connector_settings.cc
|
|
+++ b/chrome/service/cloud_print/connector_settings.cc
|
|
@@ -60,7 +60,7 @@ void ConnectorSettings::InitFrom(Service
|
|
DCHECK(server_url_.is_valid());
|
|
|
|
connect_new_printers_ = prefs->GetBoolean(
|
|
- prefs::kCloudPrintConnectNewPrinters, true);
|
|
+ prefs::kCloudPrintConnectNewPrinters, false);
|
|
|
|
xmpp_ping_enabled_ = prefs->GetBoolean(
|
|
prefs::kCloudPrintXmppPingEnabled, false);
|
|
--- a/chrome/browser/ui/webui/local_discovery/local_discovery_ui.cc
|
|
+++ b/chrome/browser/ui/webui/local_discovery/local_discovery_ui.cc
|
|
@@ -127,10 +127,6 @@ void LocalDiscoveryUI::RegisterProfilePr
|
|
user_prefs::PrefRegistrySyncable* registry) {
|
|
registry->RegisterBooleanPref(
|
|
prefs::kLocalDiscoveryNotificationsEnabled,
|
|
-#if defined(OS_WIN)
|
|
false,
|
|
-#else
|
|
- true,
|
|
-#endif
|
|
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
|
}
|
|
--- a/extensions/common/extension.cc
|
|
+++ b/extensions/common/extension.cc
|
|
@@ -382,14 +382,6 @@ bool Extension::ShouldDisplayInExtension
|
|
if (is_theme())
|
|
return false;
|
|
|
|
- // Hide component extensions because they are only extensions as an
|
|
- // implementation detail of Chrome.
|
|
- if (extensions::Manifest::IsComponentLocation(location()) &&
|
|
- !base::CommandLine::ForCurrentProcess()->HasSwitch(
|
|
- switches::kShowComponentExtensionOptions)) {
|
|
- return false;
|
|
- }
|
|
-
|
|
// Unless they are unpacked, never show hosted apps. Note: We intentionally
|
|
// show packaged apps and platform apps because there are some pieces of
|
|
// functionality that are only available in chrome://extensions/ but which
|
|
--- a/components/safe_browsing/common/safe_browsing_prefs.cc
|
|
+++ b/components/safe_browsing/common/safe_browsing_prefs.cc
|
|
@@ -149,9 +149,9 @@ void RegisterProfilePrefs(PrefRegistrySi
|
|
registry->RegisterBooleanPref(
|
|
prefs::kSafeBrowsingSawInterstitialScoutReporting, false);
|
|
registry->RegisterBooleanPref(
|
|
- prefs::kSafeBrowsingExtendedReportingOptInAllowed, true);
|
|
+ prefs::kSafeBrowsingExtendedReportingOptInAllowed, false);
|
|
registry->RegisterBooleanPref(
|
|
- prefs::kSafeBrowsingEnabled, true,
|
|
+ prefs::kSafeBrowsingEnabled, false,
|
|
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
|
registry->RegisterBooleanPref(prefs::kSafeBrowsingProceedAnywayDisabled,
|
|
false);
|
|
--- a/components/password_manager/core/browser/password_manager.cc
|
|
+++ b/components/password_manager/core/browser/password_manager.cc
|
|
@@ -354,10 +354,10 @@ bool IsOnlyNewParserEnabled() {
|
|
void PasswordManager::RegisterProfilePrefs(
|
|
user_prefs::PrefRegistrySyncable* registry) {
|
|
registry->RegisterBooleanPref(
|
|
- prefs::kCredentialsEnableService, true,
|
|
+ prefs::kCredentialsEnableService, false,
|
|
user_prefs::PrefRegistrySyncable::SYNCABLE_PRIORITY_PREF);
|
|
registry->RegisterBooleanPref(
|
|
- prefs::kCredentialsEnableAutosignin, true,
|
|
+ prefs::kCredentialsEnableAutosignin, false,
|
|
user_prefs::PrefRegistrySyncable::SYNCABLE_PRIORITY_PREF);
|
|
registry->RegisterStringPref(prefs::kSyncPasswordHash, std::string(),
|
|
PrefRegistry::NO_REGISTRATION_FLAGS);
|
|
--- a/components/payments/core/payment_prefs.cc
|
|
+++ b/components/payments/core/payment_prefs.cc
|
|
@@ -16,7 +16,7 @@ const char kCanMakePaymentEnabled[] = "p
|
|
void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
|
|
registry->RegisterBooleanPref(kPaymentsFirstTransactionCompleted, false);
|
|
registry->RegisterBooleanPref(
|
|
- kCanMakePaymentEnabled, true,
|
|
+ kCanMakePaymentEnabled, false,
|
|
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
|
}
|
|
|
|
--- a/chrome/browser/signin/account_consistency_mode_manager.cc
|
|
+++ b/chrome/browser/signin/account_consistency_mode_manager.cc
|
|
@@ -126,7 +126,7 @@ void AccountConsistencyModeManager::Regi
|
|
registry->RegisterBooleanPref(prefs::kAccountConsistencyMirrorRequired,
|
|
false);
|
|
#endif
|
|
- registry->RegisterBooleanPref(prefs::kSigninAllowedOnNextStartup, true);
|
|
+ registry->RegisterBooleanPref(prefs::kSigninAllowedOnNextStartup, false);
|
|
}
|
|
|
|
// static
|