Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3755)

Unified Diff: chrome/browser/ui/cocoa/download/download_util_mac.mm

Issue 10827207: Mountain Lion: use the system download progress. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698