Commit 8c4132ed authored by Ryan Sturm's avatar Ryan Sturm Committed by Commit Bot

Removing DRP flags code that is not used

Bug: 599906
Change-Id: I6fba5554875a98f8f4e5e531891be62a18fff4c9
Reviewed-on: https://chromium-review.googlesource.com/803664
Commit-Queue: Tarun Bansal <tbansal@chromium.org>
Reviewed-by: default avatarTarun Bansal <tbansal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#521462}
parent 69ca206c
...@@ -3667,29 +3667,6 @@ class FlagsStateSingleton { ...@@ -3667,29 +3667,6 @@ class FlagsStateSingleton {
bool SkipConditionalFeatureEntry(const FeatureEntry& entry) { bool SkipConditionalFeatureEntry(const FeatureEntry& entry) {
version_info::Channel channel = chrome::GetChannel(); version_info::Channel channel = chrome::GetChannel();
#if defined(OS_ANDROID)
// enable-data-reduction-proxy-dev is only available for the Dev/Beta channel.
if (!strcmp("enable-data-reduction-proxy-dev", entry.internal_name) &&
channel != version_info::Channel::BETA &&
channel != version_info::Channel::DEV) {
return true;
}
// enable-data-reduction-proxy-alt is only available for the Dev channel.
if (!strcmp("enable-data-reduction-proxy-alt", entry.internal_name) &&
channel != version_info::Channel::DEV) {
return true;
}
// enable-data-reduction-proxy-carrier-test is only available for Chromium
// builds and the Canary/Dev channel.
if (!strcmp("enable-data-reduction-proxy-carrier-test",
entry.internal_name) &&
channel != version_info::Channel::DEV &&
channel != version_info::Channel::CANARY &&
channel != version_info::Channel::UNKNOWN) {
return true;
}
#endif // OS_ANDROID
#if defined(OS_CHROMEOS) #if defined(OS_CHROMEOS)
// Don't expose --mash/--mus outside of Canary or developer builds. // Don't expose --mash/--mus outside of Canary or developer builds.
if (!strcmp("mus", entry.internal_name) && if (!strcmp("mus", entry.internal_name) &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment