Skip to content

Commit

Permalink
Update OFAC countries based on counsel guidance (2024-06-25)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmancey committed Jul 9, 2024
1 parent b2dbbb5 commit e33d767
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
4 changes: 2 additions & 2 deletions components/l10n/common/ofac_sanction_util_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ struct ParamInfo final {
// https://en.wikipedia.org/wiki/UN_M49.

// World which includes sanctioned Belarus, Cuba, Iran, Moldova, North
// Korea, Russia, Syria and Ukraine.
// Korea, Russia, Syria, and Ukraine.
{"en_001", false, "en", "001", false},
{"en_001", true, "en", "001", true},

Expand All @@ -139,7 +139,7 @@ struct ParamInfo final {
{"en_145", true, "en", "145", true},

// Eastern Europe (including Northern Asia) which includes sanctioned
// Belarus, Moldova, Russia and Ukraine.
// Belarus, Moldova, Russia, and Ukraine.
{"en_151", false, "en", "151", false},
{"en_151", true, "en", "151", true}};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@

namespace brave_l10n {

// See https://orpa.princeton.edu/export-controls/sanctioned-countries.
// See https://orpa.princeton.edu/export-controls/sanctioned-countries. The
// following list is derived from category 3.

inline constexpr auto kOFACSactionedISO31661CountryCodes =
base::MakeFixedFlatSet<std::string_view>({
Expand All @@ -31,6 +32,7 @@ inline constexpr auto kOFACSactionedISO31661CountryCodes =
"RU", // Russia
"SY", // Syria
"UA", // Ukraine (includes Crimea, Donetsk, and Luhansk regions)
"VE", // Venezuela

// ISO 3166-1 alpha-3 country codes. See
// https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3.
Expand All @@ -42,6 +44,7 @@ inline constexpr auto kOFACSactionedISO31661CountryCodes =
"RUS", // Russia
"SYR", // Syria
"UKR", // Ukraine (includes Crimea, Donetsk, and Luhansk regions)
"VEN", // Venezuela

// ISO 3166-1 numeric-3 country codes. See
// https://en.wikipedia.org/wiki/ISO_3166-1_numeric.
Expand All @@ -52,7 +55,8 @@ inline constexpr auto kOFACSactionedISO31661CountryCodes =
"498", // Moldova
"643", // Russia
"760", // Syria
"804" // Ukraine (includes Crimea, Donetsk, and Luhansk regions)
"804", // Ukraine (includes Crimea, Donetsk, and Luhansk regions)
"862" // Venezuela
});

} // namespace brave_l10n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ inline constexpr auto kOFACSactionedUnM49Codes =
{
// See https://en.wikipedia.org/wiki/UN_M49.

"001", // World which includes sanctioned Belarus, Cuba, Iran,
// Moldova, North Korea, Russia, Syria and Ukraine.
"001", // World which includes sanctioned countries.
"005", // South America which includes sanctioned Venezuela.
"029", // Caribbean which includes sanctioned Cuba.
"030", // Eastern Asia which includes sanctioned North Korea.
"034", // Southern Asia which includes sanctioned Iran.
"145", // Western Asia which includes sanctioned Syria.
"151", // Eastern Europe (including Northern Asia) which includes
// sanctioned Belarus, Moldova, Russia and Ukraine.
"151" // Eastern Europe (including Northern Asia) which includes
// sanctioned Belarus, Moldova, Russia, and Ukraine.
});

} // namespace brave_l10n
Expand Down
2 changes: 1 addition & 1 deletion components/l10n/common/un_m49_code_constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ inline constexpr auto kUnM49Codes = base::MakeFixedFlatSet<std::string_view>(
"155", // Western Europe
"202", // Sub-Saharan Africa
"419", // Latin America and the Caribbean
"830", // Channel Islands
"830" // Channel Islands
});

} // namespace brave_l10n
Expand Down

0 comments on commit e33d767

Please sign in to comment.