Commit 0d8cf3b7 authored by Mila Green's avatar Mila Green Committed by Commit Bot

Updater: Promote Candidate from admin task.

Bug: 1072061
Change-Id: I6b903e5e4c47ee1368faf57a2388b92b39c2a2fa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2208605
Commit-Queue: Mila Green <milagreen@chromium.org>
Reviewed-by: default avatarRobert Sesek <rsesek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#774649}
parent 4de7b77b
...@@ -141,7 +141,7 @@ using base::SysUTF8ToNSString; ...@@ -141,7 +141,7 @@ using base::SysUTF8ToNSString;
} }
- (void)haltForUpdateToVersion:(NSString* _Nonnull)version - (void)haltForUpdateToVersion:(NSString* _Nonnull)version
reply:(void (^_Nonnull)(bool shouldUpdate))reply { reply:(void (^_Nonnull)(BOOL shouldUpdate))reply {
auto errorHandler = ^(NSError* xpcError) { auto errorHandler = ^(NSError* xpcError) {
LOG(ERROR) << "XPC connection failed: " LOG(ERROR) << "XPC connection failed: "
<< base::SysNSStringToUTF8([xpcError description]); << base::SysNSStringToUTF8([xpcError description]);
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
// Checks if |version| is newer. Returns the result in the reply block. // Checks if |version| is newer. Returns the result in the reply block.
- (void)haltForUpdateToVersion:(NSString* _Nonnull)version - (void)haltForUpdateToVersion:(NSString* _Nonnull)version
reply:(void (^_Nonnull)(bool shouldUpdate))reply; reply:(void (^_Nonnull)(BOOL shouldUpdate))reply;
@end @end
......
...@@ -127,7 +127,7 @@ NSString* GetMachServiceName() { ...@@ -127,7 +127,7 @@ NSString* GetMachServiceName() {
} }
- (void)haltForUpdateToVersion:(NSString* _Nonnull)version - (void)haltForUpdateToVersion:(NSString* _Nonnull)version
reply:(void (^_Nonnull)(bool shouldUpdate))reply { reply:(void (^_Nonnull)(BOOL shouldUpdate))reply {
auto errorHandler = ^(NSError* xpcError) { auto errorHandler = ^(NSError* xpcError) {
LOG(ERROR) << "XPC connection failed: " LOG(ERROR) << "XPC connection failed: "
<< base::SysNSStringToUTF8([xpcError description]); << base::SysNSStringToUTF8([xpcError description]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment