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

Issue 1281913002: Componentize ComponentUpdaterConfigurator (Closed)

Created:
5 years, 4 months ago by droger
Modified:
5 years, 4 months ago
CC:
blundell+watchlist_chromium.org, chromium-reviews, droger+watchlist_chromium.org, sdefresne+watchlist_chromium.org, sdefresne+watch_chromium.org, waffles
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Componentize ComponentUpdaterConfigurator This CL splits a cross platform subset of ChromeComponentUpdaterConfigurator into //components/component_updater/configurator_impl That way the code can be shared on iOS. This CL also provides a iOS implementation of the configurator in //ios/chrome. BUG=517890 Committed: https://crrev.com/f8a881411ab905efb1405d0f915252e5df7d2a23 Cr-Commit-Position: refs/heads/master@{#344173}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Review comments #

Patch Set 3 : Fix iOS compile #

Total comments: 20

Patch Set 4 : Review comments #

Patch Set 5 : Review comments #

Total comments: 9

Patch Set 6 : use channel_info #

Patch Set 7 : Fix iOS compile #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+323 lines, -347 lines) Patch
M chrome/browser/component_updater/chrome_component_updater_configurator.cc View 1 2 3 4 5 4 chunks +25 lines, -155 lines 0 comments Download
D chrome/browser/component_updater/component_updater_url_constants.h View 1 chunk +0 lines, -15 lines 0 comments Download
D chrome/browser/component_updater/component_updater_url_constants.cc View 1 chunk +0 lines, -19 lines 0 comments Download
M chrome/browser/update_client/chrome_update_query_params_delegate.h View 1 2 3 4 5 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/update_client/chrome_update_query_params_delegate.cc View 1 2 3 4 5 2 chunks +4 lines, -31 lines 0 comments Download
M chrome/browser/update_client/chrome_update_query_params_delegate_unittest.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M components/component_updater.gypi View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M components/component_updater/BUILD.gn View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M components/component_updater/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A + components/component_updater/component_updater_url_constants.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
A + components/component_updater/component_updater_url_constants.cc View 1 2 3 1 chunk +1 line, -1 line 2 comments Download
A components/component_updater/configurator_impl.h View 1 2 3 4 1 chunk +95 lines, -0 lines 0 comments Download
A + components/component_updater/configurator_impl.cc View 1 2 3 7 chunks +23 lines, -108 lines 0 comments Download
M ios/chrome/browser/DEPS View 2 chunks +2 lines, -0 lines 0 comments Download
A + ios/chrome/browser/component_updater/ios_component_updater_configurator.h View 1 2 3 2 chunks +5 lines, -6 lines 0 comments Download
A ios/chrome/browser/component_updater/ios_component_updater_configurator.cc View 1 2 3 4 5 6 1 chunk +148 lines, -0 lines 0 comments Download
M ios/chrome/ios_chrome.gyp View 1 2 3 4 3 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (11 generated)
droger
5 years, 4 months ago (2015-08-07 14:48:04 UTC) #4
droger
https://codereview.chromium.org/1281913002/diff/40001/ios/chrome/browser/component_updater/component_updater_configurator.cc File ios/chrome/browser/component_updater/component_updater_configurator.cc (right): https://codereview.chromium.org/1281913002/diff/40001/ios/chrome/browser/component_updater/component_updater_configurator.cc#newcode57 ios/chrome/browser/component_updater/component_updater_configurator.cc:57: return nullptr; Is it fine to return null here? ...
5 years, 4 months ago (2015-08-07 14:49:44 UTC) #5
Sorin Jianu
Thank you, I will take a look at this today.
5 years, 4 months ago (2015-08-07 19:02:01 UTC) #6
Sorin Jianu
I still need to chew on the change. Sorry for the wait.
5 years, 4 months ago (2015-08-08 01:00:30 UTC) #7
Sorin Jianu
Thank you for sending the CL for review. We talked about it over. This refactoring ...
5 years, 4 months ago (2015-08-11 02:27:37 UTC) #9
droger
Done. Please take a look.
5 years, 4 months ago (2015-08-11 11:11:07 UTC) #10
Sorin Jianu
Thank you! We need to reconsider deleting the files in the CL, please see the ...
5 years, 4 months ago (2015-08-12 02:27:51 UTC) #11
droger
https://codereview.chromium.org/1281913002/diff/80001/chrome/browser/component_updater/chrome_component_updater_configurator.cc File chrome/browser/component_updater/chrome_component_updater_configurator.cc (right): https://codereview.chromium.org/1281913002/diff/80001/chrome/browser/component_updater/chrome_component_updater_configurator.cc#newcode24 chrome/browser/component_updater/chrome_component_updater_configurator.cc:24: // update_client::Configurator: On 2015/08/12 02:27:51, Sorin Jianu wrote: > ...
5 years, 4 months ago (2015-08-12 08:43:42 UTC) #12
Sorin Jianu
lgtm Thank you! I forgot to ask you to run git cl format before you ...
5 years, 4 months ago (2015-08-12 17:16:55 UTC) #13
droger
+sdefresne for the new dependency of the components on version_info. +asargent as OWNER of chrome_update_query_params_delegate.cc ...
5 years, 4 months ago (2015-08-13 11:27:35 UTC) #15
sdefresne
https://codereview.chromium.org/1281913002/diff/120001/components/update_client/configurator.h File components/update_client/configurator.h (right): https://codereview.chromium.org/1281913002/diff/120001/components/update_client/configurator.h#newcode13 components/update_client/configurator.h:13: #include "base/version.h" Why adding this #include, the class is ...
5 years, 4 months ago (2015-08-13 12:20:01 UTC) #16
droger
https://codereview.chromium.org/1281913002/diff/120001/components/update_client/configurator.h File components/update_client/configurator.h (right): https://codereview.chromium.org/1281913002/diff/120001/components/update_client/configurator.h#newcode13 components/update_client/configurator.h:13: #include "base/version.h" On 2015/08/13 12:20:00, sdefresne wrote: > Why ...
5 years, 4 months ago (2015-08-13 13:16:02 UTC) #18
droger
https://codereview.chromium.org/1281913002/diff/120001/components/update_client/update_query_params.cc File components/update_client/update_query_params.cc (right): https://codereview.chromium.org/1281913002/diff/120001/components/update_client/update_query_params.cc#newcode136 components/update_client/update_query_params.cc:136: const char* UpdateQueryParams::GetChannelString(version_info::Channel channel) { On 2015/08/13 12:20:00, sdefresne ...
5 years, 4 months ago (2015-08-13 13:17:47 UTC) #19
Sorin Jianu
lgtm Thank you! I hope I did not miss anything due to overlapping comments. https://codereview.chromium.org/1281913002/diff/120001/components/update_client/update_query_params.cc ...
5 years, 4 months ago (2015-08-13 18:24:11 UTC) #20
droger
asargent, sdefresne: ping
5 years, 4 months ago (2015-08-17 08:20:05 UTC) #21
sdefresne
lgtm for the new dependency on //components/version_info
5 years, 4 months ago (2015-08-17 08:51:47 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1281913002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1281913002/180001
5 years, 4 months ago (2015-08-18 12:35:04 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/89388)
5 years, 4 months ago (2015-08-18 12:41:55 UTC) #26
droger
+cpu as OWNER of chrome/browser/update_client
5 years, 4 months ago (2015-08-18 13:08:29 UTC) #28
asargent_no_longer_on_chrome
Sorry! I somehow missed this CL while out on leave last week. Taking a look ...
5 years, 4 months ago (2015-08-18 17:21:26 UTC) #29
Sorin Jianu
As a general idea, cpu@ is onto different things, but asargent@ will grant the owner's ...
5 years, 4 months ago (2015-08-18 17:38:13 UTC) #30
asargent_no_longer_on_chrome
https://codereview.chromium.org/1281913002/diff/180001/components/component_updater/component_updater_url_constants.cc File components/component_updater/component_updater_url_constants.cc (right): https://codereview.chromium.org/1281913002/diff/180001/components/component_updater/component_updater_url_constants.cc#newcode18 components/component_updater/component_updater_url_constants.cc:18: Does it really make sense for these google-specific URLs ...
5 years, 4 months ago (2015-08-18 17:54:25 UTC) #31
blundell
https://codereview.chromium.org/1281913002/diff/180001/components/component_updater/component_updater_url_constants.cc File components/component_updater/component_updater_url_constants.cc (right): https://codereview.chromium.org/1281913002/diff/180001/components/component_updater/component_updater_url_constants.cc#newcode18 components/component_updater/component_updater_url_constants.cc:18: On 2015/08/18 17:54:25, Antony Sargent wrote: > Does it ...
5 years, 4 months ago (2015-08-18 18:02:38 UTC) #33
asargent_no_longer_on_chrome
On 2015/08/18 18:02:38, blundell wrote: > https://codereview.chromium.org/1281913002/diff/180001/components/component_updater/component_updater_url_constants.cc > File components/component_updater/component_updater_url_constants.cc (right): > > https://codereview.chromium.org/1281913002/diff/180001/components/component_updater/component_updater_url_constants.cc#newcode18 > ...
5 years, 4 months ago (2015-08-18 19:35:17 UTC) #34
droger
On 2015/08/18 19:35:17, Antony Sargent wrote: > On 2015/08/18 18:02:38, blundell wrote: > > > ...
5 years, 4 months ago (2015-08-19 07:43:23 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1281913002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1281913002/180001
5 years, 4 months ago (2015-08-19 07:43:44 UTC) #37
droger
Thanks you all for the reviews.
5 years, 4 months ago (2015-08-19 07:43:46 UTC) #38
commit-bot: I haz the power
Committed patchset #7 (id:180001)
5 years, 4 months ago (2015-08-19 07:48:46 UTC) #39
commit-bot: I haz the power
5 years, 4 months ago (2015-08-19 07:49:29 UTC) #40
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/f8a881411ab905efb1405d0f915252e5df7d2a23
Cr-Commit-Position: refs/heads/master@{#344173}

Powered by Google App Engine
This is Rietveld 408576698