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

Unified Diff: chrome/installer/mac/app/Downloader.h

Issue 2148293005: Migrate mac installer to delegate-driven model (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Last patch before CQ Created 4 years, 5 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
« no previous file with comments | « chrome/installer/mac/app/DownloadDelegate.m ('k') | chrome/installer/mac/app/Downloader.m » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/installer/mac/app/DownloadDelegate.m ('k') | chrome/installer/mac/app/Downloader.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698