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 /chromeos | |
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 'chromeos')
-rw-r--r-- | chromeos/chromeos_test_utils.cc | 4 | ||||
-rw-r--r-- | chromeos/chromeos_test_utils.h | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/chromeos/chromeos_test_utils.cc b/chromeos/chromeos_test_utils.cc index 3455644..90ee92a 100644 --- a/chromeos/chromeos_test_utils.cc +++ b/chromeos/chromeos_test_utils.cc @@ -13,8 +13,8 @@ namespace test_utils { bool GetTestDataPath(const std::string& component, const std::string& filename, - FilePath* data_dir) { - FilePath path; + base::FilePath* data_dir) { + base::FilePath path; if (!PathService::Get(base::DIR_SOURCE_ROOT, &path)) return false; path = path.Append(FILE_PATH_LITERAL("chromeos")); diff --git a/chromeos/chromeos_test_utils.h b/chromeos/chromeos_test_utils.h index b424580..db0bc66 100644 --- a/chromeos/chromeos_test_utils.h +++ b/chromeos/chromeos_test_utils.h @@ -7,7 +7,9 @@ #include <string> +namespace base { class FilePath; +} namespace chromeos { namespace test_utils { @@ -15,7 +17,7 @@ namespace test_utils { // Returns the path to the given test data file for this library. bool GetTestDataPath(const std::string& component, const std::string& filename, - FilePath* data_dir); + base::FilePath* data_dir); } // namespace test_utils } // namespace chromeos |