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

Issue 614363002: Added Aura notification that relaunch and powerwash is required in case of downgrade. (Closed)

Created:
6 years, 2 months ago by ygorshenin1
Modified:
6 years, 2 months ago
Reviewers:
Finnur, stevenjb, sky
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, hashimoto+watch_chromium.org, ben+ash_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Added Aura notification that relaunch and powerwash is required in case of downgrade. BUG=260649 TEST=manual tests on a falco device Committed: https://crrev.com/9903cf4807ac6604ce3d94e82700115e6f7d8d7c Cr-Commit-Position: refs/heads/master@{#298408}

Patch Set 1 #

Patch Set 2 : Fixes. #

Patch Set 3 : Fixes. #

Patch Set 4 : Fixed SystemTrayDelegateWin. #

Patch Set 5 : More fixes to StstemTrayDelegateWin. #

Total comments: 19

Patch Set 6 : Fixes. #

Total comments: 2

Patch Set 7 : Fixes. #

Total comments: 8

Patch Set 8 : Fixes. #

Patch Set 9 : Fixes. #

Total comments: 2

Patch Set 10 : Fixes. #

Patch Set 11 : Refactoring of SystemTrayDelegate(Windows|Linux) is delayed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -133 lines) Patch
M ash/ash_strings.grd View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M ash/system/tray/default_system_tray_delegate.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -3 lines 0 comments Download
M ash/system/tray/default_system_tray_delegate.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -2 lines 0 comments Download
M ash/system/tray/system_tray_delegate.h View 1 2 3 4 5 2 chunks +18 lines, -2 lines 0 comments Download
M ash/system/tray/system_tray_delegate.cc View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
M ash/system/tray/system_tray_notifier.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M ash/system/tray/system_tray_notifier.cc View 1 2 3 4 5 1 chunk +3 lines, -5 lines 0 comments Download
M ash/system/tray_update.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -3 lines 0 comments Download
M ash/system/tray_update.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +25 lines, -20 lines 0 comments Download
M ash/system/user/update_observer.h View 1 2 1 chunk +3 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/upgrade_detector_chromeos.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/upgrade_detector_chromeos.cc View 1 2 3 4 5 4 chunks +78 lines, -10 lines 0 comments Download
M chrome/browser/resources/help/help_page.js View 1 2 3 4 5 6 7 8 9 3 chunks +14 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 1 2 3 4 5 6 7 8 9 3 chunks +7 lines, -25 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_linux.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -23 lines 0 comments Download
A chrome/browser/ui/ash/system_tray_delegate_utils.h View 1 2 3 4 5 6 7 8 9 1 chunk +17 lines, -0 lines 0 comments Download
A chrome/browser/ui/ash/system_tray_delegate_utils.cc View 1 2 3 4 5 6 7 8 9 1 chunk +32 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_win.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -23 lines 0 comments Download
M chrome/browser/upgrade_detector.h View 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/upgrade_detector.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chromeos/dbus/update_engine_client.h View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -2 lines 0 comments Download
M chromeos/dbus/update_engine_client.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +23 lines, -3 lines 0 comments Download

Messages

Total messages: 33 (6 generated)
ygorshenin1
Steven, could you please take a look at the CL?
6 years, 2 months ago (2014-10-01 13:03:43 UTC) #2
stevenjb
https://codereview.chromium.org/614363002/diff/80001/ash/ash_strings.grd File ash/ash_strings.grd (right): https://codereview.chromium.org/614363002/diff/80001/ash/ash_strings.grd#newcode285 ash/ash_strings.grd:285: <message name="IDS_ASH_STATUS_TRAY_RESTART_TO_UPDATE" desc="The label used in the tray popup ...
6 years, 2 months ago (2014-10-01 22:26:44 UTC) #3
stevenjb
Note: Someone familiar with UpgradeDetector should probably also review this.
6 years, 2 months ago (2014-10-01 22:27:20 UTC) #4
ygorshenin1
https://codereview.chromium.org/614363002/diff/80001/ash/ash_strings.grd File ash/ash_strings.grd (right): https://codereview.chromium.org/614363002/diff/80001/ash/ash_strings.grd#newcode285 ash/ash_strings.grd:285: <message name="IDS_ASH_STATUS_TRAY_RESTART_TO_UPDATE" desc="The label used in the tray popup ...
6 years, 2 months ago (2014-10-02 14:21:36 UTC) #5
ygorshenin1
+ Finnur for chrome/browser/upgrade_detector.{cc|h}
6 years, 2 months ago (2014-10-02 14:22:13 UTC) #7
Finnur
LGTM
6 years, 2 months ago (2014-10-02 15:00:51 UTC) #8
stevenjb
lgtm https://codereview.chromium.org/614363002/diff/80001/ash/system/tray/system_tray_delegate.h File ash/system/tray/system_tray_delegate.h (right): https://codereview.chromium.org/614363002/diff/80001/ash/system/tray/system_tray_delegate.h#newcode141 ash/system/tray/system_tray_delegate.h:141: virtual bool SystemShouldUpgrade(UpdateInfo* info) const = 0; On ...
6 years, 2 months ago (2014-10-02 15:33:56 UTC) #9
ygorshenin1
Many thanks, Steven and Finnur! https://codereview.chromium.org/614363002/diff/100001/ash/system/tray/default_system_tray_delegate.cc File ash/system/tray/default_system_tray_delegate.cc (right): https://codereview.chromium.org/614363002/diff/100001/ash/system/tray/default_system_tray_delegate.cc#newcode95 ash/system/tray/default_system_tray_delegate.cc:95: return; On 2014/10/02 15:33:55, ...
6 years, 2 months ago (2014-10-02 15:40:21 UTC) #10
ygorshenin1
+ Scott for chrome/browser/*
6 years, 2 months ago (2014-10-02 15:42:18 UTC) #12
sky
https://codereview.chromium.org/614363002/diff/120001/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc File chrome/browser/ui/ash/system_tray_delegate_chromeos.cc (right): https://codereview.chromium.org/614363002/diff/120001/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc#newcode185 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc:185: void GetUpdateInfo(const UpgradeDetector* detector, ash::UpdateInfo* info) { Isn't this ...
6 years, 2 months ago (2014-10-02 17:23:06 UTC) #13
ygorshenin1
PTAL https://codereview.chromium.org/614363002/diff/120001/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc File chrome/browser/ui/ash/system_tray_delegate_chromeos.cc (right): https://codereview.chromium.org/614363002/diff/120001/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc#newcode185 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc:185: void GetUpdateInfo(const UpgradeDetector* detector, ash::UpdateInfo* info) { Yes, ...
6 years, 2 months ago (2014-10-03 14:55:37 UTC) #14
sky
I'm LGTMing this, but I think the win and linux implementations should be combined. They ...
6 years, 2 months ago (2014-10-03 16:28:46 UTC) #15
ygorshenin1
PTAL https://codereview.chromium.org/614363002/diff/160001/chrome/browser/ui/ash/system_tray_delegate_utils.h File chrome/browser/ui/ash/system_tray_delegate_utils.h (right): https://codereview.chromium.org/614363002/diff/160001/chrome/browser/ui/ash/system_tray_delegate_utils.h#newcode14 chrome/browser/ui/ash/system_tray_delegate_utils.h:14: namespace system_tray_delegate_utils { On 2014/10/03 16:28:45, sky wrote: ...
6 years, 2 months ago (2014-10-03 17:05:30 UTC) #16
ygorshenin1
I've removed system_tray_delegate_{linux|win}.cc and created system_tray_delegate_common.cc, which contains base class, both implementations and necessary helper ...
6 years, 2 months ago (2014-10-03 17:06:58 UTC) #17
sky
https://codereview.chromium.org/614363002/diff/200001/chrome/browser/ui/ash/system_tray_delegate_common.cc File chrome/browser/ui/ash/system_tray_delegate_common.cc (right): https://codereview.chromium.org/614363002/diff/200001/chrome/browser/ui/ash/system_tray_delegate_common.cc#newcode318 chrome/browser/ui/ash/system_tray_delegate_common.cc:318: class SystemTrayDelegateWin : public SystemTrayDelegateCommon { Don't put windows ...
6 years, 2 months ago (2014-10-03 19:28:05 UTC) #18
ygorshenin1
PTAL https://codereview.chromium.org/614363002/diff/200001/chrome/browser/ui/ash/system_tray_delegate_common.cc File chrome/browser/ui/ash/system_tray_delegate_common.cc (right): https://codereview.chromium.org/614363002/diff/200001/chrome/browser/ui/ash/system_tray_delegate_common.cc#newcode318 chrome/browser/ui/ash/system_tray_delegate_common.cc:318: class SystemTrayDelegateWin : public SystemTrayDelegateCommon { Done, but ...
6 years, 2 months ago (2014-10-03 20:06:56 UTC) #19
sky
https://codereview.chromium.org/614363002/diff/200001/chrome/browser/ui/ash/system_tray_delegate_common.cc File chrome/browser/ui/ash/system_tray_delegate_common.cc (right): https://codereview.chromium.org/614363002/diff/200001/chrome/browser/ui/ash/system_tray_delegate_common.cc#newcode318 chrome/browser/ui/ash/system_tray_delegate_common.cc:318: class SystemTrayDelegateWin : public SystemTrayDelegateCommon { On 2014/10/03 20:06:56, ...
6 years, 2 months ago (2014-10-03 20:32:25 UTC) #20
ygorshenin1
On 2014/10/03 20:32:25, sky wrote: > https://codereview.chromium.org/614363002/diff/200001/chrome/browser/ui/ash/system_tray_delegate_common.cc > File chrome/browser/ui/ash/system_tray_delegate_common.cc (right): > > https://codereview.chromium.org/614363002/diff/200001/chrome/browser/ui/ash/system_tray_delegate_common.cc#newcode318 > ...
6 years, 2 months ago (2014-10-06 09:18:43 UTC) #21
sky
On Mon, Oct 6, 2014 at 2:18 AM, <ygorshenin@chromium.org> wrote: > On 2014/10/03 20:32:25, sky ...
6 years, 2 months ago (2014-10-06 14:13:03 UTC) #22
ygorshenin1
On 2014/10/06 14:13:03, sky wrote: > On Mon, Oct 6, 2014 at 2:18 AM, <mailto:ygorshenin@chromium.org> ...
6 years, 2 months ago (2014-10-06 14:15:07 UTC) #23
ygorshenin1
Moreover, Create(Linux|Windows)SystemTrayDelegate are used by https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/ui/ash/chrome_shell_delegate_views.cc&l=191. How about to keep both methods as is in ...
6 years, 2 months ago (2014-10-06 14:21:41 UTC) #24
sky
Why? What's wrong with what I've suggested? On Mon, Oct 6, 2014 at 7:21 AM, ...
6 years, 2 months ago (2014-10-06 18:10:34 UTC) #25
ygorshenin1
After discussion we decided to move refactoring of SystemTrayDelegateLinux and SystemTrayDelegateWin to an individual CL. ...
6 years, 2 months ago (2014-10-06 19:34:12 UTC) #28
sky
LGTM
6 years, 2 months ago (2014-10-06 20:15:42 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/614363002/240001
6 years, 2 months ago (2014-10-07 05:47:47 UTC) #31
commit-bot: I haz the power
Committed patchset #11 (id:240001) as 39817d984323cdc319d581ea6efa193f1c3e675b
6 years, 2 months ago (2014-10-07 06:47:19 UTC) #32
commit-bot: I haz the power
6 years, 2 months ago (2014-10-07 06:48:08 UTC) #33
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/9903cf4807ac6604ce3d94e82700115e6f7d8d7c
Cr-Commit-Position: refs/heads/master@{#298408}

Powered by Google App Engine
This is Rietveld 408576698