summaryrefslogtreecommitdiffstats
path: root/base/base_paths_win.cc
diff options
context:
space:
mode:
authormaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-07 23:59:04 +0000
committermaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-07 23:59:04 +0000
commit0cfda1e2e62c2af07b2c22badb85ee501a14d20e (patch)
tree8c246ef0a651c207348bd16f844c7da53473c9cf /base/base_paths_win.cc
parent0814e98845b27d80fbd9788d408a58c8a29c89a7 (diff)
downloadchromium_src-0cfda1e2e62c2af07b2c22badb85ee501a14d20e.zip
chromium_src-0cfda1e2e62c2af07b2c22badb85ee501a14d20e.tar.gz
chromium_src-0cfda1e2e62c2af07b2c22badb85ee501a14d20e.tar.bz2
Remove a NOTREACHED() that was causing a dialog box during unit tests, hence
making it timeout on the test bot. Also simplify the test code. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@546 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base_paths_win.cc')
-rw-r--r--base/base_paths_win.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/base/base_paths_win.cc b/base/base_paths_win.cc
index fe3e1df..432bc90 100644
--- a/base/base_paths_win.cc
+++ b/base/base_paths_win.cc
@@ -32,7 +32,6 @@
#include <shlobj.h>
#include "base/file_util.h"
-#include "base/logging.h"
#include "base/path_service.h"
#include "base/win_util.h"
@@ -109,7 +108,6 @@ bool PathProviderWin(int key, std::wstring* result) {
break;
case base::DIR_LOCAL_APP_DATA_LOW:
if (win_util::GetWinVersion() < win_util::WINVERSION_VISTA) {
- NOTREACHED();
return false;
}
// TODO(nsylvain): We should use SHGetKnownFolderPath instead. Bug 1281128