Index: chrome/browser/download/save_file_manager.cc |
=================================================================== |
--- chrome/browser/download/save_file_manager.cc (revision 12379) |
+++ chrome/browser/download/save_file_manager.cc (working copy) |
@@ -17,6 +17,7 @@ |
#include "chrome/browser/tab_contents/tab_util.h" |
#include "chrome/browser/tab_contents/web_contents.h" |
#include "chrome/common/chrome_paths.h" |
+#include "chrome/common/platform_util.h" |
#include "chrome/common/stl_util-inl.h" |
#include "googleurl/src/gurl.h" |
#include "net/base/net_util.h" |
@@ -24,10 +25,6 @@ |
#include "net/url_request/url_request_context.h" |
#if defined(OS_WIN) |
-#include "chrome/common/win_util.h" |
-#endif |
- |
-#if defined(OS_WIN) |
// TODO(port): port these headers to posix. |
#include "chrome/browser/tab_contents/tab_contents.h" |
#elif defined(OS_POSIX) |
@@ -521,12 +518,7 @@ |
// We run on this thread to avoid blocking the UI with slow Shell operations. |
void SaveFileManager::OnShowSavedFileInShell(const FilePath full_path) { |
DCHECK(MessageLoop::current() == GetSaveLoop()); |
- // TODO(port): make an equivalent call on mac/linux. |
-#if defined(OS_WIN) |
- win_util::ShowItemInFolder(full_path.value()); |
-#elif defined(OS_POSIX) |
- NOTIMPLEMENTED(); |
-#endif |
+ platform_util::ShowItemInFolder(full_path); |
} |
void SaveFileManager::RenameAllFiles( |