OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #import "OmahaCommunication.h" | 5 #import "OmahaCommunication.h" |
6 | 6 |
7 #import "OmahaXMLRequest.h" | 7 #import "OmahaXMLRequest.h" |
8 #import "OmahaXMLParser.h" | 8 #import "OmahaXMLParser.h" |
9 | 9 |
10 static NSString* const omahaURLPath = | 10 static NSString* const omahaURLPath = |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 // parsing error, as the user only needs to know there was a problem | 56 // parsing error, as the user only needs to know there was a problem |
57 // talking with the Google Update server. | 57 // talking with the Google Update server. |
58 if (error) { | 58 if (error) { |
59 [delegate_ onOmahaFailureWithError:error]; | 59 [delegate_ onOmahaFailureWithError:error]; |
60 } else { | 60 } else { |
61 [delegate_ onOmahaSuccessWithURLs:completeURLs]; | 61 [delegate_ onOmahaSuccessWithURLs:completeURLs]; |
62 } | 62 } |
63 }] resume]; | 63 }] resume]; |
64 } | 64 } |
65 | 65 |
66 @end | 66 @end |
OLD | NEW |