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

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

Issue 2203583002: Added unpacking step (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added use of temporary folders, removed semaphore from main installer code, adjusted some files' APIs, resolved remaining comments 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/OmahaXMLRequest.m
diff --git a/chrome/installer/mac/app/OmahaXMLRequest.m b/chrome/installer/mac/app/OmahaXMLRequest.m
index 8ade57215c1fa275b7cd97df54dbdd31e22caa4f..0d7f29d2846ed2de49b84f7142801c97e88ce413 100644
--- a/chrome/installer/mac/app/OmahaXMLRequest.m
+++ b/chrome/installer/mac/app/OmahaXMLRequest.m
@@ -23,10 +23,8 @@
// user attributes that Omaha actually looks at. The other parameters are useful
// for logging purposes but otherwise not directly used.
+ (NSXMLDocument*)createXMLRequestBody {
- // TODO: might be a good idea in the future to add a version# for this
- // installer using [[NSBundle mainBundle]
- // objectForInfoDictionaryKey:@"CFBundleShortVersionString"]]
- NSString* protocol = @"3.0";
+ NSString* protocol = [[NSBundle mainBundle]
+ objectForInfoDictionaryKey:@"CFBundleShortVersionString"]];
Sidney San Martín 2016/08/13 12:37:18 I just realized, if we'll always pass "3.0" as the
Anna Zeng 2016/08/16 23:07:39 Done.
NSString* platform = @"mac";
NSString* operatingSystem = [SystemInfo getOSVersion];

Powered by Google App Engine
This is Rietveld 408576698