Chromium Code Reviews

Unified Diff: sandbox/win/src/file_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: Removed Wow64 stuff. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: sandbox/win/src/file_policy_test.cc
diff --git a/sandbox/win/src/file_policy_test.cc b/sandbox/win/src/file_policy_test.cc
index f7509bd36efc3415ec84fbbf6a95dbdd7710a155..d4ac9082f9f657dc1309be9fd8d1d75b9bb92882 100644
--- a/sandbox/win/src/file_policy_test.cc
+++ b/sandbox/win/src/file_policy_test.cc
@@ -280,8 +280,6 @@ TEST(FilePolicyTest, AllowNtCreateCalc) {
}
TEST(FilePolicyTest, AllowNtCreateWithNativePath) {
- if (base::win::GetVersion() < base::win::VERSION_WIN7)
- return;
base::string16 calc = MakePathToSys(L"calc.exe", false);
base::string16 nt_path;
@@ -336,8 +334,6 @@ TEST(FilePolicyTest, AllowReadOnly) {
// Tests support of "\\\\.\\DeviceName" kind of paths.
TEST(FilePolicyTest, AllowImplicitDeviceName) {
- if (base::win::GetVersion() < base::win::VERSION_WIN7)
- return;
TestRunner runner;

Powered by Google App Engine