diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-02 18:55:49 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-02 18:55:49 +0000 |
commit | fb4bcfa38b2cdd740fd112fabeb5d45add27354b (patch) | |
tree | ae328c487cad94671d0788b3287cdd053f5d46a6 /chrome/common/chrome_paths_linux.cc | |
parent | 072b8d48705dc76cafa1aa8189f62a15c94aa7fb (diff) | |
download | chromium_src-fb4bcfa38b2cdd740fd112fabeb5d45add27354b.zip chromium_src-fb4bcfa38b2cdd740fd112fabeb5d45add27354b.tar.gz chromium_src-fb4bcfa38b2cdd740fd112fabeb5d45add27354b.tar.bz2 |
Move some more file utils to the base namespace.
This also swaps the order of the parameters to GetShmemTempDir so the out
parameter is last, and enhances some documentation.
Review URL: https://codereview.chromium.org/93263002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238144 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_paths_linux.cc')
-rw-r--r-- | chrome/common/chrome_paths_linux.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/chrome_paths_linux.cc b/chrome/common/chrome_paths_linux.cc index e90c2f5..7a71caf 100644 --- a/chrome/common/chrome_paths_linux.cc +++ b/chrome/common/chrome_paths_linux.cc @@ -34,7 +34,7 @@ bool GetUserMediaDirectory(const std::string& xdg_name, #else *result = GetXDGUserDirectory(xdg_name.c_str(), fallback_name.c_str()); - base::FilePath home = file_util::GetHomeDir(); + base::FilePath home = base::GetHomeDir(); if (*result != home) { base::FilePath desktop; if (!PathService::Get(base::DIR_USER_DESKTOP, &desktop)) @@ -116,7 +116,7 @@ bool GetUserDocumentsDirectory(base::FilePath* result) { } bool GetUserDownloadsDirectorySafe(base::FilePath* result) { - base::FilePath home = file_util::GetHomeDir(); + base::FilePath home = base::GetHomeDir(); *result = home.Append(kDownloadsDir); return true; } |