Chromium Code Reviews| 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]; |