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

Issue 56023005: First changelist of a series to migrate the component updater protocol (Closed)

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

Description

First changelist of a series to migrate the component updater protocol from v2 to v3. This CL only refactors the ping interceptor so that later on, update checks can be intercepted and canned responses be served back. Since v3 protocol uses http POST, a uniform way to intercept POST requests is needed. The current interceptor works only for pings. Support will be added later on to intercept update checks and respond with specific XML. BUG=314521 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233194

Patch Set 1 #

Patch Set 2 : Fixed broken build due to DISALLOW_COPY_AND_ASSIGN. #

Total comments: 1

Patch Set 3 : Dump pings in all cases for easier debugging of failed tests. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+245 lines, -232 lines) Patch
M chrome/browser/component_updater/test/component_updater_service_unittest.h View 1 chunk +0 lines, -24 lines 0 comments Download
M chrome/browser/component_updater/test/component_updater_service_unittest.cc View 1 2 20 chunks +101 lines, -128 lines 0 comments Download
M chrome/browser/component_updater/test/url_request_post_interceptor.h View 1 chunk +30 lines, -45 lines 0 comments Download
M chrome/browser/component_updater/test/url_request_post_interceptor.cc View 1 2 chunks +114 lines, -35 lines 2 comments Download

Messages

Total messages: 9 (0 generated)
waffles
lgtm https://codereview.chromium.org/56023005/diff/30001/chrome/browser/component_updater/test/component_updater_service_unittest.cc File chrome/browser/component_updater/test/component_updater_service_unittest.cc (right): https://codereview.chromium.org/56023005/diff/30001/chrome/browser/component_updater/test/component_updater_service_unittest.cc#newcode395 chrome/browser/component_updater/test/component_updater_service_unittest.cc:395: "previousversion=\"0.9\" nextversion=\"1.0\"/></o:app>")); I notice you're not printing the ...
7 years, 1 month ago (2013-11-04 18:32:45 UTC) #1
Sorin Jianu
Thank you Josh, PTAL.
7 years, 1 month ago (2013-11-04 22:09:26 UTC) #2
waffles
lgtm, thanks
7 years, 1 month ago (2013-11-04 22:25:16 UTC) #3
cpu_(ooo_6.6-7.5)
rubberstamp lgtm https://codereview.chromium.org/56023005/diff/110001/chrome/browser/component_updater/test/url_request_post_interceptor.cc File chrome/browser/component_updater/test/url_request_post_interceptor.cc (right): https://codereview.chromium.org/56023005/diff/110001/chrome/browser/component_updater/test/url_request_post_interceptor.cc#newcode103 chrome/browser/component_updater/test/url_request_post_interceptor.cc:103: mutable std::vector<std::string> requests_; is it worth to ...
7 years, 1 month ago (2013-11-04 22:25:53 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sorin@chromium.org/56023005/110001
7 years, 1 month ago (2013-11-05 19:43:10 UTC) #5
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=219957
7 years, 1 month ago (2013-11-05 22:39:49 UTC) #6
Sorin Jianu
Thank you Carlos! https://codereview.chromium.org/56023005/diff/110001/chrome/browser/component_updater/test/url_request_post_interceptor.cc File chrome/browser/component_updater/test/url_request_post_interceptor.cc (right): https://codereview.chromium.org/56023005/diff/110001/chrome/browser/component_updater/test/url_request_post_interceptor.cc#newcode103 chrome/browser/component_updater/test/url_request_post_interceptor.cc:103: mutable std::vector<std::string> requests_; On 2013/11/04 22:25:53, ...
7 years, 1 month ago (2013-11-05 22:41:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sorin@chromium.org/56023005/110001
7 years, 1 month ago (2013-11-06 01:04:49 UTC) #8
commit-bot: I haz the power
7 years, 1 month ago (2013-11-06 02:37:45 UTC) #9
Message was sent while issue was closed.
Change committed as 233194

Powered by Google App Engine
This is Rietveld 408576698