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

Issue 18516010: Implemented completion pings for component updates. (Closed)

Created:
7 years, 5 months ago by Sorin Jianu
Modified:
7 years, 5 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Implemented completion pings for component updates. BUG=245318 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212750

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 13

Patch Set 4 : #

Patch Set 5 : Added the ObserverList. #

Total comments: 2

Patch Set 6 : #

Total comments: 3

Patch Set 7 : THIS CODE IS BROKEN, UPLOADED HERE FOR REVIEW PURPOSES ONLY. #

Patch Set 8 : Work in progress, not for review, uploaded just to try it. #

Patch Set 9 : Fixed UTs. #

Patch Set 10 : #

Total comments: 4

Patch Set 11 : #

Patch Set 12 : #

Total comments: 2

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : ChromeConfigurator owns the ping manager. #

Total comments: 4

Patch Set 16 : #

Patch Set 17 : PingManager ownership reverted back to the service. #

Patch Set 18 : #

Patch Set 19 : Merged changes from the master. #

Patch Set 20 : Removed observer fluff. #

Patch Set 21 : Fixed merge and UT issues after https://codereview.chromium.org/19683006/ #

Patch Set 22 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+836 lines, -285 lines) Patch
M chrome/browser/component_updater/component_updater_configurator.cc View 14 15 16 9 chunks +15 lines, -28 lines 0 comments Download
A chrome/browser/component_updater/component_updater_ping_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +41 lines, -0 lines 0 comments Download
A chrome/browser/component_updater/component_updater_ping_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +170 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 15 16 17 18 19 4 chunks +7 lines, -17 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 16 17 18 19 15 chunks +95 lines, -127 lines 0 comments Download
A chrome/browser/component_updater/crx_update_item.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +114 lines, -0 lines 0 comments Download
M chrome/browser/component_updater/test/component_updater_service_unittest.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 6 chunks +43 lines, -10 lines 0 comments Download
M chrome/browser/component_updater/test/component_updater_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 26 chunks +207 lines, -103 lines 0 comments Download
A chrome/browser/component_updater/test/url_request_post_interceptor.h View 1 chunk +72 lines, -0 lines 0 comments Download
A chrome/browser/component_updater/test/url_request_post_interceptor.cc View 1 chunk +68 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
Sorin Jianu
Hi Carlos, this cl is adding completion pings for component updates. A few highlights: * ...
7 years, 5 months ago (2013-07-03 20:32:50 UTC) #1
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/18516010/diff/6001/chrome/browser/component_updater/component_updater_service.cc File chrome/browser/component_updater/component_updater_service.cc (left): https://codereview.chromium.org/18516010/diff/6001/chrome/browser/component_updater/component_updater_service.cc#oldcode201 chrome/browser/component_updater/component_updater_service.cc:201: // | | error V | | why did ...
7 years, 5 months ago (2013-07-03 22:34:34 UTC) #2
Sorin Jianu
Thank you! All answered and more questions raised. https://codereview.chromium.org/18516010/diff/6001/chrome/browser/component_updater/component_updater_service.cc File chrome/browser/component_updater/component_updater_service.cc (left): https://codereview.chromium.org/18516010/diff/6001/chrome/browser/component_updater/component_updater_service.cc#oldcode201 chrome/browser/component_updater/component_updater_service.cc:201: // ...
7 years, 5 months ago (2013-07-03 23:35:13 UTC) #3
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/18516010/diff/6001/chrome/browser/component_updater/component_updater_service.cc File chrome/browser/component_updater/component_updater_service.cc (right): https://codereview.chromium.org/18516010/diff/6001/chrome/browser/component_updater/component_updater_service.cc#newcode351 chrome/browser/component_updater/component_updater_service.cc:351: scoped_ptr<ComponentUpdaterServiceObserver> observer_; Yeah use an observer list, with FOR_EACH_OBSERVER ...
7 years, 5 months ago (2013-07-04 00:02:49 UTC) #4
xiaoling
lgtm
7 years, 5 months ago (2013-07-09 19:38:27 UTC) #5
S. Ganesh
https://codereview.chromium.org/18516010/diff/18001/chrome/browser/component_updater/component_updater_service.cc File chrome/browser/component_updater/component_updater_service.cc (right): https://codereview.chromium.org/18516010/diff/18001/chrome/browser/component_updater/component_updater_service.cc#newcode845 chrome/browser/component_updater/component_updater_service.cc:845: // Download of the full update fail, therefore, the ...
7 years, 5 months ago (2013-07-09 21:13:50 UTC) #6
Sorin Jianu
Thank you for feedback. Carlos, PTAL. I introduced the generic observer, as suggested. https://codereview.chromium.org/18516010/diff/6001/chrome/browser/component_updater/component_updater_service.cc File ...
7 years, 5 months ago (2013-07-09 21:40:09 UTC) #7
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/18516010/diff/9002/chrome/browser/component_updater/component_updater_ping_manager.cc File chrome/browser/component_updater/component_updater_ping_manager.cc (right): https://codereview.chromium.org/18516010/diff/9002/chrome/browser/component_updater/component_updater_ping_manager.cc#newcode76 chrome/browser/component_updater/component_updater_ping_manager.cc:76: url_fetcher_->SetUploadData(std::string("application/xml"), BuildPing(item)); do you need std::string("application/xml") or simply "application/xml" ...
7 years, 5 months ago (2013-07-09 21:53:29 UTC) #8
Sorin Jianu
Hi Carlos, I am not able to reuse a request context in successive invocations for ...
7 years, 5 months ago (2013-07-09 22:41:56 UTC) #9
cpu_(ooo_6.6-7.5)
Yeah, I meant to pass the resourcerequestcontextgetter, around. In the CUS code I sometimes confusely ...
7 years, 5 months ago (2013-07-10 21:37:34 UTC) #10
waffles
lgtm I'll take an action item to update the server to parse and log errorcat ...
7 years, 5 months ago (2013-07-12 20:48:23 UTC) #11
Sorin Jianu
Josh, thank you for the review. https://codereview.chromium.org/18516010/diff/87001/chrome/browser/component_updater/component_updater_ping_manager.cc File chrome/browser/component_updater/component_updater_ping_manager.cc (right): https://codereview.chromium.org/18516010/diff/87001/chrome/browser/component_updater/component_updater_ping_manager.cc#newcode134 chrome/browser/component_updater/component_updater_ping_manager.cc:134: StringAppendF(&ping_event, " errorcat=\"%d\"", ...
7 years, 5 months ago (2013-07-12 21:01:57 UTC) #12
cpu_(ooo_6.6-7.5)
let me propose a different organization, as it does not help the need of the ...
7 years, 5 months ago (2013-07-15 20:22:40 UTC) #13
Sorin Jianu
Thank you Carlos. I can add the members in the service to Add and Remove ...
7 years, 5 months ago (2013-07-15 21:51:40 UTC) #14
cpu_(ooo_6.6-7.5)
On 2013/07/15 21:51:40, Sorin Jianu wrote: > Thank you Carlos. > > I can add ...
7 years, 5 months ago (2013-07-16 00:52:57 UTC) #15
waffles
https://codereview.chromium.org/18516010/diff/128001/chrome/browser/component_updater/component_updater_service.cc File chrome/browser/component_updater/component_updater_service.cc (right): https://codereview.chromium.org/18516010/diff/128001/chrome/browser/component_updater/component_updater_service.cc#newcode380 chrome/browser/component_updater/component_updater_service.cc:380: chrome_version_(chrome::VersionInfo().Version()), Is this space accidental? https://codereview.chromium.org/18516010/diff/128001/chrome/browser/component_updater/component_updater_service.h File chrome/browser/component_updater/component_updater_service.h (right): ...
7 years, 5 months ago (2013-07-16 22:47:13 UTC) #16
Sorin Jianu
Carlos, PTAL. I've done all the changes you have asked me to do. My opinion ...
7 years, 5 months ago (2013-07-16 22:50:15 UTC) #17
Sorin Jianu
Thank you for feedback! https://codereview.chromium.org/18516010/diff/128001/chrome/browser/component_updater/component_updater_service.cc File chrome/browser/component_updater/component_updater_service.cc (right): https://codereview.chromium.org/18516010/diff/128001/chrome/browser/component_updater/component_updater_service.cc#newcode380 chrome/browser/component_updater/component_updater_service.cc:380: chrome_version_(chrome::VersionInfo().Version()), On 2013/07/16 22:47:13, waffles ...
7 years, 5 months ago (2013-07-16 22:52:47 UTC) #18
cpu_(ooo_6.6-7.5)
Yeah, the configurator is worse now. Lets go back to the previous design where the ...
7 years, 5 months ago (2013-07-17 01:09:00 UTC) #19
Sorin Jianu
Carlos, please take another look. Ownership reverted back to what it was and I hope ...
7 years, 5 months ago (2013-07-17 22:21:45 UTC) #20
cpu_(ooo_6.6-7.5)
First let me say that the ping code, ping logic looks good.And sorry to inflict ...
7 years, 5 months ago (2013-07-18 20:21:14 UTC) #21
Sorin Jianu
I agree with the proposal, I will make the changes ASAP with the goal of ...
7 years, 5 months ago (2013-07-18 20:28:23 UTC) #22
Sorin Jianu
Carlos, PTAL.
7 years, 5 months ago (2013-07-18 22:18:23 UTC) #23
cpu_(ooo_6.6-7.5)
lgtm
7 years, 5 months ago (2013-07-19 18:15:42 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sorin@chromium.org/18516010/171001
7 years, 5 months ago (2013-07-19 18:16:25 UTC) #25
commit-bot: I haz the power
Failed to apply patch for chrome/browser/component_updater/test/component_updater_service_unittest_win.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; can't find ...
7 years, 5 months ago (2013-07-19 18:16:28 UTC) #26
waffles
lgtm
7 years, 5 months ago (2013-07-19 20:35:54 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sorin@chromium.org/18516010/197001
7 years, 5 months ago (2013-07-19 20:40:57 UTC) #28
commit-bot: I haz the power
7 years, 5 months ago (2013-07-20 05:45:48 UTC) #29
Message was sent while issue was closed.
Change committed as 212750

Powered by Google App Engine
This is Rietveld 408576698