-
Notifications
You must be signed in to change notification settings - Fork 905
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #244 from brave/disable_google_services
Disable google services in privacy settings
- Loading branch information
Showing
5 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
patches/chrome-browser-resources-settings-privacy_page-privacy_page.html.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
diff --git a/chrome/browser/resources/settings/privacy_page/privacy_page.html b/chrome/browser/resources/settings/privacy_page/privacy_page.html | ||
index c938b42ff11691e4e5e915e7c4d6f36de58d82cb..48febf5e052144fcaed8fd30c62a09a0e9d21b38 100644 | ||
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.html | ||
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html | ||
@@ -68,9 +68,11 @@ | ||
<div class="settings-box first"> | ||
<p class="privacy-explanation">$i18nRaw{improveBrowsingExperience}</p> | ||
</div> | ||
+<if expr="_google_chrome"> | ||
<settings-toggle-button pref="{{prefs.alternate_error_pages.enabled}}" | ||
label="$i18n{linkDoctorPref}"> | ||
</settings-toggle-button> | ||
+</if> | ||
<settings-toggle-button hidden="[[!pageVisibility.searchPrediction]]" | ||
pref="{{prefs.search.suggest_enabled}}" | ||
label="$i18n{searchSuggestPref}"> | ||
@@ -80,12 +82,14 @@ | ||
label="$i18n{networkPredictionEnabled}" | ||
numeric-unchecked-value="[[networkPredictionEnum_.NEVER]]"> | ||
</settings-toggle-button> | ||
+<if expr="_google_chrome"> | ||
<settings-toggle-button id="safeBrowsingExtendedReportingControl" | ||
pref="[[safeBrowsingExtendedReportingPref_]]" | ||
label="$i18n{safeBrowsingEnableExtendedReporting}" | ||
on-settings-boolean-control-change="onSberChange_" | ||
no-set-pref> | ||
</settings-toggle-button> | ||
+</if> | ||
<settings-toggle-button pref="{{prefs.safebrowsing.enabled}}" | ||
label="$i18n{safeBrowsingEnableProtection}"> | ||
</settings-toggle-button> |