diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-03 01:07:12 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-03 01:07:12 +0000 |
commit | b7045486e09d1e059e9eb3b7a5013132046495c8 (patch) | |
tree | 6cf49f494c9dc7a3de8ca4c5dd61c886235b5f22 /chrome/browser/profile.cc | |
parent | 82215af6ee16b2519832ff4676c13b7f240f8c37 (diff) | |
download | chromium_src-b7045486e09d1e059e9eb3b7a5013132046495c8.zip chromium_src-b7045486e09d1e059e9eb3b7a5013132046495c8.tar.gz chromium_src-b7045486e09d1e059e9eb3b7a5013132046495c8.tar.bz2 |
Mac: Rename DIR_CACHE to DIR_USER_CACHE, which is already used on Linux.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/463005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33642 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r-- | chrome/browser/profile.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc index 278a297..5cdeb3e 100644 --- a/chrome/browser/profile.cc +++ b/chrome/browser/profile.cc @@ -600,11 +600,10 @@ ProfileImpl::ProfileImpl(const FilePath& path) // ~/Library/Caches/Google/Chrome/MyProfileName. // // TODO(akalin): Come up with unit tests for this. - // TODO(akalin): Use for Linux, too? if (!HasACacheSubdir(path_)) { FilePath app_data_path, user_cache_path; if (PathService::Get(base::DIR_APP_DATA, &app_data_path) && - PathService::Get(base::DIR_CACHE, &user_cache_path) && + PathService::Get(base::DIR_USER_CACHE, &user_cache_path) && app_data_path.AppendRelativePath(path_, &user_cache_path)) { base_cache_path_ = user_cache_path; } |