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

Unified Diff: sandbox/src/integrity_level_test.cc

Issue 3823002: Move windows version-related stuff out of base/win_util and into base/win/win... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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/src/integrity_level_test.cc
===================================================================
--- sandbox/src/integrity_level_test.cc (revision 62510)
+++ sandbox/src/integrity_level_test.cc (working copy)
@@ -1,11 +1,11 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <windows.h>
#include <atlsecurity.h>
-#include "base/win_util.h"
+#include "base/win/windows_version.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "sandbox/src/sandbox.h"
#include "sandbox/src/sandbox_policy.h"
@@ -45,7 +45,7 @@
}
TEST(IntegrityLevelTest, TestLowILReal) {
- if (win_util::WINVERSION_VISTA != win_util::GetWinVersion())
+ if (base::win::VERSION_VISTA != base::win::GetVersion())
return;
TestRunner runner(JOB_LOCKDOWN, USER_INTERACTIVE, USER_INTERACTIVE);
@@ -61,7 +61,7 @@
}
TEST(DelayedIntegrityLevelTest, TestLowILDelayed) {
- if (win_util::WINVERSION_VISTA != win_util::GetWinVersion())
+ if (base::win::VERSION_VISTA != base::win::GetVersion())
return;
TestRunner runner(JOB_LOCKDOWN, USER_INTERACTIVE, USER_INTERACTIVE);
@@ -77,7 +77,7 @@
}
TEST(IntegrityLevelTest, TestNoILChange) {
- if (win_util::WINVERSION_VISTA != win_util::GetWinVersion())
+ if (base::win::VERSION_VISTA != base::win::GetVersion())
return;
TestRunner runner(JOB_LOCKDOWN, USER_INTERACTIVE, USER_INTERACTIVE);

Powered by Google App Engine
This is Rietveld 408576698