Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(824)

Unified Diff: chrome/browser/about_flags.cc

Issue 1406023021: Fix switch statement in about_flags.cc to support FEATURE_VALUE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 458e3f9b86730c50dd619012d9ad3ec437b03d1b..bf65db43cb34fd336a017b989e183aad9e75ce23 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2561,10 +2561,9 @@ void FlagsState::GetFlagFeatureEntries(flags_ui::FlagsStorage* flags_storage,
break;
case FeatureEntry::MULTI_VALUE:
case FeatureEntry::ENABLE_DISABLE_VALUE:
+ case FeatureEntry::FEATURE_VALUE:
data->Set("choices", CreateChoiceData(entry, enabled_entries));
break;
- default:
- NOTREACHED();
}
bool supported = (entry.supported_platforms & current_platform) != 0;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698