Closed
Bug 1187249
Opened 9 years ago
Closed 9 years ago
Move Bluetooth IPC helpers to ipc/hal
Categories
(Firefox OS Graveyard :: Bluetooth, defect)
Tracking
(firefox42 fixed)
RESOLVED
FIXED
FxOS-S4 (07Aug)
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: tzimmermann, Assigned: tzimmermann)
References
Details
Attachments
(4 files)
10.70 KB,
patch
|
shawnjohnjr
:
review+
|
Details | Diff | Splinter Review |
25.72 KB,
patch
|
shawnjohnjr
:
review+
|
Details | Diff | Splinter Review |
7.32 KB,
patch
|
shawnjohnjr
:
review+
|
Details | Diff | Splinter Review |
8.96 KB,
patch
|
shawnjohnjr
:
review+
|
Details | Diff | Splinter Review |
The files BluetoothDaemonHelpers.{cpp,h} contain helper functions for packing and unpacking IPC message. Many of these functions are unrelated to Bluetooth. They should be moved to ipc/hal.
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8639252 -
Flags: review?(shuang)
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8639253 -
Flags: review?(shuang)
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8639254 -
Flags: review?(shuang)
Assignee | ||
Comment 4•9 years ago
|
||
A small final cleanup, since I'm working on it anyway.
Attachment #8639256 -
Flags: review?(shuang)
Assignee | ||
Comment 5•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=03f1735958f8
Comment on attachment 8639252 [details] [diff] [review] [01] Bug 1187249: Move |DaemonSocketPDUHeader| to hal/ipc Review of attachment 8639252 [details] [diff] [review]: ----------------------------------------------------------------- I'm not sure I have permission to review, but it looks good to me.
Attachment #8639252 -
Flags: review?(shuang) → review+
(In reply to Shawn Huang [:shawnjohnjr] from comment #6) > Comment on attachment 8639252 [details] [diff] [review] > [01] Bug 1187249: Move |DaemonSocketPDUHeader| to hal/ipc > > Review of attachment 8639252 [details] [diff] [review]: > ----------------------------------------------------------------- > > I'm not sure I have permission to review, but it looks good to me. I mean that code under ipc folder.
Assignee | ||
Comment 8•9 years ago
|
||
Should be OK. It's the code that was in Bluetooth with some renames and small adjustments. And there is a lack of potential reviewers for IPC anyway.
Comment on attachment 8639253 [details] [diff] [review] [02] Bug 1183249: Move PDU helper functions to ipc/hal Review of attachment 8639253 [details] [diff] [review]: ----------------------------------------------------------------- ::: ipc/hal/DaemonSocketPDUHelpers.h @@ +41,5 @@ > +// byte arrays. Gecko often uses more complex data types, such as > +// enumators or stuctures. Conversion functions convert between > +// primitive data and internal Gecko's data types during a PDU's > +// packing and unpacking. > +// Why not use multiline comment style?
Attachment #8639253 -
Flags: review?(shuang) → review+
Attachment #8639254 -
Flags: review?(shuang) → review+
Attachment #8639256 -
Flags: review?(shuang) → review+
Assignee | ||
Comment 10•9 years ago
|
||
>
> Why not use multiline comment style?
There's no specific reason. All the other 'block headlines' already use C++ comments, so I just continued this style for consistency.
Comment 11•9 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/6275657f07e4 https://hg.mozilla.org/integration/b2g-inbound/rev/f42f6d744917 https://hg.mozilla.org/integration/b2g-inbound/rev/845d0438fece
Assignee | ||
Comment 12•9 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/f82cbe9aaa13
Assignee | ||
Comment 13•9 years ago
|
||
Thanks Shawn! https://treeherder.mozilla.org/#/jobs?repo=b2g-inbound&revision=845d0438fece
Comment 14•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6275657f07e4 https://hg.mozilla.org/mozilla-central/rev/f42f6d744917 https://hg.mozilla.org/mozilla-central/rev/845d0438fece
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S4 (07Aug)
You need to log in
before you can comment on or make changes to this bug.
Description
•