diff options
author | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-21 22:59:00 +0000 |
---|---|---|
committer | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-21 22:59:00 +0000 |
commit | cc6c5d6fab9bacf150042cc83654d9ffa86e367e (patch) | |
tree | c8f56cb2219d422c36ecd6966529b19fefcf103e /base/base_paths_win.cc | |
parent | e47fe76d77ea6922e7a00fbe33433b8c950a3cb9 (diff) | |
download | chromium_src-cc6c5d6fab9bacf150042cc83654d9ffa86e367e.zip chromium_src-cc6c5d6fab9bacf150042cc83654d9ffa86e367e.tar.gz chromium_src-cc6c5d6fab9bacf150042cc83654d9ffa86e367e.tar.bz2 |
Revert 82567 - Extend PathService::Get to be able to return the X86 program files path.Cloud print's virtual driver needs this to be able to find the Chrome install directory. Since the port monitor is a 64 bit DLL on 64 bit Windows it needs to request the X86 folder explicitly.BUG=TEST=Review URL: http://codereview.chromium.org/6873159
TBR=abodenha@google.com
Review URL: http://codereview.chromium.org/6899005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82572 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base_paths_win.cc')
-rw-r--r-- | base/base_paths_win.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/base/base_paths_win.cc b/base/base_paths_win.cc index 343a101..25271e4 100644 --- a/base/base_paths_win.cc +++ b/base/base_paths_win.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 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. @@ -55,12 +55,6 @@ bool PathProviderWin(int key, FilePath* result) { return false; cur = FilePath(system_buffer); break; - case base::DIR_PROGRAM_FILESX86: - if (FAILED(SHGetFolderPath(NULL, CSIDL_PROGRAM_FILESX86, NULL, - SHGFP_TYPE_CURRENT, system_buffer))) - return false; - cur = FilePath(system_buffer); - break; case base::DIR_IE_INTERNET_CACHE: if (FAILED(SHGetFolderPath(NULL, CSIDL_INTERNET_CACHE, NULL, SHGFP_TYPE_CURRENT, system_buffer))) |