From 6e5e68de1f394c1ca53f4017f8bcb82d7cd8168c Mon Sep 17 00:00:00 2001 From: "pkasting@chromium.org" Date: Fri, 4 Mar 2011 19:26:05 +0000 Subject: Move GetWindowsArchitecture() to windows_version.h. BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/6624025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76947 0039d316-1c4b-4281-b951-d872f2087c98 --- base/win/win_util.cc | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'base/win/win_util.cc') diff --git a/base/win/win_util.cc b/base/win/win_util.cc index 93c086a..76d8c5d 100644 --- a/base/win/win_util.cc +++ b/base/win/win_util.cc @@ -100,17 +100,6 @@ bool UserAccountControlIsEnabled() { return (uac_enabled != 0); } -WindowsArchitecture GetWindowsArchitecture() { - SYSTEM_INFO system_info; - GetNativeSystemInfo(&system_info); - switch (system_info.wProcessorArchitecture) { - case PROCESSOR_ARCHITECTURE_INTEL: return X86_ARCHITECTURE; - case PROCESSOR_ARCHITECTURE_AMD64: return X64_ARCHITECTURE; - case PROCESSOR_ARCHITECTURE_IA64: return IA64_ARCHITECTURE; - default: return OTHER_ARCHITECTURE; - } -} - bool SetAppIdForPropertyStore(IPropertyStore* property_store, const wchar_t* app_id) { DCHECK(property_store); -- cgit v1.1