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

Issue 2862723002: Add updater state for Mac. (Closed)

Created:
3 years, 7 months ago by Boris Vidolov
Modified:
3 years, 7 months ago
CC:
chromium-reviews, mac-reviews_chromium.org, borisv, shrike
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Detect updater state for Mac (version, health) and attempt to understand if Chrome was launched by an enterprise user (domain joined). Review-Url: https://codereview.chromium.org/2862723002 Cr-Commit-Position: refs/heads/master@{#470622} Committed: https://chromium.googlesource.com/chromium/src/+/a97d530f854c213b4b37b7e363fc341e2c44e773

Patch Set 1 #

Patch Set 2 : Removed the temporary comment on ifdefs. #

Patch Set 3 : Added check for nil version in the info.plist. More comments. #

Total comments: 9

Patch Set 4 : One type and minor formatting improvements. #

Patch Set 5 : Remove the time extraction helper method from the header. #

Total comments: 12

Patch Set 6 : Scoped pointers for NSObject instances; removed a memory leak when reading different type. #

Total comments: 2

Patch Set 7 : Use ScopedCFTypeRef for the plist values to simplify the code. #

Patch Set 8 : Merge branch 'master' of https://chromium.googlesource.com/chromium/src into UpdaterStateMac #

Patch Set 9 : Merge with master branch brought new name of a method. #

Patch Set 10 : Exclude iOS from the updater state logic. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -7 lines) Patch
M components/update_client/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download
M components/update_client/updater_state.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -4 lines 0 comments Download
A components/update_client/updater_state_mac.mm View 1 2 3 4 5 6 7 8 1 chunk +180 lines, -0 lines 0 comments Download
M components/update_client/updater_state_unittest.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -3 lines 0 comments Download

Messages

Total messages: 59 (32 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2862723002/1
3 years, 7 months ago (2017-05-03 23:38:16 UTC) #4
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 7 months ago (2017-05-03 23:38:18 UTC) #6
borisv
Sorin, please take a look at the change. Note that I am dragging a system ...
3 years, 7 months ago (2017-05-04 00:23:58 UTC) #8
Sorin Jianu
Boris, please ask someone to do a review for the .mm code, for style as ...
3 years, 7 months ago (2017-05-04 19:53:59 UTC) #9
borisv
shrike@, please take a look from Mac point of view. Sorin, thank you for the ...
3 years, 7 months ago (2017-05-04 22:19:27 UTC) #13
Boris Vidolov
(cleaning up reviewers)
3 years, 7 months ago (2017-05-04 22:21:55 UTC) #15
Sorin Jianu
Thank you Boris! https://codereview.chromium.org/2862723002/diff/40001/components/update_client/updater_state.h File components/update_client/updater_state.h (right): https://codereview.chromium.org/2862723002/diff/40001/components/update_client/updater_state.h#newcode50 components/update_client/updater_state.h:50: #if defined(OS_WIN) On 2017/05/04 22:19:27, borisv ...
3 years, 7 months ago (2017-05-04 22:50:49 UTC) #16
Boris Vidolov
On 2017/05/04 22:50:49, Sorin Jianu wrote: > Thank you Boris! > > https://codereview.chromium.org/2862723002/diff/40001/components/update_client/updater_state.h > File ...
3 years, 7 months ago (2017-05-05 16:43:28 UTC) #17
Boris Vidolov
Minor updates to avoid conditional compilation in updater_state.h PTAL
3 years, 7 months ago (2017-05-05 16:44:07 UTC) #18
Robert Sesek
Some drive-by comments :) https://codereview.chromium.org/2862723002/diff/80001/components/update_client/updater_state_mac.mm File components/update_client/updater_state_mac.mm (right): https://codereview.chromium.org/2862723002/diff/80001/components/update_client/updater_state_mac.mm#newcode27 components/update_client/updater_state_mac.mm:27: T* CopyUpdaterSettingsValue(NSString* value_name) { Can ...
3 years, 7 months ago (2017-05-05 21:53:56 UTC) #20
shrike
borisv@ - rsesek@ is an excellent person to review your code for Mac style (and ...
3 years, 7 months ago (2017-05-05 23:13:45 UTC) #21
Boris Vidolov
Thank you, Robert. I added the suggestions and also removed a possible object leak if ...
3 years, 7 months ago (2017-05-06 00:31:15 UTC) #22
Sorin Jianu
lgtm Thank you Boris! Everything not .mm lgtm
3 years, 7 months ago (2017-05-06 00:37:23 UTC) #23
Robert Sesek
LGTM. Please also edit the CL description to describe the change. https://codereview.chromium.org/2862723002/diff/100001/components/update_client/updater_state_mac.mm File components/update_client/updater_state_mac.mm (right): ...
3 years, 7 months ago (2017-05-08 17:14:13 UTC) #24
Boris Vidolov
Thank you, Robert. I changed the code to use ScopedCFTypeRef object - the whole method ...
3 years, 7 months ago (2017-05-08 18:18:07 UTC) #27
Robert Sesek
LGTM. Please do clean up the CL description on Rietveld before landing, though.
3 years, 7 months ago (2017-05-08 22:20:41 UTC) #28
Boris Vidolov
3 years, 7 months ago (2017-05-08 23:35:38 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2862723002/160001
3 years, 7 months ago (2017-05-08 23:35:49 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/421283)
3 years, 7 months ago (2017-05-09 00:45:55 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2862723002/160001
3 years, 7 months ago (2017-05-09 04:12:27 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/206629)
3 years, 7 months ago (2017-05-09 04:28:53 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2862723002/180001
3 years, 7 months ago (2017-05-09 19:27:47 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/265469)
3 years, 7 months ago (2017-05-09 20:17:03 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2862723002/180001
3 years, 7 months ago (2017-05-09 21:25:54 UTC) #49
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, build has not started yet; ...
3 years, 7 months ago (2017-05-10 01:00:47 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2862723002/180001
3 years, 7 months ago (2017-05-10 16:12:39 UTC) #56
commit-bot: I haz the power
3 years, 7 months ago (2017-05-10 17:12:10 UTC) #59
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/a97d530f854c213b4b37b7e363fc...

Powered by Google App Engine
This is Rietveld 408576698