summaryrefslogtreecommitdiffstats
path: root/chrome/common/win_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/win_util.h')
-rw-r--r--chrome/common/win_util.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/common/win_util.h b/chrome/common/win_util.h
index 112f1bd..5487ef3 100644
--- a/chrome/common/win_util.h
+++ b/chrome/common/win_util.h
@@ -15,6 +15,8 @@
#include "base/scoped_handle.h"
#include "chrome/common/gfx/chrome_font.h"
+class FilePath;
+
namespace win_util {
// Import ScopedHandle and friends into this namespace for backwards
@@ -112,12 +114,12 @@ void ShowItemInFolder(const std::wstring& full_path);
// ask the user, via the Windows "Open With" dialog, for an application to use
// if 'ask_for_app' is true.
// Returns 'true' on successful open, 'false' otherwise.
-bool OpenItemViaShell(const std::wstring& full_path, bool ask_for_app);
+bool OpenItemViaShell(const FilePath& full_path, bool ask_for_app);
// The download manager now writes the alternate data stream with the
// zone on all downloads. This function is equivalent to OpenItemViaShell
// without showing the zone warning dialog.
-bool OpenItemViaShellNoZoneCheck(const std::wstring& full_path,
+bool OpenItemViaShellNoZoneCheck(const FilePath& full_path,
bool ask_for_app);
// Ask the user, via the Windows "Open With" dialog, for an application to use