diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-04 19:26:05 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-04 19:26:05 +0000 |
commit | 6e5e68de1f394c1ca53f4017f8bcb82d7cd8168c (patch) | |
tree | 20e2bc5e399c1c0cf6a322322c5a03861b8febb8 /base/win/win_util.cc | |
parent | 60d470a3b90a6b91123b31f5c3de0cfaa668b075 (diff) | |
download | chromium_src-6e5e68de1f394c1ca53f4017f8bcb82d7cd8168c.zip chromium_src-6e5e68de1f394c1ca53f4017f8bcb82d7cd8168c.tar.gz chromium_src-6e5e68de1f394c1ca53f4017f8bcb82d7cd8168c.tar.bz2 |
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
Diffstat (limited to 'base/win/win_util.cc')
-rw-r--r-- | base/win/win_util.cc | 11 |
1 files changed, 0 insertions, 11 deletions
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); |