Skip to content

Commit 990010b

Browse files
authored
feat(patches): enable BrowserOS onboarding (#2480)
1 parent 817f643 commit 990010b

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

packages/browseros/chromium_patches/chrome/browser/browseros/onboarding/browseros_onboarding_prefs.cc

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
diff --git a/chrome/browser/browseros/onboarding/browseros_onboarding_prefs.cc b/chrome/browser/browseros/onboarding/browseros_onboarding_prefs.cc
22
new 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
+ }

0 commit comments

Comments
 (0)