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:05:39 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-12 22:05:39 +0000
commite45e67454a7df19d63968b76ad8f614a2d6179ef (patch)
tree6aed0f48429674163a5de404b73423797cae131d /base/nix/mime_util_xdg.cc
parent3b01e8785dae09c2fae12d475b97c56710a44ae3 (diff)
downloadchromium_src-e45e67454a7df19d63968b76ad8f614a2d6179ef.zip
chromium_src-e45e67454a7df19d63968b76ad8f614a2d6179ef.tar.gz
chromium_src-e45e67454a7df19d63968b76ad8f614a2d6179ef.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. Review URL: https://codereview.chromium.org/12226121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182032 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 63760bd..98f37f8 100644
--- a/base/nix/mime_util_xdg.cc
+++ b/base/nix/mime_util_xdg.cc
@@ -29,6 +29,9 @@
#include "base/message_loop.h"
#endif
+namespace base {
+namespace nix {
+
namespace {
class IconTheme;
@@ -583,9 +586,6 @@ MimeUtilConstants::~MimeUtilConstants() {
} // namespace
-namespace base {
-namespace nix {
-
std::string GetFileMimeType(const FilePath& filepath) {
if (filepath.empty())
return std::string();