Skip to content

Commit ad08461

Browse files
simonhongpetemill
authored andcommitted
Adjust skus sdk/vpn features state
Made skus sdk enabled by default and vpn feature available on beta. Fixes brave/brave-browser#21598
1 parent d091fdb commit ad08461

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

chromium_src/chrome/browser/unexpire_flags.cc

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ bool IsFlagExpired(const flags_ui::FlagsStorage* storage,
2121
version_info::Channel channel = chrome::GetChannel();
2222
// Enable VPN feature only for nightly/development.
2323
if (base::LowerCaseEqualsASCII(kBraveVPNFeatureInternalName, internal_name) &&
24-
(channel == version_info::Channel::STABLE ||
25-
channel == version_info::Channel::BETA)) {
24+
channel == version_info::Channel::STABLE) {
2625
return true;
2726
}
2827
#endif

components/skus/common/features.cc

+2-8
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,8 @@
1010
namespace skus {
1111
namespace features {
1212

13-
const base::Feature kSkusFeature {
14-
"SkusFeature",
15-
#if defined(OS_IOS)
16-
base::FEATURE_ENABLED_BY_DEFAULT
17-
#else
18-
base::FEATURE_DISABLED_BY_DEFAULT
19-
#endif
20-
};
13+
const base::Feature kSkusFeature{"SkusFeature",
14+
base::FEATURE_ENABLED_BY_DEFAULT};
2115

2216
} // namespace features
2317
} // namespace skus

0 commit comments

Comments
 (0)