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

Unified Diff: chrome/installer/mac/app/MainDelegate.m

Issue 2203583002: Added unpacking step (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ready for review! 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/MainDelegate.m
diff --git a/chrome/installer/mac/app/MainDelegate.m b/chrome/installer/mac/app/MainDelegate.m
index 9662b5b8a69f769a4fc348c8d017b161573457d0..cbe05192dbed045030b739d3a3b22622894e22d0 100644
--- a/chrome/installer/mac/app/MainDelegate.m
+++ b/chrome/installer/mac/app/MainDelegate.m
@@ -26,11 +26,16 @@
}
- (void)onDownloadSuccess {
- // TODO: replace the line of code below with real code someday to unpack dmg
- exit(0);
+ Unpacker* unpack = [[Unpacker alloc] init];
+ unpack.delegate = self;
+
+ [unpack unpackDMG];
}
- (void)onUnpackSuccess {
+ // TODO: replace with real code somehow
+ NSLog(@"finished unpacking");
+ exit(0);
}
@end

Powered by Google App Engine
This is Rietveld 408576698