File tree Expand file tree Collapse file tree
packages/browseros/chromium_patches/chrome/browser/browseros/onboarding Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11diff --git a/chrome/browser/browseros/onboarding/browseros_onboarding_prefs.cc b/chrome/browser/browseros/onboarding/browseros_onboarding_prefs.cc
22new file mode 100644
3- index 0000000000000000000000000000000000000000 ..a403ca0c367402c1e47cf1a91f2cdcdc7569a6d6
3+ index 0000000000000000000000000000000000000000 ..7cdf1c58ed69aa67d0ed7e8ce8244ba64bdc7b96
44--- /dev/null
55+++ b/chrome/browser/browseros/onboarding/browseros_onboarding_prefs.cc
6- @@ -0 ,0 +1 ,52 @@
6+ @@ -0 ,0 +1 ,47 @@
77+// Copyright 2026 The Chromium Authors
88+// Use of this source code is governed by a BSD-style license that can be
99+// found in the LICENSE file.
@@ -12,7 +12,6 @@ index 0000000000000000000000000000000000000000..a403ca0c367402c1e47cf1a91f2cdcdc
1212+
1313+#include " chrome/browser/browser_process.h"
1414+#include " chrome/browser/browseros/core/browseros_prefs.h"
15- +#include " chrome/browser/browseros/core/browseros_product.h"
1615+#include " chrome/browser/profiles/profile.h"
1716+#include " chrome/common/chrome_constants.h"
1817+#include " chrome/common/pref_names.h"
@@ -21,10 +20,6 @@ index 0000000000000000000000000000000000000000..a403ca0c367402c1e47cf1a91f2cdcdc
2120+namespace browseros ::onboarding {
2221+
2322+bool ShouldShow (Profile* profile) {
24- + if (browseros::IsBrowserOSProduct ()) {
25- + return false ;
26- + }
27- +
2823+ if (!profile || !profile->IsRegularProfile () || profile->IsOffTheRecord ()) {
2924+ return false ;
3025+ }
You can’t perform that action at this time.
0 commit comments