diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-02 05:12:33 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-02 05:12:33 +0000 |
commit | a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e (patch) | |
tree | bdd4dac76e6034ef6cf33450e203269a715ea0e6 /chrome/installer/util/helper.h | |
parent | 8bc574c57115e9ffd0169f33131c0865997dcb35 (diff) | |
download | chromium_src-a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e.zip chromium_src-a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e.tar.gz chromium_src-a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e.tar.bz2 |
Add FilePath to base namespace.
This updates headers that forward-declare it and a few random places to use the namespace explicitly. There us a using declaration in file_path.h that makes the rest compile, which we can do in future passes.
Review URL: https://codereview.chromium.org/12163003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180245 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/helper.h')
-rw-r--r-- | chrome/installer/util/helper.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/installer/util/helper.h b/chrome/installer/util/helper.h index e588be1..68d873c 100644 --- a/chrome/installer/util/helper.h +++ b/chrome/installer/util/helper.h @@ -11,7 +11,10 @@ #include <vector> class BrowserDistribution; + +namespace base { class FilePath; +} namespace installer { @@ -20,7 +23,7 @@ namespace installer { // system_install: if true, the function returns system wide location // (ProgramFiles\Google). Otherwise it returns user specific // location (Document And Settings\<user>\Local Settings...) -FilePath GetChromeInstallPath(bool system_install, BrowserDistribution* dist); +base::FilePath GetChromeInstallPath(bool system_install, BrowserDistribution* dist); // Returns the path(s) to the directory that holds the user data (primary and, // if applicable to |dist|, alternate). This is always inside a user's local @@ -31,7 +34,7 @@ FilePath GetChromeInstallPath(bool system_install, BrowserDistribution* dist); // otherwise. If more than one path is returned, they are guaranteed to be // siblings. void GetChromeUserDataPaths(BrowserDistribution* dist, - std::vector<FilePath>* paths); + std::vector<base::FilePath>* paths); // Returns the distribution corresponding to the current process's binaries. // In the case of a multi-install product, this will be the CHROME_BINARIES |