summaryrefslogtreecommitdiffstats
path: root/base/nix
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-16 04:12:26 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-16 04:12:26 +0000
commit04af979a6940c84bc315b3bf6c946824f0262614 (patch)
tree57f674d57a0094dbed84b7e10928f439e6f1c6e2 /base/nix
parent25992218bf83508ab41da4246e9c634df2a07c36 (diff)
downloadchromium_src-04af979a6940c84bc315b3bf6c946824f0262614.zip
chromium_src-04af979a6940c84bc315b3bf6c946824f0262614.tar.gz
chromium_src-04af979a6940c84bc315b3bf6c946824f0262614.tar.bz2
Make base compile with no "using base::FilePath".
For base .cc files not using the base namespace, I added a using since theses files should be moved to the base namespace, and then explicit qualification will no longer be necessary. Original review URL: https://codereview.chromium.org/12226121 (reland of r182040). Review URL: https://codereview.chromium.org/12278014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182916 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/nix')
-rw-r--r--base/nix/mime_util_xdg.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/nix/mime_util_xdg.cc b/base/nix/mime_util_xdg.cc
index affc46d..00dcafa 100644
--- a/base/nix/mime_util_xdg.cc
+++ b/base/nix/mime_util_xdg.cc
@@ -23,6 +23,9 @@
#include "base/threading/thread_restrictions.h"
#include "base/time.h"
+namespace base {
+namespace nix {
+
namespace {
class IconTheme;
@@ -571,9 +574,6 @@ MimeUtilConstants::~MimeUtilConstants() {
} // namespace
-namespace base {
-namespace nix {
-
std::string GetFileMimeType(const FilePath& filepath) {
if (filepath.empty())
return std::string();