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

Issue 1570873003: Adds a mock for component_updater::ComponentUpdateService (Closed)

Created:
4 years, 11 months ago by Rob Percival
Modified:
4 years, 11 months ago
CC:
chromium-reviews, waffles
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds a mock for component_updater::ComponentUpdateService This can be used to test that a component registers itself properly. Its first intended use is with some upcoming tests for a new Certificate Transparency component, modelled after CRLSetFetcher, which registers itself only after attempting to read version information from disk. Committed: https://crrev.com/3de53402bbf3a7247141205d65603d79695a8811 Cr-Commit-Position: refs/heads/master@{#368894}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Moves an #include from component_updater_service.h to mock #

Patch Set 3 : Adds dependency on //base #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -0 lines) Patch
M components/component_updater.gypi View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M components/component_updater/BUILD.gn View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
A components/component_updater/mock_component_updater_service.h View 1 1 chunk +48 lines, -0 lines 0 comments Download
A components/component_updater/mock_component_updater_service.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M components/components_tests.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 30 (15 generated)
Rob Percival
4 years, 11 months ago (2016-01-08 19:20:50 UTC) #2
cpu_(ooo_6.6-7.5)
changing reviewers.
4 years, 11 months ago (2016-01-08 23:00:09 UTC) #5
Sorin Jianu
lgtm Nice, thank you! https://codereview.chromium.org/1570873003/diff/1/components/component_updater/component_updater_service.h File components/component_updater/component_updater_service.h (right): https://codereview.chromium.org/1570873003/diff/1/components/component_updater/component_updater_service.h#newcode16 components/component_updater/component_updater_service.h:16: #include "base/sequenced_task_runner.h" Is the complete ...
4 years, 11 months ago (2016-01-11 17:54:11 UTC) #6
Rob Percival
https://codereview.chromium.org/1570873003/diff/1/components/component_updater/component_updater_service.h File components/component_updater/component_updater_service.h (right): https://codereview.chromium.org/1570873003/diff/1/components/component_updater/component_updater_service.h#newcode16 components/component_updater/component_updater_service.h:16: #include "base/sequenced_task_runner.h" On 2016/01/11 17:54:11, Sorin Jianu wrote: > ...
4 years, 11 months ago (2016-01-11 19:14:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1570873003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1570873003/20001
4 years, 11 months ago (2016-01-11 19:17:20 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/50804)
4 years, 11 months ago (2016-01-11 19:22:26 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1570873003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1570873003/40001
4 years, 11 months ago (2016-01-11 19:33:39 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-11 20:51:57 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1570873003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1570873003/40001
4 years, 11 months ago (2016-01-11 20:56:41 UTC) #19
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/134243)
4 years, 11 months ago (2016-01-11 21:09:52 UTC) #21
Rob Percival
4 years, 11 months ago (2016-01-11 21:17:47 UTC) #23
jochen (gone - plz use gerrit)
lgtm
4 years, 11 months ago (2016-01-12 15:50:21 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1570873003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1570873003/40001
4 years, 11 months ago (2016-01-12 16:24:03 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 11 months ago (2016-01-12 16:29:11 UTC) #28
commit-bot: I haz the power
4 years, 11 months ago (2016-01-12 16:31:03 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3de53402bbf3a7247141205d65603d79695a8811
Cr-Commit-Position: refs/heads/master@{#368894}

Powered by Google App Engine
This is Rietveld 408576698