Closed
Bug 1060245
Opened 10 years ago
Closed 10 years ago
[cleanup][bluetooth2] Cleanup headers of manager, adapter, and device
Categories
(Firefox OS Graveyard :: Bluetooth, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.1 S4 (12sep)
People
(Reporter: ben.tian, Assigned: ben.tian)
References
Details
(Whiteboard: [webbt-api])
Attachments
(3 files, 2 obsolete files)
7.89 KB,
patch
|
echou
:
review+
|
Details | Diff | Splinter Review |
8.81 KB,
patch
|
Details | Diff | Splinter Review | |
21.18 KB,
patch
|
Details | Diff | Splinter Review |
Add explanation for functions and variables. Also revise with minor changes.
Assignee | ||
Updated•10 years ago
|
Whiteboard: [webbt-api]
Assignee | ||
Comment 1•10 years ago
|
||
Changes: - add MOZ_FINAL to FetchUuidsTask - override operator== of BluetoothDevice to compare devices in adapter (see patch 2/3) - cleanup headers
Assignee: nobody → btian
Attachment #8481126 -
Flags: review?(echou)
Assignee | ||
Comment 2•10 years ago
|
||
Changes: - add MOZ_FINAL to StartDiscoveryTask - remove BluetoothDeviceComparator since operator== of BluetoothDevice is overridden. - cleanup header
Attachment #8481127 -
Flags: review?(echou)
Assignee | ||
Comment 3•10 years ago
|
||
Changes: - remove |BluetoothAdapter::EnableDisable| - revise |BluetoothAdapter::HandleAdapterStateChanged| to |BluetoothAdapter::SetAdapterState|.
Attachment #8481131 -
Flags: review?(echou)
Comment 4•10 years ago
|
||
Comment on attachment 8481126 [details] [diff] [review] Patch 1/3 (v1): Cleanup headers of manager and device Review of attachment 8481126 [details] [diff] [review]: ----------------------------------------------------------------- r=me with nit addressed. Thanks for cleaning up! ::: dom/bluetooth2/BluetoothManager.h @@ +35,3 @@ > > + /**************************************************************************** > + * Methods Methods such as Notify(), AppendAdapter(), WrapObject() are not listed under 'Methods' category, I guess it's because they would not be used by Javascript. If so, can we describe more clear like 'Methods (Web API impl)'?
Attachment #8481126 -
Flags: review?(echou) → review+
Assignee | ||
Comment 5•10 years ago
|
||
Revise based on reviewer's comment.
Attachment #8481126 -
Attachment is obsolete: true
Updated•10 years ago
|
Attachment #8481127 -
Flags: review?(echou) → review+
Updated•10 years ago
|
Attachment #8481131 -
Flags: review?(echou) → review+
Assignee | ||
Comment 6•10 years ago
|
||
Revise comment based on comment 4.
Attachment #8481127 -
Attachment is obsolete: true
Assignee | ||
Updated•10 years ago
|
Attachment #8481131 -
Attachment description: Patch 3/3 (v1): Remove BluetoothAdapter::EnableDisable() → [final] Patch 3/3: Remove BluetoothAdapter::EnableDisable(), r=echou
Assignee | ||
Comment 7•10 years ago
|
||
No try server verification since the modified folder isn't built by default. -- https://hg.mozilla.org/integration/b2g-inbound/rev/5201b512416d https://hg.mozilla.org/integration/b2g-inbound/rev/84abb354c07c https://hg.mozilla.org/integration/b2g-inbound/rev/5437c4229265
Comment 8•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5201b512416d https://hg.mozilla.org/mozilla-central/rev/84abb354c07c https://hg.mozilla.org/mozilla-central/rev/5437c4229265
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.1 S4 (12sep)
You need to log in
before you can comment on or make changes to this bug.
Description
•