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

Issue 209313002: Modified components ui to address concern of all the time disabled check update button. (Closed)

Created:
6 years, 9 months ago by Shrikant Kelkar
Modified:
6 years, 6 months ago
CC:
chromium-reviews, arv+watch_chromium.org, ericde
Visibility:
Public.

Description

Modified components ui to address concern of all the time disabled check update button. With this change we take into account current status of update from update service. +jhawkins for owners BUG=272540 R=sorin,cpu,jhawkins Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274385

Patch Set 1 #

Total comments: 12

Patch Set 2 : Modified as per code review comments. #

Total comments: 2

Patch Set 3 : Removed comment as mentioned in code review. #

Total comments: 22

Patch Set 4 : Code review changes. #

Total comments: 11

Patch Set 5 : Code review #

Patch Set 6 : Added back status text. #

Patch Set 7 : Changes in sync with new Observer interface. #

Patch Set 8 : Latest sync #

Total comments: 8

Patch Set 9 : Modifications to expose CrxUpdateItem to ComponentsUI as per discussion. #

Total comments: 6

Patch Set 10 : Addressing code review comments. #

Patch Set 11 : Modified according to code review comments. #

Total comments: 16

Patch Set 12 : Code review update. #

Patch Set 13 : Code review #

Total comments: 6

Patch Set 14 : Code review. #

Total comments: 12

Patch Set 15 : Manual merge with TOT #

Patch Set 16 : Code review #

Total comments: 9

Patch Set 17 : Code review #

Total comments: 15

Patch Set 18 : Code review. #

Total comments: 2

Patch Set 19 : Code review. #

Patch Set 20 : Solving compiler issues of non handled switch case. #

Patch Set 21 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+287 lines, -114 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +60 lines, -0 lines 0 comments Download
M chrome/browser/component_updater/component_updater_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +8 lines, -12 lines 0 comments Download
M chrome/browser/component_updater/component_updater_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 9 chunks +52 lines, -39 lines 0 comments Download
M chrome/browser/resources/components.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +27 lines, -28 lines 0 comments Download
M chrome/browser/resources/components.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +20 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/components_ui.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +13 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/components_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 7 chunks +107 lines, -29 lines 0 comments Download

Messages

Total messages: 64 (0 generated)
Shrikant Kelkar
6 years, 9 months ago (2014-03-22 00:22:48 UTC) #1
cpu_(ooo_6.6-7.5)
looking good, can you post a screenshot? sorin@ can you review?
6 years, 9 months ago (2014-03-25 18:30:50 UTC) #2
Shrikant Kelkar
On 2014/03/25 18:30:50, cpu wrote: > looking good, can you post a screenshot? > > ...
6 years, 9 months ago (2014-03-25 22:57:54 UTC) #3
cpu_(ooo_6.6-7.5)
lgtm
6 years, 9 months ago (2014-03-26 19:24:08 UTC) #4
Sorin Jianu
Thank you Shrikant. One issue which could be a bug, and a bunch of some ...
6 years, 9 months ago (2014-03-26 20:22:35 UTC) #5
Shrikant Kelkar
ptal. https://codereview.chromium.org/209313002/diff/1/chrome/browser/component_updater/component_updater_service.cc File chrome/browser/component_updater/component_updater_service.cc (right): https://codereview.chromium.org/209313002/diff/1/chrome/browser/component_updater/component_updater_service.cc#newcode518 chrome/browser/component_updater/component_updater_service.cc:518: Status service_status = GetConciseStatus(uit->status); On 2014/03/26 20:22:36, Sorin ...
6 years, 9 months ago (2014-03-26 21:35:50 UTC) #6
Sorin Jianu
lgtm Thank you! https://codereview.chromium.org/209313002/diff/40001/chrome/browser/component_updater/component_updater_service.cc File chrome/browser/component_updater/component_updater_service.cc (right): https://codereview.chromium.org/209313002/diff/40001/chrome/browser/component_updater/component_updater_service.cc#newcode981 chrome/browser/component_updater/component_updater_service.cc:981: // If the item is already ...
6 years, 9 months ago (2014-03-26 21:41:07 UTC) #7
Shrikant Kelkar
https://codereview.chromium.org/209313002/diff/40001/chrome/browser/component_updater/component_updater_service.cc File chrome/browser/component_updater/component_updater_service.cc (right): https://codereview.chromium.org/209313002/diff/40001/chrome/browser/component_updater/component_updater_service.cc#newcode981 chrome/browser/component_updater/component_updater_service.cc:981: // If the item is already in the process ...
6 years, 9 months ago (2014-03-26 21:44:43 UTC) #8
Shrikant Kelkar
ping jhawkins@
6 years, 9 months ago (2014-03-27 18:41:01 UTC) #9
James Hawkins
https://codereview.chromium.org/209313002/diff/60001/chrome/browser/resources/components.css File chrome/browser/resources/components.css (right): https://codereview.chromium.org/209313002/diff/60001/chrome/browser/resources/components.css#newcode266 chrome/browser/resources/components.css:266: #componentTemplate { nit: IDs must be dash-form. https://codereview.chromium.org/209313002/diff/60001/chrome/browser/resources/components.css#newcode267 chrome/browser/resources/components.css:267: ...
6 years, 9 months ago (2014-03-27 18:46:43 UTC) #10
Shrikant Kelkar
ptal. https://codereview.chromium.org/209313002/diff/60001/chrome/browser/resources/components.html File chrome/browser/resources/components.html (right): https://codereview.chromium.org/209313002/diff/60001/chrome/browser/resources/components.html#newcode16 chrome/browser/resources/components.html:16: <div id="componentPlaceholder"></div> On 2014/03/27 18:46:43, James Hawkins wrote: ...
6 years, 9 months ago (2014-03-27 19:28:07 UTC) #11
James Hawkins
On 2014/03/27 19:28:07, Shrikant Kelkar wrote: > ptal. > > https://codereview.chromium.org/209313002/diff/60001/chrome/browser/resources/components.html > File chrome/browser/resources/components.html (right): ...
6 years, 9 months ago (2014-03-27 20:11:49 UTC) #12
James Hawkins
https://codereview.chromium.org/209313002/diff/80001/chrome/browser/resources/components.html File chrome/browser/resources/components.html (right): https://codereview.chromium.org/209313002/diff/80001/chrome/browser/resources/components.html#newcode54 chrome/browser/resources/components.html:54: jscontent="name"></span> nit: Closing brace of wrapped line must be ...
6 years, 9 months ago (2014-03-27 20:12:02 UTC) #13
Shrikant Kelkar
https://codereview.chromium.org/209313002/diff/80001/chrome/browser/resources/components.html File chrome/browser/resources/components.html (right): https://codereview.chromium.org/209313002/diff/80001/chrome/browser/resources/components.html#newcode54 chrome/browser/resources/components.html:54: jscontent="name"></span> On 2014/03/27 20:12:03, James Hawkins wrote: > nit: ...
6 years, 9 months ago (2014-03-27 22:00:12 UTC) #14
James Hawkins
https://codereview.chromium.org/209313002/diff/80001/chrome/browser/resources/components.js File chrome/browser/resources/components.js (right): https://codereview.chromium.org/209313002/diff/80001/chrome/browser/resources/components.js#newcode89 chrome/browser/resources/components.js:89: STATUS_REFRESH_INTERVAL); On 2014/03/27 22:00:13, Shrikant Kelkar wrote: > On ...
6 years, 9 months ago (2014-03-27 22:02:44 UTC) #15
Shrikant Kelkar
On 2014/03/27 22:02:44, James Hawkins wrote: > https://codereview.chromium.org/209313002/diff/80001/chrome/browser/resources/components.js > File chrome/browser/resources/components.js (right): > > https://codereview.chromium.org/209313002/diff/80001/chrome/browser/resources/components.js#newcode89 ...
6 years, 9 months ago (2014-03-27 22:15:23 UTC) #16
James Hawkins
On 2014/03/27 22:15:23, Shrikant Kelkar wrote: > On 2014/03/27 22:02:44, James Hawkins wrote: > > ...
6 years, 9 months ago (2014-03-27 22:17:24 UTC) #17
shrikant_google.com
It's mostly for troubleshooting purposes as of now, but there are future plans. On Thu, ...
6 years, 9 months ago (2014-03-27 22:19:14 UTC) #18
James Hawkins
On 2014/03/27 22:19:14, shrikant_google.com wrote: > It's mostly for troubleshooting purposes as of now, but ...
6 years, 9 months ago (2014-03-27 22:20:34 UTC) #19
shrikant_google.com
No timeline, if are strongly against having UI do the timer, I can certainly abandon ...
6 years, 9 months ago (2014-03-27 22:26:09 UTC) #20
James Hawkins
On 2014/03/27 22:26:09, shrikant_google.com wrote: > No timeline, if are strongly against having UI do ...
6 years, 9 months ago (2014-03-27 22:27:28 UTC) #21
shrikant_google.com
If setTimeout is not that wrong then would you consider this as temporary solution till ...
6 years, 9 months ago (2014-03-27 22:29:56 UTC) #22
James Hawkins
On 2014/03/27 22:29:56, shrikant_google.com wrote: > If setTimeout is not that wrong then would you ...
6 years, 9 months ago (2014-03-27 22:31:25 UTC) #23
Sorin Jianu
James, I wonder if we could reconsider the decision to not poll. I agree that ...
6 years, 8 months ago (2014-04-14 15:55:16 UTC) #24
James Hawkins
On 2014/04/14 15:55:16, Sorin Jianu wrote: > James, I wonder if we could reconsider the ...
6 years, 8 months ago (2014-04-16 15:32:15 UTC) #25
Sorin Jianu
On 2014/04/16 15:32:15, James Hawkins wrote: > On 2014/04/14 15:55:16, Sorin Jianu wrote: > > ...
6 years, 8 months ago (2014-04-16 16:00:17 UTC) #26
James Hawkins
On 2014/04/16 16:00:17, Sorin Jianu wrote: > On 2014/04/16 15:32:15, James Hawkins wrote: > > ...
6 years, 8 months ago (2014-04-16 16:01:28 UTC) #27
Sorin Jianu
On 2014/04/16 16:01:28, James Hawkins wrote: > On 2014/04/16 16:00:17, Sorin Jianu wrote: > > ...
6 years, 8 months ago (2014-04-16 16:22:44 UTC) #28
Shrikant Kelkar
Sorin/cpu, ptal. Modified with observer changes.
6 years, 8 months ago (2014-04-26 02:07:57 UTC) #29
Sorin Jianu
Thank you Shrikant. I have new changes coming up for the download progress. We could ...
6 years, 7 months ago (2014-04-28 22:46:11 UTC) #30
cpu_(ooo_6.6-7.5)
given the friendship situation it is ok if we expose CrxUpdateItem
6 years, 7 months ago (2014-04-29 00:48:53 UTC) #31
Shrikant Kelkar
Sorin, Ptal before I do nits, to see if it is in-line with what we ...
6 years, 7 months ago (2014-05-03 00:23:04 UTC) #32
Sorin Jianu
Thank you Shrikant. It goes in the right direction. https://codereview.chromium.org/209313002/diff/180001/chrome/browser/component_updater/component_updater_service.cc File chrome/browser/component_updater/component_updater_service.cc (right): https://codereview.chromium.org/209313002/diff/180001/chrome/browser/component_updater/component_updater_service.cc#newcode552 chrome/browser/component_updater/component_updater_service.cc:552: ...
6 years, 7 months ago (2014-05-03 01:09:05 UTC) #33
Shrikant Kelkar
ptal. https://codereview.chromium.org/209313002/diff/180001/chrome/browser/component_updater/component_updater_service.cc File chrome/browser/component_updater/component_updater_service.cc (right): https://codereview.chromium.org/209313002/diff/180001/chrome/browser/component_updater/component_updater_service.cc#newcode552 chrome/browser/component_updater/component_updater_service.cc:552: component_ids->push_back(GetCrxComponentID(item->component)); On 2014/05/03 01:09:06, Sorin Jianu wrote: > ...
6 years, 7 months ago (2014-05-05 23:05:17 UTC) #34
Shrikant Kelkar
btw, I can remove timer thing if we can always make sure that after calling ...
6 years, 7 months ago (2014-05-05 23:06:32 UTC) #35
Sorin Jianu
Thank you Shrikant! https://codereview.chromium.org/209313002/diff/220001/chrome/browser/component_updater/component_updater_service.cc File chrome/browser/component_updater/component_updater_service.cc (right): https://codereview.chromium.org/209313002/diff/220001/chrome/browser/component_updater/component_updater_service.cc#newcode560 chrome/browser/component_updater/component_updater_service.cc:560: CrxUpdateItem* item = FindUpdateItemById(component_id); we could ...
6 years, 7 months ago (2014-05-08 22:07:23 UTC) #36
Sorin Jianu
Shrikant, one more thing: could you please "run git cl format" and "git cl lint"? ...
6 years, 7 months ago (2014-05-09 00:50:05 UTC) #37
Shrikant Kelkar
ptal https://codereview.chromium.org/209313002/diff/220001/chrome/browser/component_updater/component_updater_service.cc File chrome/browser/component_updater/component_updater_service.cc (right): https://codereview.chromium.org/209313002/diff/220001/chrome/browser/component_updater/component_updater_service.cc#newcode560 chrome/browser/component_updater/component_updater_service.cc:560: CrxUpdateItem* item = FindUpdateItemById(component_id); On 2014/05/08 22:07:24, Sorin ...
6 years, 7 months ago (2014-05-15 23:12:43 UTC) #38
Sorin Jianu
lgtm Thank you! https://codereview.chromium.org/209313002/diff/260001/chrome/browser/component_updater/component_updater_service.h File chrome/browser/component_updater/component_updater_service.h (right): https://codereview.chromium.org/209313002/diff/260001/chrome/browser/component_updater/component_updater_service.h#newcode215 chrome/browser/component_updater/component_updater_service.h:215: // Returns details about registered component. ...
6 years, 7 months ago (2014-05-16 16:36:08 UTC) #39
Shrikant Kelkar
Modified as per your comments. ptal. Thanks, +jhawkins Can you ptal? https://codereview.chromium.org/209313002/diff/260001/chrome/browser/component_updater/component_updater_service.h File chrome/browser/component_updater/component_updater_service.h (right): ...
6 years, 7 months ago (2014-05-16 18:58:55 UTC) #40
James Hawkins
Which files are you asking me to review?
6 years, 7 months ago (2014-05-19 02:56:31 UTC) #41
Shrikant Kelkar
On 2014/05/19 02:56:31, James Hawkins wrote: > Which files are you asking me to review? ...
6 years, 7 months ago (2014-05-19 17:33:00 UTC) #42
James Hawkins
Please send a screenshot of the new UI. https://codereview.chromium.org/209313002/diff/280001/chrome/browser/resources/components.html File chrome/browser/resources/components.html (right): https://codereview.chromium.org/209313002/diff/280001/chrome/browser/resources/components.html#newcode38 chrome/browser/resources/components.html:38: <div ...
6 years, 7 months ago (2014-05-21 16:21:37 UTC) #43
Shrikant Kelkar
ptal. https://codereview.chromium.org/209313002/diff/280001/chrome/browser/resources/components.html File chrome/browser/resources/components.html (right): https://codereview.chromium.org/209313002/diff/280001/chrome/browser/resources/components.html#newcode38 chrome/browser/resources/components.html:38: <div class="component-name no-components" jsdisplay="components.length === 0"> On 2014/05/21 ...
6 years, 7 months ago (2014-05-23 03:49:23 UTC) #44
Shrikant Kelkar
On 2014/05/23 03:49:23, Shrikant Kelkar wrote: > ptal. > > https://codereview.chromium.org/209313002/diff/280001/chrome/browser/resources/components.html > File chrome/browser/resources/components.html (right): ...
6 years, 7 months ago (2014-05-23 03:52:11 UTC) #45
James Hawkins
https://codereview.chromium.org/209313002/diff/320001/chrome/browser/resources/components.html File chrome/browser/resources/components.html (right): https://codereview.chromium.org/209313002/diff/320001/chrome/browser/resources/components.html#newcode17 chrome/browser/resources/components.html:17: <div id="component-template" hidden> Please pull this out into a ...
6 years, 7 months ago (2014-05-23 17:38:53 UTC) #46
Shrikant Kelkar
ptal. https://codereview.chromium.org/209313002/diff/320001/chrome/browser/resources/components.html File chrome/browser/resources/components.html (right): https://codereview.chromium.org/209313002/diff/320001/chrome/browser/resources/components.html#newcode17 chrome/browser/resources/components.html:17: <div id="component-template" hidden> On 2014/05/23 17:38:54, James Hawkins ...
6 years, 6 months ago (2014-05-28 19:29:21 UTC) #47
James Hawkins
https://codereview.chromium.org/209313002/diff/340001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/209313002/diff/340001/chrome/app/generated_resources.grd#newcode5263 chrome/app/generated_resources.grd:5263: UpdaterStarted Spaces between the words, right? And probably sentence ...
6 years, 6 months ago (2014-05-28 23:01:10 UTC) #48
James Hawkins
https://codereview.chromium.org/209313002/diff/320001/chrome/browser/resources/components.html File chrome/browser/resources/components.html (right): https://codereview.chromium.org/209313002/diff/320001/chrome/browser/resources/components.html#newcode17 chrome/browser/resources/components.html:17: <div id="component-template" hidden> On 2014/05/28 19:29:22, Shrikant Kelkar wrote: ...
6 years, 6 months ago (2014-05-28 23:02:23 UTC) #49
Shrikant Kelkar
ptal. https://codereview.chromium.org/209313002/diff/340001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/209313002/diff/340001/chrome/app/generated_resources.grd#newcode5263 chrome/app/generated_resources.grd:5263: UpdaterStarted On 2014/05/28 23:01:11, James Hawkins wrote: > ...
6 years, 6 months ago (2014-05-28 23:14:44 UTC) #50
James Hawkins
https://codereview.chromium.org/209313002/diff/340001/chrome/browser/resources/components.html File chrome/browser/resources/components.html (right): https://codereview.chromium.org/209313002/diff/340001/chrome/browser/resources/components.html#newcode58 chrome/browser/resources/components.html:58: <span dir="ltr" On 2014/05/28 23:14:45, Shrikant Kelkar wrote: > ...
6 years, 6 months ago (2014-05-28 23:17:44 UTC) #51
chromium-reviews
As you asked I talked with person who added dir=ltr, here is what he recalls ...
6 years, 6 months ago (2014-05-29 00:13:05 UTC) #52
James Hawkins
https://codereview.chromium.org/209313002/diff/360001/chrome/browser/resources/components.html File chrome/browser/resources/components.html (right): https://codereview.chromium.org/209313002/diff/360001/chrome/browser/resources/components.html#newcode58 chrome/browser/resources/components.html:58: <span dir="ltr" Because the text in this span is ...
6 years, 6 months ago (2014-05-29 16:22:22 UTC) #53
Shrikant Kelkar
ptal. https://codereview.chromium.org/209313002/diff/360001/chrome/browser/resources/components.html File chrome/browser/resources/components.html (right): https://codereview.chromium.org/209313002/diff/360001/chrome/browser/resources/components.html#newcode58 chrome/browser/resources/components.html:58: <span dir="ltr" On 2014/05/29 16:22:23, James Hawkins wrote: ...
6 years, 6 months ago (2014-05-29 17:35:10 UTC) #54
James Hawkins
lgtm
6 years, 6 months ago (2014-05-30 00:25:30 UTC) #55
Shrikant Kelkar
The CQ bit was checked by shrikant@chromium.org
6 years, 6 months ago (2014-05-30 00:26:15 UTC) #56
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shrikant@chromium.org/209313002/380001
6 years, 6 months ago (2014-05-30 00:27:17 UTC) #57
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-05-30 07:55:45 UTC) #58
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-30 08:20:33 UTC) #59
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg/builds/190035)
6 years, 6 months ago (2014-05-30 08:20:34 UTC) #60
Shrikant Kelkar
The CQ bit was checked by shrikant@chromium.org
6 years, 6 months ago (2014-06-02 19:08:03 UTC) #61
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shrikant@chromium.org/209313002/420001
6 years, 6 months ago (2014-06-02 19:10:15 UTC) #62
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-06-02 22:33:24 UTC) #63
commit-bot: I haz the power
6 years, 6 months ago (2014-06-03 00:10:59 UTC) #64
Message was sent while issue was closed.
Change committed as 274385

Powered by Google App Engine
This is Rietveld 408576698