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

Unified Diff: sandbox/win/src/lpc_policy_test.cc

Issue 1814863004: Cleanup/Remove Windows XP/Vista version checks from Windows sandbox code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More changes Created 4 years, 9 months 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
Index: sandbox/win/src/lpc_policy_test.cc
diff --git a/sandbox/win/src/lpc_policy_test.cc b/sandbox/win/src/lpc_policy_test.cc
index 22db795697eb6c177772bd7ee040022d646c8477..51931c665e831ebe2e11ae3e9b2a501a8ffca42c 100644
--- a/sandbox/win/src/lpc_policy_test.cc
+++ b/sandbox/win/src/lpc_policy_test.cc
@@ -128,10 +128,6 @@ SBOX_TESTS_COMMAND int Lpc_GetUserDefaultLocaleName(int argc, wchar_t** argv) {
}
TEST(LpcPolicyTest, GetUserDefaultLocaleName) {
- // GetUserDefaultLocaleName is not available before Vista.
- if (base::win::GetVersion() < base::win::VERSION_VISTA) {
- return;
- }
static GetUserDefaultLocaleNameFunction GetUserDefaultLocaleName_func = NULL;
if (!GetUserDefaultLocaleName_func) {
// GetUserDefaultLocaleName is not available on WIN XP. So we'll

Powered by Google App Engine
This is Rietveld 408576698