Enable Brave Origin by default and add chrome://flags entry (#35484)

Enable the kBraveOrigin feature flag by default on all platforms
and add a chrome://flags entry so it can be toggled for testing.
This commit is contained in:
Brian R. Bondy
2026-04-14 23:43:34 -04:00
committed by GitHub
parent 6410ad3dd6
commit ee619d9d9a
3 changed files with 9 additions and 7 deletions
@@ -193,7 +193,7 @@ public class BraveMainSettingsFragmentTest {
// check
+ "INDEX_DATA_PROVIDER.updateDynamicPreferences"
+ " to exclude new from indexing.",
34,
35,
nonVpnCount);
}
+8
View File
@@ -15,6 +15,7 @@
#include "brave/components/brave_component_updater/browser/features.h"
#include "brave/components/brave_education/buildflags.h"
#include "brave/components/brave_news/common/buildflags/buildflags.h"
#include "brave/components/brave_origin/features.h"
#include "brave/components/brave_rewards/core/buildflags/buildflags.h"
#include "brave/components/brave_rewards/core/features.h"
#include "brave/components/brave_shields/core/common/features.h"
@@ -1337,6 +1338,13 @@ constexpr flags_ui::FeatureEntry::Choice kVerticalTabCollapseDelayChoices[] = {
BRAVE_UPDATER_FEATURE_ENTRIES \
PSST_FEATURE_ENTRIES \
BRAVE_FORCE_POPUP_TO_BE_OPENED_IN_NEW_TAB_FEATURE_ENTRY \
EXPAND_FEATURE_ENTRIES({ \
"brave-origin", \
"Enable Brave Origin", \
"Enables Brave Origin features and settings.", \
kOsDesktop | kOsAndroid, \
FEATURE_VALUE_TYPE(brave_origin::features::kBraveOrigin), \
}) \
LAST_BRAVE_FEATURE_ENTRIES_ITEM // Keep it as the last item.
namespace flags_ui {
namespace {
-6
View File
@@ -6,15 +6,9 @@
#include "brave/components/brave_origin/features.h"
#include "base/feature_list.h"
#include "brave/components/brave_origin/buildflags/buildflags.h"
#include "build/build_config.h"
namespace brave_origin::features {
#if BUILDFLAG(IS_BRAVE_ORIGIN_BRANDED)
BASE_FEATURE(kBraveOrigin, base::FEATURE_ENABLED_BY_DEFAULT);
#else
BASE_FEATURE(kBraveOrigin, base::FEATURE_DISABLED_BY_DEFAULT);
#endif
} // namespace brave_origin::features