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

Issue 996013003: privetd: Expose dbus API (Closed)

Created:
5 years, 9 months ago by dtapuska
Modified:
5 years, 8 months ago
Reviewers:
wiley, wtc, hashimoto, Ben Chan
CC:
chromium-reviews, stevenjb+watch_chromium.org, hashimoto+watch_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

privetd: Expose dbus API privetd is a chromeos service that handles device bootstrapping and setup. Expose an API to provide events from the privetd dbus. BUG=467018 Committed: https://crrev.com/ab7987e2b286aead19236e89718f8cd97b242ec1 Cr-Commit-Position: refs/heads/master@{#321621}

Patch Set 1 #

Total comments: 44

Patch Set 2 : Replace Property<> usage with a class deriving from PropertyBase and add unit tests #

Total comments: 26

Patch Set 3 : Remove Variant typed class and replace with a concrete class #

Total comments: 6

Patch Set 4 : Remove Writing of Property #

Total comments: 10

Patch Set 5 : Fix nits #

Patch Set 6 : Fix mysterious build failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+594 lines, -0 lines) Patch
M chromeos/chromeos.gyp View 1 3 chunks +5 lines, -0 lines 0 comments Download
M chromeos/dbus/dbus_client_bundle.h View 4 chunks +7 lines, -0 lines 0 comments Download
M chromeos/dbus/dbus_client_bundle.cc View 1 4 chunks +8 lines, -0 lines 0 comments Download
M chromeos/dbus/dbus_thread_manager.h View 1 3 chunks +4 lines, -0 lines 0 comments Download
M chromeos/dbus/dbus_thread_manager.cc View 1 4 chunks +12 lines, -0 lines 0 comments Download
A chromeos/dbus/fake_privet_daemon_manager_client.h View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
A chromeos/dbus/fake_privet_daemon_manager_client.cc View 1 2 1 chunk +38 lines, -0 lines 0 comments Download
A chromeos/dbus/privet_daemon_manager_client.h View 1 2 3 4 5 1 chunk +154 lines, -0 lines 0 comments Download
A chromeos/dbus/privet_daemon_manager_client.cc View 1 2 3 4 5 1 chunk +277 lines, -0 lines 0 comments Download
A chromeos/dbus/privet_daemon_manager_client_unittest.cc View 1 2 3 4 1 chunk +54 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (9 generated)
dtapuska
5 years, 9 months ago (2015-03-13 15:55:47 UTC) #2
dtapuska
ping.
5 years, 9 months ago (2015-03-17 13:20:13 UTC) #3
wtc
Review comments on patch set 1: This is an unsolicited drive-by review. Most of my ...
5 years, 9 months ago (2015-03-17 17:31:05 UTC) #5
satorux1
Took a quick look, but handing over the review for chromeos/dbsu to hashimoto@ who is ...
5 years, 9 months ago (2015-03-17 17:39:11 UTC) #7
hashimoto
https://codereview.chromium.org/996013003/diff/1/chromeos/dbus/fake_privet_daemon_manager_client.cc File chromeos/dbus/fake_privet_daemon_manager_client.cc (right): https://codereview.chromium.org/996013003/diff/1/chromeos/dbus/fake_privet_daemon_manager_client.cc#newcode12 chromeos/dbus/fake_privet_daemon_manager_client.cc:12: void VoidDBBusMethodCallbackThunk(const VoidDBusMethodCallback& callback) { nit: s/DBBus/DBus/ https://codereview.chromium.org/996013003/diff/1/chromeos/dbus/fake_privet_daemon_manager_client.cc#newcode36 chromeos/dbus/fake_privet_daemon_manager_client.cc:36: ...
5 years, 9 months ago (2015-03-18 05:52:50 UTC) #8
dtapuska
https://codereview.chromium.org/996013003/diff/1/chromeos/chromeos.gyp File chromeos/chromeos.gyp (right): https://codereview.chromium.org/996013003/diff/1/chromeos/chromeos.gyp#newcode182 chromeos/chromeos.gyp:182: 'dbus/fake_privet_daemon_manager_client.h', On 2015/03/17 17:31:05, wtc wrote: > > There ...
5 years, 9 months ago (2015-03-18 14:28:54 UTC) #9
hashimoto
https://codereview.chromium.org/996013003/diff/1/chromeos/dbus/privet_daemon_manager_client.h File chromeos/dbus/privet_daemon_manager_client.h (right): https://codereview.chromium.org/996013003/diff/1/chromeos/dbus/privet_daemon_manager_client.h#newcode34 chromeos/dbus/privet_daemon_manager_client.h:34: std::vector<uint8_t> blob; On 2015/03/18 14:28:54, Dave Tapuska wrote: > ...
5 years, 9 months ago (2015-03-19 08:00:23 UTC) #10
dtapuska
https://codereview.chromium.org/996013003/diff/1/chromeos/dbus/privet_daemon_manager_client.h File chromeos/dbus/privet_daemon_manager_client.h (right): https://codereview.chromium.org/996013003/diff/1/chromeos/dbus/privet_daemon_manager_client.h#newcode34 chromeos/dbus/privet_daemon_manager_client.h:34: std::vector<uint8_t> blob; On 2015/03/19 08:00:22, hashimoto wrote: > On ...
5 years, 9 months ago (2015-03-19 18:04:25 UTC) #11
hashimoto
https://codereview.chromium.org/996013003/diff/20001/chromeos/dbus/privet_daemon_manager_client.h File chromeos/dbus/privet_daemon_manager_client.h (right): https://codereview.chromium.org/996013003/diff/20001/chromeos/dbus/privet_daemon_manager_client.h#newcode59 chromeos/dbus/privet_daemon_manager_client.h:59: PairingInfoVariantMap set_value_; On 2015/03/19 18:04:24, Dave Tapuska wrote: > ...
5 years, 9 months ago (2015-03-20 06:41:48 UTC) #12
dtapuska
https://codereview.chromium.org/996013003/diff/20001/chromeos/dbus/privet_daemon_manager_client.h File chromeos/dbus/privet_daemon_manager_client.h (right): https://codereview.chromium.org/996013003/diff/20001/chromeos/dbus/privet_daemon_manager_client.h#newcode59 chromeos/dbus/privet_daemon_manager_client.h:59: PairingInfoVariantMap set_value_; On 2015/03/20 06:41:48, hashimoto wrote: > On ...
5 years, 9 months ago (2015-03-20 13:47:56 UTC) #13
hashimoto
lgtm with nits. https://codereview.chromium.org/996013003/diff/60001/chromeos/dbus/privet_daemon_manager_client.cc File chromeos/dbus/privet_daemon_manager_client.cc (right): https://codereview.chromium.org/996013003/diff/60001/chromeos/dbus/privet_daemon_manager_client.cc#newcode192 chromeos/dbus/privet_daemon_manager_client.cc:192: dbus::MessageReader variant_reader(NULL); nit: Please prefer nullptr ...
5 years, 9 months ago (2015-03-20 15:22:58 UTC) #14
dtapuska
https://codereview.chromium.org/996013003/diff/60001/chromeos/dbus/privet_daemon_manager_client.cc File chromeos/dbus/privet_daemon_manager_client.cc (right): https://codereview.chromium.org/996013003/diff/60001/chromeos/dbus/privet_daemon_manager_client.cc#newcode192 chromeos/dbus/privet_daemon_manager_client.cc:192: dbus::MessageReader variant_reader(NULL); On 2015/03/20 15:22:57, hashimoto wrote: > nit: ...
5 years, 9 months ago (2015-03-20 15:38:34 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/996013003/80001
5 years, 9 months ago (2015-03-20 16:53:08 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/19877)
5 years, 9 months ago (2015-03-20 17:07:00 UTC) #20
dtapuska
On 2015/03/20 17:07:00, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 9 months ago (2015-03-20 19:17:45 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/996013003/100001
5 years, 9 months ago (2015-03-20 19:18:36 UTC) #24
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 9 months ago (2015-03-20 20:21:21 UTC) #25
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/ab7987e2b286aead19236e89718f8cd97b242ec1 Cr-Commit-Position: refs/heads/master@{#321621}
5 years, 9 months ago (2015-03-20 20:22:11 UTC) #26
hashimoto
5 years, 9 months ago (2015-03-23 05:41:12 UTC) #27
Message was sent while issue was closed.
On 2015/03/20 19:17:45, Dave Tapuska wrote:
> On 2015/03/20 17:07:00, I haz the power (commit-bot) wrote:
> > Try jobs failed on following builders:
> >   linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED,
> >
>
http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
> 
> although I agree with the build failure; I'm not sure why it isn't generated
in
> my env. I have build chromeos release & debug with gn and gyp and don't see
it.
We have a special style checker plugin for clang.
http://www.chromium.org/developers/coding-style/chromium-style-checker-errors

Powered by Google App Engine
This is Rietveld 408576698