OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/path_service.h" | 5 #include "base/path_service.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 win_util::GetWinVersion() < win_util::WINVERSION_VISTA) { | 54 win_util::GetWinVersion() < win_util::WINVERSION_VISTA) { |
55 // DIR_LOCAL_APP_DATA_LOW is not supported prior Vista and is expected to | 55 // DIR_LOCAL_APP_DATA_LOW is not supported prior Vista and is expected to |
56 // fail. | 56 // fail. |
57 EXPECT_TRUE(ReturnsInvalidPath(key)) << key; | 57 EXPECT_TRUE(ReturnsInvalidPath(key)) << key; |
58 } else { | 58 } else { |
59 EXPECT_TRUE(ReturnsValidPath(key)) << key; | 59 EXPECT_TRUE(ReturnsValidPath(key)) << key; |
60 } | 60 } |
61 } | 61 } |
62 #endif | 62 #endif |
63 } | 63 } |
64 | |
OLD | NEW |