Skip to content

Commit

Permalink
fixup! [Android] New javasript optimizer privacy setting
Browse files Browse the repository at this point in the history
Chromium change:
https://chromium.googlesource.com/chromium/src/+/726b6623ef36168b805cafe6dfb48b2d51bc4ff6

Add toggle for v8 optimization for Android in settings

This CL adds a "v8 optimization" entry to
- The "Site settings" page
- The "Privacy and Security" page

This matches settings in desktop Chrome

BUG=378076277

Change-Id: I90b41398fccd6bd758519ce97b16182734e3e8a3
  • Loading branch information
samartnik committed Nov 21, 2024
1 parent 7e17c86 commit fb6e03c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public class BravePrivacySettings extends PrivacySettings implements ConnectionE
private static final String PREF_THIRD_PARTY_COOKIES = "third_party_cookies";
private static final String PREF_SECURITY_SECTION = "security_section";
private static final String PREF_PRIVACY_GUIDE = "privacy_guide";
private static final String PREF_JAVASCRIPT_OPTIMIZER = "javascript_optimizer";

// brave Prefs
private static final String PREF_BRAVE_SHIELDS_GLOBALS_SECTION =
Expand Down Expand Up @@ -142,6 +143,7 @@ public class BravePrivacySettings extends PrivacySettings implements ConnectionE
PREF_SNS,
PREF_REQUEST_OTR,
PREF_SECURE_DNS,
PREF_JAVASCRIPT_OPTIMIZER,
PREF_BLOCK_COOKIE_CONSENT_NOTICES,
PREF_BLOCK_SWITCH_TO_APP_NOTICES,
PREF_DO_NOT_TRACK,
Expand Down

0 comments on commit fb6e03c

Please sign in to comment.