Index: chrome/browser/ui/cocoa/download/download_util_mac.mm |
diff --git a/chrome/browser/ui/cocoa/download/download_util_mac.mm b/chrome/browser/ui/cocoa/download/download_util_mac.mm |
index 17e4826b62b8cc8c03249edc2a6f62752e71f9cc..97b8446c660bae03e4c7da10c0e71b9659ef05d2 100644 |
--- a/chrome/browser/ui/cocoa/download/download_util_mac.mm |
+++ b/chrome/browser/ui/cocoa/download/download_util_mac.mm |
@@ -26,19 +26,6 @@ void AddFileToPasteboard(NSPasteboard* pasteboard, const FilePath& path) { |
[pasteboard setPropertyList:fileList forType:NSFilenamesPboardType]; |
} |
-void NotifySystemOfDownloadComplete(const FilePath& path) { |
- NSString* filePath = base::SysUTF8ToNSString(path.value()); |
- [[NSDistributedNotificationCenter defaultCenter] |
- postNotificationName:@"com.apple.DownloadFileFinished" |
- object:filePath]; |
- |
- NSString* parentPath = [filePath stringByDeletingLastPathComponent]; |
- FNNotifyByPath( |
- reinterpret_cast<const UInt8*>([parentPath fileSystemRepresentation]), |
- kFNDirectoryModifiedMessage, |
- kNilOptions); |
-} |
- |
void DragDownload(const DownloadItem* download, |
gfx::Image* icon, |
gfx::NativeView view) { |