Index: chrome/common/win_util.h |
=================================================================== |
--- chrome/common/win_util.h (revision 7599) |
+++ chrome/common/win_util.h (working copy) |
@@ -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 @@ |
// 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 |