Index: chrome/installer/mac/app/Downloader.h |
diff --git a/chrome/installer/mac/app/Downloader.h b/chrome/installer/mac/app/Downloader.h |
index 03c84fa7f7207eee0ee1981cee6f0fc65014e490..06e53931b6e04474b424cdc6b3eb694e4159370b 100644 |
--- a/chrome/installer/mac/app/Downloader.h |
+++ b/chrome/installer/mac/app/Downloader.h |
@@ -7,7 +7,14 @@ |
#import <Foundation/Foundation.h> |
-@interface Downloader : NSObject<NSXMLParserDelegate> |
+@protocol DownloaderDelegate |
+- (void)onDownloadSuccess; |
+@end |
+ |
+@interface Downloader |
+ : NSObject<NSXMLParserDelegate, NSURLSessionDownloadDelegate> |
+ |
+@property(nonatomic, assign) id<DownloaderDelegate> delegate; |
// Returns a path to a user's home download folder. |
+ (NSString*)getDownloadsFilePath; |