From 935aa54d9a5e2e617c61c9f8dcea398768413443 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Fri, 15 Oct 2010 01:59:15 +0000 Subject: Move windows version-related stuff out of base/win_util and into base/win/windows_version. Many files now only need to include this instead of all of win_util. Remove a bunch of unused code from base/win_util. There was a surprising amount. Replace the AppUserModel property key with the one from the SDK now that we use the Win7 SDK. Move GetLogonSessionOnlyDACL from win_util to ipc since it's only used in that one place. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3823002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62694 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/aeropeek_manager.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/aeropeek_manager.cc') diff --git a/chrome/browser/aeropeek_manager.cc b/chrome/browser/aeropeek_manager.cc index 52fb7b7..a63d2b9 100644 --- a/chrome/browser/aeropeek_manager.cc +++ b/chrome/browser/aeropeek_manager.cc @@ -13,7 +13,7 @@ #include "base/scoped_handle_win.h" #include "base/scoped_native_library.h" #include "base/waitable_event.h" -#include "base/win_util.h" +#include "base/win/windows_version.h" #include "chrome/browser/app_icon_win.h" #include "chrome/browser/browser_list.h" #include "chrome/browser/browser_process.h" @@ -1029,7 +1029,7 @@ bool AeroPeekManager::Enabled() { // TODO(hbono): Bug 37957 : find solutions that avoid // flooding users with tab thumbnails. const CommandLine* command_line = CommandLine::ForCurrentProcess(); - return win_util::GetWinVersion() >= win_util::WINVERSION_WIN7 && + return base::win::GetVersion() >= base::win::VERSION_WIN7 && win_util::ShouldUseVistaFrame() && !command_line->HasSwitch(switches::kApp) && command_line->HasSwitch(switches::kEnableAeroPeekTabs); -- cgit v1.1