Skip to content

Commit

Permalink
Adjust skus sdk/vpn features state
Browse files Browse the repository at this point in the history
Made skus sdk enabled by default and vpn feature available on beta.

Fixes brave/brave-browser#21598
  • Loading branch information
simonhong authored and bsclifton committed Apr 4, 2022
1 parent 9b5c90a commit 7f9137e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
3 changes: 1 addition & 2 deletions chromium_src/chrome/browser/unexpire_flags.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ bool IsFlagExpired(const flags_ui::FlagsStorage* storage,
version_info::Channel channel = chrome::GetChannel();
// Enable VPN feature only for nightly/development.
if (base::LowerCaseEqualsASCII(kBraveVPNFeatureInternalName, internal_name) &&
(channel == version_info::Channel::STABLE ||
channel == version_info::Channel::BETA)) {
channel == version_info::Channel::STABLE) {
return true;
}
#endif
Expand Down
10 changes: 2 additions & 8 deletions components/skus/common/features.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,8 @@
namespace skus {
namespace features {

const base::Feature kSkusFeature {
"SkusFeature",
#if BUILDFLAG(IS_IOS)
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
#endif
};
const base::Feature kSkusFeature{"SkusFeature",
base::FEATURE_ENABLED_BY_DEFAULT};

} // namespace features
} // namespace skus

0 comments on commit 7f9137e

Please sign in to comment.