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

Unified Diff: base/pe_image_unittest.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: base/pe_image_unittest.cc
===================================================================
--- base/pe_image_unittest.cc (revision 62510)
+++ base/pe_image_unittest.cc (working copy)
@@ -1,4 +1,4 @@
-// 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.
@@ -6,7 +6,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "base/pe_image.h"
-#include "base/win_util.h"
+#include "base/win/windows_version.h"
// Just counts the number of invocations.
bool ExportsCallback(const PEImage &image,
@@ -147,7 +147,7 @@
// the actual number of items found is within the expected range.
TEST(PEImageTest, EnumeratesPE) {
// Windows Server 2003 is not supported as a test environment for this test.
- if (win_util::GetWinVersion() == win_util::WINVERSION_SERVER_2003)
+ if (base::win::GetVersion() == base::win::VERSION_SERVER_2003)
return;
HMODULE module = LoadLibrary(L"advapi32.dll");
ASSERT_TRUE(NULL != module);

Powered by Google App Engine
This is Rietveld 408576698