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

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

Issue 2203583002: Added unpacking step (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added in SecCodeCheckValidity in place of the hdiutil checksum Created 4 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/installer/mac/app/InstallerWindowController.m
diff --git a/chrome/installer/mac/app/InstallerWindowController.m b/chrome/installer/mac/app/InstallerWindowController.m
index a69a562a9041486c336b456cce0d6987c530a7df..c2cb2d386018b2a096ceb88c66fe460a72bfa5c8 100644
--- a/chrome/installer/mac/app/InstallerWindowController.m
+++ b/chrome/installer/mac/app/InstallerWindowController.m
@@ -111,7 +111,13 @@
}
- (void)updateDownloadProgress:(double)progressPercent {
- progressBar_.doubleValue = progressPercent;
+ if (progressPercent > 0.0) {
+ progressBar_.doubleValue = progressPercent;
+ } else {
+ progressBar_.doubleValue = 0.0;
+ progressBar_.indeterminate = YES;
+ [progressBar_ startAnimation:nil];
+ }
}
@end

Powered by Google App Engine
This is Rietveld 408576698