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

Side by Side Diff: chrome/installer/mac/app/OmahaCommunication.m

Issue 2243863003: Added authorized install with a script to do the copy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleaned up code and made the script waiting not awkward 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698