diff --git a/components/brave_stats/browser/brave_stats_updater_util.h b/components/brave_stats/browser/brave_stats_updater_util.h index 4b92cdbd0e1d..b732e9484323 100644 --- a/components/brave_stats/browser/brave_stats_updater_util.h +++ b/components/brave_stats/browser/brave_stats_updater_util.h @@ -22,8 +22,10 @@ enum class ProcessArch { std::string GetDateAsYMD(const base::Time& time); +// Returns platform with architecture information i.e. winx64-bc, osxarm64-bc std::string GetPlatformIdentifier(); +// Returns platform without architecture information i.e. windows, macos std::string GetGeneralPlatformIdentifier(); int GetIsoWeekNumber(const base::Time& time); diff --git a/components/p3a/message_manager.cc b/components/p3a/message_manager.cc index c3c6e242f4fa..cf95058e4d0c 100644 --- a/components/p3a/message_manager.cc +++ b/components/p3a/message_manager.cc @@ -412,7 +412,7 @@ std::string MessageManager::SerializeLog(std::string_view histogram_name, } const std::optional* MessageManager::GetMetricConfig( - const std::string_view histogram_name) const { + std::string_view histogram_name) const { const std::optional* metric_config = nullptr; auto it = p3a::kCollectedTypicalHistograms.find(histogram_name); diff --git a/components/p3a/message_manager.h b/components/p3a/message_manager.h index fb06677179e0..48ded4faf72b 100644 --- a/components/p3a/message_manager.h +++ b/components/p3a/message_manager.h @@ -89,7 +89,7 @@ class MessageManager : public MetricLogStore::Delegate { std::optional only_update_for_constellation = std::nullopt); const std::optional* GetMetricConfig( - const std::string_view histogram_name) const; + std::string_view histogram_name) const; private: void StartScheduledUpload(bool is_constellation, MetricLogType log_type); diff --git a/components/p3a/region.cc b/components/p3a/region.cc index 235ead8ce13a..3598eb52ea98 100644 --- a/components/p3a/region.cc +++ b/components/p3a/region.cc @@ -42,252 +42,252 @@ enum class Subregion { inline constexpr auto kCountryRegions = base::MakeFixedFlatMap>({ + {"AD", {Region::kEurope, Subregion::kSouthernEurope}}, + {"AE", {Region::kAsia, Subregion::kWesternAsia}}, {"AF", {Region::kAsia, Subregion::kSouthernAsia}}, - {"AX", {Region::kEurope, Subregion::kNorthernEurope}}, + {"AG", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"AI", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"AL", {Region::kEurope, Subregion::kSouthernEurope}}, - {"DZ", {Region::kAfrica, Subregion::kNorthernAfrica}}, - {"AS", {Region::kOceania, Subregion::kOceania}}, - {"AD", {Region::kEurope, Subregion::kSouthernEurope}}, + {"AM", {Region::kAsia, Subregion::kWesternAsia}}, {"AO", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"AI", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"AG", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"AR", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"AM", {Region::kAsia, Subregion::kWesternAsia}}, - {"AW", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"AU", {Region::kOceania, Subregion::kOceania}}, + {"AS", {Region::kOceania, Subregion::kOceania}}, {"AT", {Region::kEurope, Subregion::kWesternEurope}}, + {"AU", {Region::kOceania, Subregion::kOceania}}, + {"AW", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"AX", {Region::kEurope, Subregion::kNorthernEurope}}, {"AZ", {Region::kAsia, Subregion::kWesternAsia}}, - {"BS", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"BH", {Region::kAsia, Subregion::kWesternAsia}}, - {"BD", {Region::kAsia, Subregion::kSouthernAsia}}, + {"BA", {Region::kEurope, Subregion::kSouthernEurope}}, {"BB", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"BY", {Region::kEurope, Subregion::kEasternEurope}}, + {"BD", {Region::kAsia, Subregion::kSouthernAsia}}, {"BE", {Region::kEurope, Subregion::kWesternEurope}}, - {"BZ", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"BF", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"BG", {Region::kEurope, Subregion::kEasternEurope}}, + {"BH", {Region::kAsia, Subregion::kWesternAsia}}, + {"BI", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, {"BJ", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"BL", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"BM", {Region::kAmericas, Subregion::kNorthernAmerica}}, - {"BT", {Region::kAsia, Subregion::kSouthernAsia}}, + {"BN", {Region::kAsia, Subregion::kSoutheasternAsia}}, {"BO", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"BQ", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"BA", {Region::kEurope, Subregion::kSouthernEurope}}, - {"BW", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"BV", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"BR", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"IO", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"BN", {Region::kAsia, Subregion::kSoutheasternAsia}}, - {"BG", {Region::kEurope, Subregion::kEasternEurope}}, - {"BF", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"BI", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"CV", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"KH", {Region::kAsia, Subregion::kSoutheasternAsia}}, - {"CM", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"BS", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"BT", {Region::kAsia, Subregion::kSouthernAsia}}, + {"BV", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"BW", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"BY", {Region::kEurope, Subregion::kEasternEurope}}, + {"BZ", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"CA", {Region::kAmericas, Subregion::kNorthernAmerica}}, - {"KY", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"CC", {Region::kOceania, Subregion::kOceania}}, + {"CD", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, {"CF", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"TD", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"CG", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"CH", {Region::kEurope, Subregion::kWesternEurope}}, + {"CI", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"CK", {Region::kOceania, Subregion::kOceania}}, {"CL", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"CM", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, {"CN", {Region::kAsia, Subregion::kEasternAsia}}, - {"CX", {Region::kOceania, Subregion::kOceania}}, - {"CC", {Region::kOceania, Subregion::kOceania}}, {"CO", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"KM", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"CG", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"CD", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"CK", {Region::kOceania, Subregion::kOceania}}, {"CR", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"CI", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"HR", {Region::kEurope, Subregion::kSouthernEurope}}, {"CU", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"CV", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, {"CW", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"CX", {Region::kOceania, Subregion::kOceania}}, {"CY", {Region::kAsia, Subregion::kWesternAsia}}, {"CZ", {Region::kEurope, Subregion::kEasternEurope}}, - {"DK", {Region::kEurope, Subregion::kNorthernEurope}}, + {"DE", {Region::kEurope, Subregion::kWesternEurope}}, {"DJ", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"DK", {Region::kEurope, Subregion::kNorthernEurope}}, {"DM", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"DO", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"DZ", {Region::kAfrica, Subregion::kNorthernAfrica}}, {"EC", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"EE", {Region::kEurope, Subregion::kNorthernEurope}}, {"EG", {Region::kAfrica, Subregion::kNorthernAfrica}}, - {"SV", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"GQ", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"EH", {Region::kAfrica, Subregion::kNorthernAfrica}}, {"ER", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"EE", {Region::kEurope, Subregion::kNorthernEurope}}, - {"SZ", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"ES", {Region::kEurope, Subregion::kSouthernEurope}}, {"ET", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"FI", {Region::kEurope, Subregion::kNorthernEurope}}, + {"FJ", {Region::kOceania, Subregion::kOceania}}, {"FK", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"FM", {Region::kOceania, Subregion::kOceania}}, {"FO", {Region::kEurope, Subregion::kNorthernEurope}}, - {"FJ", {Region::kOceania, Subregion::kOceania}}, - {"FI", {Region::kEurope, Subregion::kNorthernEurope}}, {"FR", {Region::kEurope, Subregion::kWesternEurope}}, - {"GF", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"PF", {Region::kOceania, Subregion::kOceania}}, - {"TF", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, {"GA", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"GM", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"GB", {Region::kEurope, Subregion::kNorthernEurope}}, + {"GD", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"GE", {Region::kAsia, Subregion::kWesternAsia}}, - {"DE", {Region::kEurope, Subregion::kWesternEurope}}, + {"GF", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"GG", {Region::kEurope, Subregion::kNorthernEurope}}, {"GH", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, {"GI", {Region::kEurope, Subregion::kSouthernEurope}}, - {"GR", {Region::kEurope, Subregion::kSouthernEurope}}, {"GL", {Region::kAmericas, Subregion::kNorthernAmerica}}, - {"GD", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"GM", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"GN", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, {"GP", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"GU", {Region::kOceania, Subregion::kOceania}}, + {"GQ", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"GR", {Region::kEurope, Subregion::kSouthernEurope}}, + {"GS", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"GT", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"GG", {Region::kEurope, Subregion::kNorthernEurope}}, - {"GN", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"GU", {Region::kOceania, Subregion::kOceania}}, {"GW", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, {"GY", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"HT", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"HK", {Region::kAsia, Subregion::kEasternAsia}}, {"HM", {Region::kOceania, Subregion::kOceania}}, - {"VA", {Region::kEurope, Subregion::kSouthernEurope}}, {"HN", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"HK", {Region::kAsia, Subregion::kEasternAsia}}, + {"HR", {Region::kEurope, Subregion::kSouthernEurope}}, + {"HT", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"HU", {Region::kEurope, Subregion::kEasternEurope}}, - {"IS", {Region::kEurope, Subregion::kNorthernEurope}}, - {"IN", {Region::kAsia, Subregion::kSouthernAsia}}, {"ID", {Region::kAsia, Subregion::kSoutheasternAsia}}, - {"IR", {Region::kAsia, Subregion::kSouthernAsia}}, - {"IQ", {Region::kAsia, Subregion::kWesternAsia}}, {"IE", {Region::kEurope, Subregion::kNorthernEurope}}, - {"IM", {Region::kEurope, Subregion::kNorthernEurope}}, {"IL", {Region::kAsia, Subregion::kWesternAsia}}, + {"IM", {Region::kEurope, Subregion::kNorthernEurope}}, + {"IN", {Region::kAsia, Subregion::kSouthernAsia}}, + {"IO", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"IQ", {Region::kAsia, Subregion::kWesternAsia}}, + {"IR", {Region::kAsia, Subregion::kSouthernAsia}}, + {"IS", {Region::kEurope, Subregion::kNorthernEurope}}, {"IT", {Region::kEurope, Subregion::kSouthernEurope}}, - {"JM", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"JP", {Region::kAsia, Subregion::kEasternAsia}}, {"JE", {Region::kEurope, Subregion::kNorthernEurope}}, + {"JM", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"JO", {Region::kAsia, Subregion::kWesternAsia}}, - {"KZ", {Region::kAsia, Subregion::kCentralAsia}}, + {"JP", {Region::kAsia, Subregion::kEasternAsia}}, {"KE", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"KG", {Region::kAsia, Subregion::kCentralAsia}}, + {"KH", {Region::kAsia, Subregion::kSoutheasternAsia}}, {"KI", {Region::kOceania, Subregion::kOceania}}, + {"KM", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"KN", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"KP", {Region::kAsia, Subregion::kEasternAsia}}, {"KR", {Region::kAsia, Subregion::kEasternAsia}}, {"KW", {Region::kAsia, Subregion::kWesternAsia}}, - {"KG", {Region::kAsia, Subregion::kCentralAsia}}, + {"KY", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"KZ", {Region::kAsia, Subregion::kCentralAsia}}, {"LA", {Region::kAsia, Subregion::kSoutheasternAsia}}, - {"LV", {Region::kEurope, Subregion::kNorthernEurope}}, {"LB", {Region::kAsia, Subregion::kWesternAsia}}, - {"LS", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"LR", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"LY", {Region::kAfrica, Subregion::kNorthernAfrica}}, + {"LC", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"LI", {Region::kEurope, Subregion::kWesternEurope}}, + {"LK", {Region::kAsia, Subregion::kSouthernAsia}}, + {"LR", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"LS", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, {"LT", {Region::kEurope, Subregion::kNorthernEurope}}, {"LU", {Region::kEurope, Subregion::kWesternEurope}}, - {"MO", {Region::kAsia, Subregion::kEasternAsia}}, + {"LV", {Region::kEurope, Subregion::kNorthernEurope}}, + {"LY", {Region::kAfrica, Subregion::kNorthernAfrica}}, + {"MA", {Region::kAfrica, Subregion::kNorthernAfrica}}, + {"MC", {Region::kEurope, Subregion::kWesternEurope}}, + {"MD", {Region::kEurope, Subregion::kEasternEurope}}, + {"ME", {Region::kEurope, Subregion::kSouthernEurope}}, + {"MF", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"MG", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"MW", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"MY", {Region::kAsia, Subregion::kSoutheasternAsia}}, - {"MV", {Region::kAsia, Subregion::kSouthernAsia}}, - {"ML", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"MT", {Region::kEurope, Subregion::kSouthernEurope}}, {"MH", {Region::kOceania, Subregion::kOceania}}, + {"MK", {Region::kEurope, Subregion::kSouthernEurope}}, + {"ML", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"MM", {Region::kAsia, Subregion::kSoutheasternAsia}}, + {"MN", {Region::kAsia, Subregion::kEasternAsia}}, + {"MO", {Region::kAsia, Subregion::kEasternAsia}}, + {"MP", {Region::kOceania, Subregion::kOceania}}, {"MQ", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"MR", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"MS", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"MT", {Region::kEurope, Subregion::kSouthernEurope}}, {"MU", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"YT", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"MV", {Region::kAsia, Subregion::kSouthernAsia}}, + {"MW", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, {"MX", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"FM", {Region::kOceania, Subregion::kOceania}}, - {"MD", {Region::kEurope, Subregion::kEasternEurope}}, - {"MC", {Region::kEurope, Subregion::kWesternEurope}}, - {"MN", {Region::kAsia, Subregion::kEasternAsia}}, - {"ME", {Region::kEurope, Subregion::kSouthernEurope}}, - {"MS", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"MA", {Region::kAfrica, Subregion::kNorthernAfrica}}, + {"MY", {Region::kAsia, Subregion::kSoutheasternAsia}}, {"MZ", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"MM", {Region::kAsia, Subregion::kSoutheasternAsia}}, {"NA", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"NR", {Region::kOceania, Subregion::kOceania}}, - {"NP", {Region::kAsia, Subregion::kSouthernAsia}}, - {"NL", {Region::kEurope, Subregion::kWesternEurope}}, {"NC", {Region::kOceania, Subregion::kOceania}}, - {"NZ", {Region::kOceania, Subregion::kOceania}}, - {"NI", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"NE", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"NG", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"NU", {Region::kOceania, Subregion::kOceania}}, {"NF", {Region::kOceania, Subregion::kOceania}}, - {"MK", {Region::kEurope, Subregion::kSouthernEurope}}, - {"MP", {Region::kOceania, Subregion::kOceania}}, + {"NG", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"NI", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"NL", {Region::kEurope, Subregion::kWesternEurope}}, {"NO", {Region::kEurope, Subregion::kNorthernEurope}}, + {"NP", {Region::kAsia, Subregion::kSouthernAsia}}, + {"NR", {Region::kOceania, Subregion::kOceania}}, + {"NU", {Region::kOceania, Subregion::kOceania}}, + {"NZ", {Region::kOceania, Subregion::kOceania}}, {"OM", {Region::kAsia, Subregion::kWesternAsia}}, - {"PK", {Region::kAsia, Subregion::kSouthernAsia}}, - {"PW", {Region::kOceania, Subregion::kOceania}}, - {"PS", {Region::kAsia, Subregion::kWesternAsia}}, {"PA", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"PG", {Region::kOceania, Subregion::kOceania}}, - {"PY", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"PE", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"PF", {Region::kOceania, Subregion::kOceania}}, + {"PG", {Region::kOceania, Subregion::kOceania}}, {"PH", {Region::kAsia, Subregion::kSoutheasternAsia}}, - {"PN", {Region::kOceania, Subregion::kOceania}}, + {"PK", {Region::kAsia, Subregion::kSouthernAsia}}, {"PL", {Region::kEurope, Subregion::kEasternEurope}}, - {"PT", {Region::kEurope, Subregion::kSouthernEurope}}, + {"PM", {Region::kAmericas, Subregion::kNorthernAmerica}}, + {"PN", {Region::kOceania, Subregion::kOceania}}, {"PR", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"PS", {Region::kAsia, Subregion::kWesternAsia}}, + {"PT", {Region::kEurope, Subregion::kSouthernEurope}}, + {"PW", {Region::kOceania, Subregion::kOceania}}, + {"PY", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"QA", {Region::kAsia, Subregion::kWesternAsia}}, {"RE", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, {"RO", {Region::kEurope, Subregion::kEasternEurope}}, + {"RS", {Region::kEurope, Subregion::kSouthernEurope}}, {"RU", {Region::kEurope, Subregion::kEasternEurope}}, {"RW", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"BL", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"SH", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"KN", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"LC", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"MF", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"PM", {Region::kAmericas, Subregion::kNorthernAmerica}}, - {"VC", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"WS", {Region::kOceania, Subregion::kOceania}}, - {"SM", {Region::kEurope, Subregion::kSouthernEurope}}, - {"ST", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, {"SA", {Region::kAsia, Subregion::kWesternAsia}}, - {"SN", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"RS", {Region::kEurope, Subregion::kSouthernEurope}}, + {"SB", {Region::kOceania, Subregion::kOceania}}, {"SC", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"SL", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"SD", {Region::kAfrica, Subregion::kNorthernAfrica}}, + {"SE", {Region::kEurope, Subregion::kNorthernEurope}}, {"SG", {Region::kAsia, Subregion::kSoutheasternAsia}}, - {"SX", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"SK", {Region::kEurope, Subregion::kEasternEurope}}, + {"SH", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, {"SI", {Region::kEurope, Subregion::kSouthernEurope}}, - {"SB", {Region::kOceania, Subregion::kOceania}}, + {"SJ", {Region::kEurope, Subregion::kNorthernEurope}}, + {"SK", {Region::kEurope, Subregion::kEasternEurope}}, + {"SL", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"SM", {Region::kEurope, Subregion::kSouthernEurope}}, + {"SN", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, {"SO", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"ZA", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"GS", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"SS", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"ES", {Region::kEurope, Subregion::kSouthernEurope}}, - {"LK", {Region::kAsia, Subregion::kSouthernAsia}}, - {"SD", {Region::kAfrica, Subregion::kNorthernAfrica}}, {"SR", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"SJ", {Region::kEurope, Subregion::kNorthernEurope}}, - {"SE", {Region::kEurope, Subregion::kNorthernEurope}}, - {"CH", {Region::kEurope, Subregion::kWesternEurope}}, + {"SS", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"ST", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"SV", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"SX", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"SY", {Region::kAsia, Subregion::kWesternAsia}}, - {"TW", {Region::kAsia, Subregion::kEasternAsia}}, - {"TJ", {Region::kAsia, Subregion::kCentralAsia}}, - {"TZ", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, - {"TH", {Region::kAsia, Subregion::kSoutheasternAsia}}, - {"TL", {Region::kAsia, Subregion::kSoutheasternAsia}}, + {"SZ", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"TC", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"TD", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"TF", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, {"TG", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"TH", {Region::kAsia, Subregion::kSoutheasternAsia}}, + {"TJ", {Region::kAsia, Subregion::kCentralAsia}}, {"TK", {Region::kOceania, Subregion::kOceania}}, - {"TO", {Region::kOceania, Subregion::kOceania}}, - {"TT", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"TL", {Region::kAsia, Subregion::kSoutheasternAsia}}, + {"TM", {Region::kAsia, Subregion::kCentralAsia}}, {"TN", {Region::kAfrica, Subregion::kNorthernAfrica}}, + {"TO", {Region::kOceania, Subregion::kOceania}}, {"TR", {Region::kAsia, Subregion::kWesternAsia}}, - {"TM", {Region::kAsia, Subregion::kCentralAsia}}, - {"TC", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"TT", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"TV", {Region::kOceania, Subregion::kOceania}}, - {"UG", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"TW", {Region::kAsia, Subregion::kEasternAsia}}, + {"TZ", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, {"UA", {Region::kEurope, Subregion::kEasternEurope}}, - {"AE", {Region::kAsia, Subregion::kWesternAsia}}, - {"GB", {Region::kEurope, Subregion::kNorthernEurope}}, - {"US", {Region::kAmericas, Subregion::kNorthernAmerica}}, + {"UG", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, {"UM", {Region::kOceania, Subregion::kOceania}}, + {"US", {Region::kAmericas, Subregion::kNorthernAmerica}}, {"UY", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"UZ", {Region::kAsia, Subregion::kCentralAsia}}, - {"VU", {Region::kOceania, Subregion::kOceania}}, + {"VA", {Region::kEurope, Subregion::kSouthernEurope}}, + {"VC", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"VE", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, - {"VN", {Region::kAsia, Subregion::kSoutheasternAsia}}, {"VG", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, {"VI", {Region::kAmericas, Subregion::kLatinAmericaAndTheCaribbean}}, + {"VN", {Region::kAsia, Subregion::kSoutheasternAsia}}, + {"VU", {Region::kOceania, Subregion::kOceania}}, {"WF", {Region::kOceania, Subregion::kOceania}}, - {"EH", {Region::kAfrica, Subregion::kNorthernAfrica}}, + {"WS", {Region::kOceania, Subregion::kOceania}}, {"YE", {Region::kAsia, Subregion::kWesternAsia}}, + {"YT", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, + {"ZA", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, {"ZM", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, {"ZW", {Region::kAfrica, Subregion::kSubSaharanAfrica}}, });