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

Unified Diff: base/trace_event_win_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/trace_event_win_unittest.cc
===================================================================
--- base/trace_event_win_unittest.cc (revision 62510)
+++ base/trace_event_win_unittest.cc (working copy)
@@ -1,13 +1,16 @@
// 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 "base/trace_event.h"
+
#include <strstream>
+
#include "base/basictypes.h"
#include "base/file_util.h"
#include "base/event_trace_consumer_win.h"
#include "base/event_trace_controller_win.h"
-#include "base/win_util.h"
+#include "base/win/windows_version.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include <initguid.h> // NOLINT - must be last include.
@@ -74,7 +77,7 @@
class TraceEventTest: public testing::Test {
public:
void SetUp() {
- bool is_xp = win_util::GetWinVersion() < win_util::WINVERSION_VISTA;
+ bool is_xp = base::win::GetVersion() < base::win::VERSION_VISTA;
// Resurrect and initialize the TraceLog singleton instance.
// On Vista and better, we need the provider registered before we

Powered by Google App Engine
This is Rietveld 408576698