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

Issue 421643002: Make UpgradeDetector listen to VariationsService changes. (Closed)

Created:
6 years, 4 months ago by Alexei Svitkine (slow)
Modified:
6 years, 4 months ago
CC:
chromium-reviews, Finnur, Sergey Berezin, Paweł Hajdan Jr.
Project:
chromium
Visibility:
Public.

Description

Make UpgradeDetector listen to VariationsService changes. This allows badging the wrench menu and showing the "Update Google Chrome" item in the menu when critical variations updates are available. BUG=394855 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288147

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 11

Patch Set 4 : #

Patch Set 5 : Move observer registration before early return. #

Patch Set 6 : Exclude test on Android and include CrOS changes #

Patch Set 7 : Exclude test on CrOS #

Patch Set 8 : #

Patch Set 9 : Fix gpu bot failures #

Unified diffs Side-by-side diffs Delta from patch set Stats (+264 lines, -83 lines) Patch
M chrome/browser/chromeos/upgrade_detector_chromeos.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/upgrade_detector_chromeos.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/upgrade_detector.h View 1 2 3 4 5 6 7 8 5 chunks +49 lines, -22 lines 0 comments Download
M chrome/browser/upgrade_detector.cc View 1 2 3 4 5 6 7 8 4 chunks +26 lines, -40 lines 0 comments Download
M chrome/browser/upgrade_detector_impl.h View 1 2 3 4 5 6 7 8 3 chunks +23 lines, -3 lines 0 comments Download
M chrome/browser/upgrade_detector_impl.cc View 1 2 3 4 5 6 7 8 4 chunks +46 lines, -16 lines 0 comments Download
A chrome/browser/upgrade_detector_impl_unittest.cc View 1 1 chunk +112 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (0 generated)
Alexei Svitkine (slow)
MAD, PTAL. (Finnur is on vacation, so only set him as cc). In the end, ...
6 years, 4 months ago (2014-08-01 15:36:00 UTC) #1
MAD
Très cool... Thanks! LGTM with a couple minor nits. BYE MAD https://codereview.chromium.org/421643002/diff/70001/chrome/browser/upgrade_detector.h File chrome/browser/upgrade_detector.h (right): ...
6 years, 4 months ago (2014-08-01 17:41:35 UTC) #2
sky
https://codereview.chromium.org/421643002/diff/70001/chrome/browser/upgrade_detector.cc File chrome/browser/upgrade_detector.cc (right): https://codereview.chromium.org/421643002/diff/70001/chrome/browser/upgrade_detector.cc#newcode81 chrome/browser/upgrade_detector.cc:81: critical_experiment_updates_available_) { nit: align with ( on previous line. ...
6 years, 4 months ago (2014-08-04 18:24:08 UTC) #3
Alexei Svitkine (slow)
Thanks, PTAL. https://codereview.chromium.org/421643002/diff/70001/chrome/browser/upgrade_detector.cc File chrome/browser/upgrade_detector.cc (right): https://codereview.chromium.org/421643002/diff/70001/chrome/browser/upgrade_detector.cc#newcode81 chrome/browser/upgrade_detector.cc:81: critical_experiment_updates_available_) { On 2014/08/04 18:24:07, sky wrote: ...
6 years, 4 months ago (2014-08-04 19:43:11 UTC) #4
sky
Ok, makes sense, LGTM
6 years, 4 months ago (2014-08-04 20:30:41 UTC) #5
Alexei Svitkine (slow)
The CQ bit was checked by asvitkine@chromium.org
6 years, 4 months ago (2014-08-05 17:06:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/421643002/130001
6 years, 4 months ago (2014-08-05 17:07:49 UTC) #7
Alexei Svitkine (slow)
The CQ bit was unchecked by asvitkine@chromium.org
6 years, 4 months ago (2014-08-05 20:37:49 UTC) #8
Alexei Svitkine (slow)
The CQ bit was checked by asvitkine@chromium.org
6 years, 4 months ago (2014-08-06 03:53:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/421643002/170001
6 years, 4 months ago (2014-08-06 03:54:54 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-06 09:56:42 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-06 10:16:54 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/1535)
6 years, 4 months ago (2014-08-06 10:16:55 UTC) #13
Alexei Svitkine (slow)
The CQ bit was checked by asvitkine@chromium.org
6 years, 4 months ago (2014-08-06 15:03:20 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/421643002/190001
6 years, 4 months ago (2014-08-06 15:04:08 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-06 21:06:07 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-06 21:36:01 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu_triggered_tests/builds/42531) mac_gpu_retina_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu_retina_triggered_tests/builds/32351) mac_gpu_triggered_tests ...
6 years, 4 months ago (2014-08-06 21:36:02 UTC) #18
Alexei Svitkine (slow)
The CQ bit was checked by asvitkine@chromium.org
6 years, 4 months ago (2014-08-07 02:09:49 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/421643002/190001
6 years, 4 months ago (2014-08-07 02:13:52 UTC) #20
Ken Russell (switch to Gerrit)
The tab_capture_end2end_tests failure appears both real and caused by this CL. Please don't dismiss it ...
6 years, 4 months ago (2014-08-07 07:00:58 UTC) #21
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-07 11:01:03 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-07 11:26:14 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu_triggered_tests/builds/42797)
6 years, 4 months ago (2014-08-07 11:26:15 UTC) #24
Alexei Svitkine (slow)
Thanks, will take a look. Very surprising that it would affect something like that... On ...
6 years, 4 months ago (2014-08-07 12:20:46 UTC) #25
Alexei Svitkine (slow)
Was able to repro locally and confirm the patch causes the failure. Will debug more ...
6 years, 4 months ago (2014-08-07 17:57:25 UTC) #26
Alexei Svitkine (slow)
On 2014/08/07 17:57:25, Alexei Svitkine wrote: > Was able to repro locally and confirm the ...
6 years, 4 months ago (2014-08-07 18:18:38 UTC) #27
Alexei Svitkine (slow)
The CQ bit was checked by asvitkine@chromium.org
6 years, 4 months ago (2014-08-07 18:19:08 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/421643002/210001
6 years, 4 months ago (2014-08-07 18:23:31 UTC) #29
commit-bot: I haz the power
Change committed as 288147
6 years, 4 months ago (2014-08-07 21:57:30 UTC) #30
Ken Russell (switch to Gerrit)
On 2014/08/07 18:18:38, Alexei Svitkine wrote: > On 2014/08/07 17:57:25, Alexei Svitkine wrote: > > ...
6 years, 4 months ago (2014-08-07 22:01:26 UTC) #31
Alexei Svitkine (slow)
On 2014/08/07 22:01:26, Ken Russell wrote: > On 2014/08/07 18:18:38, Alexei Svitkine wrote: > > ...
6 years, 4 months ago (2014-08-08 04:15:18 UTC) #32
Alexei Svitkine (slow)
On 2014/08/08 04:15:18, Alexei Svitkine wrote: > On 2014/08/07 22:01:26, Ken Russell wrote: > > ...
6 years, 4 months ago (2014-08-08 17:14:02 UTC) #33
Alexei Svitkine (slow)
On 2014/08/08 17:14:02, Alexei Svitkine wrote: > On 2014/08/08 04:15:18, Alexei Svitkine wrote: > > ...
6 years, 4 months ago (2014-08-08 17:18:33 UTC) #34
Alexei Svitkine (slow)
+sergeyberezin, +phajdan.jr who I think work on the cq. Any idea why the cq didn't ...
6 years, 4 months ago (2014-08-08 17:21:32 UTC) #35
chromium-reviews
It looks like a failure of the buildbot master to communicate the build status update ...
6 years, 4 months ago (2014-08-12 23:03:46 UTC) #36
Alexei Svitkine (slow)
6 years, 4 months ago (2014-08-13 14:46:32 UTC) #37
Message was sent while issue was closed.
On 2014/08/12 23:03:46, chromium-reviews wrote:
> It looks like a failure of the buildbot master to communicate the build
> status update to Rietveld. It happens occasionally (e.g. due to network
> failure), but fortunately quite rare.
> 
> Sergey.

It seems like it was happening pretty consistently for each patchset in this CL
(look at all the yellow _rel bot runs on each patchset). Doesn't sound like an
intermittent network failure to me - any chance there's a bug parsing the
buildbot output in this case?

Powered by Google App Engine
This is Rietveld 408576698