Skip to content

Commit

Permalink
Add feature flag for new onboarding
Browse files Browse the repository at this point in the history
  • Loading branch information
deeppandya committed Dec 12, 2024
1 parent bedee4c commit b2d755b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions android/java/org/chromium/base/BraveFeatureList.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public abstract class BraveFeatureList {
public static final String BRAVE_SHOW_STRICT_FINGERPRINTING_MODE =
"BraveShowStrictFingerprintingMode";
public static final String BRAVE_DAY_ZERO_EXPERIMENT = "BraveDayZeroExperiment";
public static final String BRAVE_NEW_ANDROID_ONBOARDING = "NewAndroidOnboarding";
public static final String BRAVE_FALLBACK_DOH_PROVIDER = "BraveFallbackDoHProvider";
public static final String BRAVE_BLOCK_ALL_COOKIES_TOGGLE = "BlockAllCookiesToggle";
}
5 changes: 5 additions & 0 deletions browser/brave_browser_features.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ BASE_FEATURE(kBraveDayZeroExperiment,
"BraveDayZeroExperiment",
base::FEATURE_DISABLED_BY_DEFAULT);

// Enable new onabording on android
BASE_FEATURE(kNewAndroidOnboarding,
"NewAndroidOnboarding",
base::FEATURE_DISABLED_BY_DEFAULT);

// The variant of the "day zero" experiment. i.e. A, B, C, D, etc.
const base::FeatureParam<std::string> kBraveDayZeroExperimentVariant{
&kBraveDayZeroExperiment,
Expand Down
1 change: 1 addition & 0 deletions browser/brave_browser_features.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ BASE_DECLARE_FEATURE(kBraveCopyCleanLinkFromJs);
BASE_DECLARE_FEATURE(kBraveOverrideDownloadDangerLevel);
BASE_DECLARE_FEATURE(kBraveWebViewRoundedCorners);
BASE_DECLARE_FEATURE(kBraveDayZeroExperiment);
BASE_DECLARE_FEATURE(kNewAndroidOnboarding);

extern const base::FeatureParam<std::string> kBraveDayZeroExperimentVariant;

Expand Down

0 comments on commit b2d755b

Please sign in to comment.