[Improved Geo-language] Prepare for a new language code locator.
Abstracts away the current language code locator implementation.
Adds the boilerplate for a feature toggling between possible implementations.
Bug: 850947
Change-Id: I620c8f6ceb95cd45dab68222fb34fcaa1d44c7ab
Reviewed-on: https://chromium-review.googlesource.com/c/1352683
Reviewed-by: Elly Fong-Jones <[email protected]>
Reviewed-by: anthonyvd <[email protected]>
Commit-Queue: Alexandre Frechette <[email protected]>
Cr-Commit-Position: refs/heads/master@{#616306}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index ee415bc..fd7d6ca2 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -3421,6 +3421,11 @@
FEATURE_VALUE_TYPE(features::kSysInternals)},
#endif // defined(OS_CHROMEOS)
+ {"enable-improved-geolanguage-data",
+ flag_descriptions::kImprovedGeoLanguageDataName,
+ flag_descriptions::kImprovedGeoLanguageDataDescription, kOsAll,
+ FEATURE_VALUE_TYPE(language::kImprovedGeoLanguageData)},
+
{"enable-regional-locales-as-display-ui",
flag_descriptions::kRegionalLocalesAsDisplayUIName,
flag_descriptions::kRegionalLocalesAsDisplayUIDescription, kOsAll,