Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1426)

Unified Diff: chrome/browser/extensions/extension_startup_browsertest.cc

Issue 2805923002: Enable settings hardening on OSX when no Finch config is present (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/prefs/chrome_pref_service_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_startup_browsertest.cc
diff --git a/chrome/browser/extensions/extension_startup_browsertest.cc b/chrome/browser/extensions/extension_startup_browsertest.cc
index e2aa865b415e991ecc3319a13b336b9798337da7..dc4dbd25c646de648c08406bd6685d18a05a330c 100644
--- a/chrome/browser/extensions/extension_startup_browsertest.cc
+++ b/chrome/browser/extensions/extension_startup_browsertest.cc
@@ -67,9 +67,9 @@ class ExtensionStartupTestBase : public InProcessBrowserTest {
base::StringPrintf(
"%s/%s/", chrome_prefs::internals::kSettingsEnforcementTrialName,
chrome_prefs::internals::kSettingsEnforcementGroupNoEnforcement));
-#if defined(OFFICIAL_BUILD) && defined(OS_WIN)
- // In Windows official builds, it is not possible to disable settings
- // authentication.
+#if defined(OFFICIAL_BUILD) && (defined(OS_WIN) || defined(OS_MACOSX))
+ // In Windows and MacOS official builds, it is not possible to disable
+ // settings enforcement.
unauthenticated_load_allowed_ = false;
#endif
} else {
« no previous file with comments | « no previous file | chrome/browser/prefs/chrome_pref_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698