summaryrefslogtreecommitdiffstats
path: root/content/browser/safe_util_win.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/safe_util_win.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/safe_util_win.h')
-rw-r--r--content/browser/safe_util_win.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/content/browser/safe_util_win.h b/content/browser/safe_util_win.h
index a8cb077..1636748 100644
--- a/content/browser/safe_util_win.h
+++ b/content/browser/safe_util_win.h
@@ -8,9 +8,12 @@
#include <string>
#include <windows.h>
-class FilePath;
class GURL;
+namespace base {
+class FilePath;
+}
+
namespace content {
// Open or run a downloaded file via the Windows shell, possibly showing first
@@ -38,7 +41,7 @@ namespace content {
// dialog.
// Returns 'true' on successful open, 'false' otherwise.
bool SaferOpenItemViaShell(HWND hwnd, const std::wstring& window_title,
- const FilePath& full_path,
+ const base::FilePath& full_path,
const std::wstring& source_url);
// Invokes IAttachmentExecute::Save to validate the downloaded file. The call
@@ -66,7 +69,7 @@ bool SaferOpenItemViaShell(HWND hwnd, const std::wstring& window_title,
// |full_path| : is the path to the downloaded file. This should be the final
// path of the download.
// |source_url|: the source URL for the download.
-HRESULT ScanAndSaveDownloadedFile(const FilePath& full_path,
+HRESULT ScanAndSaveDownloadedFile(const base::FilePath& full_path,
const GURL& source_url);
} // namespace content