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

Issue 375973003: Componentize component_updater: Use Configurator to build query parameters. (Closed)

Created:
6 years, 5 months ago by tommycli
Modified:
6 years, 5 months ago
CC:
chromium-reviews, cpu_(ooo_6.6-7.5)
Project:
chromium
Visibility:
Public.

Description

Componentize component_updater: Use Configurator to build query parameters. This also breaks a few more misc. bonds between chrome/common and component_updater. BUG=371463 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282444

Patch Set 1 #

Patch Set 2 : Remove chrome/common dep for component_updater_service. #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : fix one gyp omission #

Total comments: 6

Patch Set 7 : revert pepper flash changes #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : fwd decl Version #

Patch Set 12 : fix tests #

Total comments: 12

Patch Set 13 : address comments #

Total comments: 2

Patch Set 14 : add missing gyp dep #

Patch Set 15 : run git cl format (vertically align args) #

Patch Set 16 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -44 lines) Patch
M chrome/browser/component_updater/component_updater_configurator.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/component_updater/component_updater_configurator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +23 lines, -0 lines 0 comments Download
M chrome/browser/component_updater/component_updater_ping_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +18 lines, -9 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 4 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/component_updater/component_updater_utils.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/component_updater/component_updater_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +9 lines, -10 lines 0 comments Download
M chrome/browser/component_updater/sw_reporter_installer_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/component_updater/test/test_configurator.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/component_updater/test/test_configurator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/component_updater/update_checker.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +9 lines, -3 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 2 chunks +1 line, -1 line 0 comments Download
M chrome/common/pref_names.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/common/pref_names.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M components/component_updater/component_updater_paths.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/component_updater/component_updater_paths.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/component_updater/pref_names.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +6 lines, -0 lines 0 comments Download
M components/component_updater/pref_names.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
tommycli
sorin/colin, PTAL I used the Configurator interface to break some more chrome/common dependencies in the ...
6 years, 5 months ago (2014-07-08 23:34:53 UTC) #1
blundell
I'm not convinced it makes sense to introduce a PPAPI dependency in the core component_updater ...
6 years, 5 months ago (2014-07-09 08:04:00 UTC) #2
Sorin Jianu
Thank you Tommy. I have concerns about the layering of dependencies on the Configurator in ...
6 years, 5 months ago (2014-07-09 08:29:16 UTC) #3
Sorin Jianu
re PPAPI dependency question: My thinking is that the less code we move around, the ...
6 years, 5 months ago (2014-07-09 08:34:08 UTC) #4
tommycli
PTAL sorin: Made the Configurator just provide the arguments and kept the XML generation inside ...
6 years, 5 months ago (2014-07-09 19:48:11 UTC) #5
blundell
Structure LGTM, thanks! I'll defer to Sorin for the detailed review.
6 years, 5 months ago (2014-07-10 08:38:10 UTC) #6
Sorin Jianu
Thank you Tommy. Small fry below. https://codereview.chromium.org/375973003/diff/210017/chrome/browser/component_updater/component_updater_configurator.cc File chrome/browser/component_updater/component_updater_configurator.cc (right): https://codereview.chromium.org/375973003/diff/210017/chrome/browser/component_updater/component_updater_configurator.cc#newcode197 chrome/browser/component_updater/component_updater_configurator.cc:197: extra empty line ...
6 years, 5 months ago (2014-07-10 12:27:29 UTC) #7
tommycli
sorin: I changed the BuildProtocolRequest method to take individual arguments. thanks! blundell: thx! https://codereview.chromium.org/375973003/diff/210017/chrome/browser/component_updater/component_updater_configurator.cc File ...
6 years, 5 months ago (2014-07-10 16:08:14 UTC) #8
Sorin Jianu
lgtm Thank you Tommy! Please ping waffles@ for a review as well. https://codereview.chromium.org/375973003/diff/230001/chrome/browser/component_updater/component_updater_ping_manager.cc File chrome/browser/component_updater/component_updater_ping_manager.cc ...
6 years, 5 months ago (2014-07-10 16:25:23 UTC) #9
Sorin Jianu
lgtm Thank you Tommy! Please ping waffles@ for a review as well.
6 years, 5 months ago (2014-07-10 16:25:25 UTC) #10
tommycli
waffles: May I have a review? Thanks https://codereview.chromium.org/375973003/diff/230001/chrome/browser/component_updater/component_updater_ping_manager.cc File chrome/browser/component_updater/component_updater_ping_manager.cc (right): https://codereview.chromium.org/375973003/diff/230001/chrome/browser/component_updater/component_updater_ping_manager.cc#newcode105 chrome/browser/component_updater/component_updater_ping_manager.cc:105: config.GetChannel(), config.GetLang(), ...
6 years, 5 months ago (2014-07-10 17:46:36 UTC) #11
waffles
lgtm
6 years, 5 months ago (2014-07-10 18:12:32 UTC) #12
tommycli
The CQ bit was checked by tommycli@chromium.org
6 years, 5 months ago (2014-07-10 19:05:48 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/375973003/290001
6 years, 5 months ago (2014-07-10 19:06:47 UTC) #14
commit-bot: I haz the power
6 years, 5 months ago (2014-07-10 22:47:43 UTC) #15
Message was sent while issue was closed.
Change committed as 282444

Powered by Google App Engine
This is Rietveld 408576698