summaryrefslogtreecommitdiffstats
path: root/base/nix/mime_util_xdg.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-12 22:22:28 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-12 22:22:28 +0000
commit5272b32122055125dddef44d2e86c9cb7603f16f (patch)
tree9bf91b9d804c792b881d3e11496bedf977ea1ba9 /base/nix/mime_util_xdg.cc
parent75b91fd736541ed53b3e00e8c71c9930bd8534ee (diff)
downloadchromium_src-5272b32122055125dddef44d2e86c9cb7603f16f.zip
chromium_src-5272b32122055125dddef44d2e86c9cb7603f16f.tar.gz
chromium_src-5272b32122055125dddef44d2e86c9cb7603f16f.tar.bz2
Revert 182032
> 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. > > Review URL: https://codereview.chromium.org/12226121 TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/12207132 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182040 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/nix/mime_util_xdg.cc')
-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 98f37f8..63760bd 100644
--- a/base/nix/mime_util_xdg.cc
+++ b/base/nix/mime_util_xdg.cc
@@ -29,9 +29,6 @@
#include "base/message_loop.h"
#endif
-namespace base {
-namespace nix {
-
namespace {
class IconTheme;
@@ -586,6 +583,9 @@ MimeUtilConstants::~MimeUtilConstants() {
} // namespace
+namespace base {
+namespace nix {
+
std::string GetFileMimeType(const FilePath& filepath) {
if (filepath.empty())
return std::string();