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

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: Addressed the rest of Sidney's comments 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
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..f47a117ef2bd98b5b0fcd6b13d35d5f920aa88ee 100644
--- a/chrome/installer/mac/app/Downloader.h
+++ b/chrome/installer/mac/app/Downloader.h
@@ -7,7 +7,12 @@
#import <Foundation/Foundation.h>
-@interface Downloader : NSObject<NSXMLParserDelegate>
+#import "MainDelegate.h"
+
+@interface Downloader
+ : NSObject<NSXMLParserDelegate, NSURLSessionDownloadDelegate>
+
+@property(nonatomic, assign) id<UnpackDelegate> delegate;
// Returns a path to a user's home download folder.
+ (NSString*)getDownloadsFilePath;

Powered by Google App Engine
This is Rietveld 408576698