summaryrefslogtreecommitdiffstats
path: root/content/browser/download/file_metadata_linux.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-02 05:12:33 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-02 05:12:33 +0000
commita3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e (patch)
treebdd4dac76e6034ef6cf33450e203269a715ea0e6 /content/browser/download/file_metadata_linux.h
parent8bc574c57115e9ffd0169f33131c0865997dcb35 (diff)
downloadchromium_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 'content/browser/download/file_metadata_linux.h')
-rw-r--r--content/browser/download/file_metadata_linux.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/content/browser/download/file_metadata_linux.h b/content/browser/download/file_metadata_linux.h
index 5494add..c4fc304 100644
--- a/content/browser/download/file_metadata_linux.h
+++ b/content/browser/download/file_metadata_linux.h
@@ -7,9 +7,12 @@
#include "content/common/content_export.h"
-class FilePath;
class GURL;
+namespace base {
+class FilePath;
+}
+
namespace content {
// The source URL attribute is part of the XDG standard.
@@ -22,7 +25,7 @@ CONTENT_EXPORT extern const char kReferrerURLAttrName[];
// Adds origin metadata to the file.
// |source| should be the source URL for the download, and |referrer| should be
// the URL the user initiated the download from.
-CONTENT_EXPORT void AddOriginMetadataToFile(const FilePath& file,
+CONTENT_EXPORT void AddOriginMetadataToFile(const base::FilePath& file,
const GURL& source,
const GURL& referrer);