summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_paths_unittest.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-07 19:21:48 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-07 19:21:48 +0000
commita732916421eb01c3a06187bf3e077e8ce0dd5912 (patch)
tree4981b7c3ceb04be445f093c1a7689107725f736e /chrome/common/chrome_paths_unittest.cc
parent2dec8ec385e65c80571c5723dc572264a934b7c9 (diff)
downloadchromium_src-a732916421eb01c3a06187bf3e077e8ce0dd5912.zip
chromium_src-a732916421eb01c3a06187bf3e077e8ce0dd5912.tar.gz
chromium_src-a732916421eb01c3a06187bf3e077e8ce0dd5912.tar.bz2
Use base namespace for FilePath in chrome/common and content/common.
Review URL: https://codereview.chromium.org/12210058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181350 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_paths_unittest.cc')
-rw-r--r--chrome/common/chrome_paths_unittest.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/common/chrome_paths_unittest.cc b/chrome/common/chrome_paths_unittest.cc
index d747262..9f7441f 100644
--- a/chrome/common/chrome_paths_unittest.cc
+++ b/chrome/common/chrome_paths_unittest.cc
@@ -15,25 +15,25 @@
// Test the behavior of chrome::GetUserCacheDirectory.
// See that function's comments for discussion of the subtleties.
TEST(ChromePaths, UserCacheDir) {
- FilePath test_profile_dir, cache_dir;
+ base::FilePath test_profile_dir, cache_dir;
#if defined(OS_MACOSX)
ASSERT_TRUE(PathService::Get(base::DIR_APP_DATA, &test_profile_dir));
test_profile_dir = test_profile_dir.Append("foobar");
- FilePath expected_cache_dir;
+ base::FilePath expected_cache_dir;
ASSERT_TRUE(PathService::Get(base::DIR_CACHE, &expected_cache_dir));
expected_cache_dir = expected_cache_dir.Append("foobar");
#elif(OS_ANDROID)
// No matter what the test_profile_dir is, Android always use the
// application's cache directory since multiple profiles are not
// supported.
- FilePath expected_cache_dir;
+ base::FilePath expected_cache_dir;
ASSERT_TRUE(PathService::Get(base::DIR_CACHE, &expected_cache_dir));
#elif(OS_POSIX)
- FilePath homedir = file_util::GetHomeDir();
+ base::FilePath homedir = file_util::GetHomeDir();
// Note: we assume XDG_CACHE_HOME/XDG_CONFIG_HOME are at their
// default settings.
test_profile_dir = homedir.Append(".config/foobar");
- FilePath expected_cache_dir = homedir.Append(".cache/foobar");
+ base::FilePath expected_cache_dir = homedir.Append(".cache/foobar");
#endif
// Verify that a profile in the special platform-specific source
@@ -45,7 +45,7 @@ TEST(ChromePaths, UserCacheDir) {
// Verify that a profile in some other random directory doesn't use
// the special cache dir.
- test_profile_dir = FilePath(FILE_PATH_LITERAL("/some/other/path"));
+ test_profile_dir = base::FilePath(FILE_PATH_LITERAL("/some/other/path"));
chrome::GetUserCacheDirectory(test_profile_dir, &cache_dir);
#if defined(OS_ANDROID)
EXPECT_EQ(expected_cache_dir.value(), cache_dir.value());