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 /base/nix | |
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 'base/nix')
-rw-r--r-- | base/nix/mime_util_xdg.h | 3 | ||||
-rw-r--r-- | base/nix/xdg_util.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/base/nix/mime_util_xdg.h b/base/nix/mime_util_xdg.h index 444ce4f..79dba89 100644 --- a/base/nix/mime_util_xdg.h +++ b/base/nix/mime_util_xdg.h @@ -10,9 +10,10 @@ #include "base/base_export.h" #include "build/build_config.h" +namespace base { + class FilePath; -namespace base { namespace nix { // Gets the mime type for a file based on its filename. The file path does not diff --git a/base/nix/xdg_util.h b/base/nix/xdg_util.h index fc72663..a8b7784 100644 --- a/base/nix/xdg_util.h +++ b/base/nix/xdg_util.h @@ -18,11 +18,10 @@ #error asdf #endif -class FilePath; - namespace base { class Environment; +class FilePath; namespace nix { |