Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Side by Side Diff: base/path_service_unittest.cc

Issue 42155: Remove logging.h from cc files that don't use it. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/histogram_unittest.cc ('k') | base/pickle_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
11 #if defined(OS_WIN) 10 #if defined(OS_WIN)
12 #include "base/win_util.h" 11 #include "base/win_util.h"
13 #endif 12 #endif
14 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
15 #include "testing/gtest/include/gtest/gtest-spi.h" 14 #include "testing/gtest/include/gtest/gtest-spi.h"
16 #include "testing/platform_test.h" 15 #include "testing/platform_test.h"
17 16
18 namespace { 17 namespace {
19 18
20 // Returns true if PathService::Get returns true and sets the path parameter 19 // Returns true if PathService::Get returns true and sets the path parameter
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 win_util::GetWinVersion() < win_util::WINVERSION_VISTA) { 53 win_util::GetWinVersion() < win_util::WINVERSION_VISTA) {
55 // DIR_LOCAL_APP_DATA_LOW is not supported prior Vista and is expected to 54 // DIR_LOCAL_APP_DATA_LOW is not supported prior Vista and is expected to
56 // fail. 55 // fail.
57 EXPECT_TRUE(ReturnsInvalidPath(key)) << key; 56 EXPECT_TRUE(ReturnsInvalidPath(key)) << key;
58 } else { 57 } else {
59 EXPECT_TRUE(ReturnsValidPath(key)) << key; 58 EXPECT_TRUE(ReturnsValidPath(key)) << key;
60 } 59 }
61 } 60 }
62 #endif 61 #endif
63 } 62 }
OLDNEW
« no previous file with comments | « base/histogram_unittest.cc ('k') | base/pickle_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698