Closed
Bug 891202
Opened 12 years ago
Closed 12 years ago
[Bluetooth][OPP cleanup] Unify obex data sending function
Categories
(Firefox OS Graveyard :: Bluetooth, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ben.tian, Assigned: ben.tian)
References
Details
(Whiteboard: [fixed-in-birch])
Attachments
(2 files, 1 obsolete file)
15.00 KB,
patch
|
echou
:
review+
|
Details | Diff | Splinter Review |
14.93 KB,
patch
|
Details | Diff | Splinter Review |
- Unify obex data sending function for simplicity
- Correct typos in comment
Assignee | ||
Comment 1•12 years ago
|
||
Changes:
- Unify obex data sending function for simplicity
- Replace mLastCommand with mIsServer to decide server/client data handler
- Correct typos in comment
Attachment #772523 -
Flags: review?(echou)
Assignee | ||
Comment 2•12 years ago
|
||
Remove redundant newline.
Attachment #772523 -
Attachment is obsolete: true
Attachment #772523 -
Flags: review?(echou)
Attachment #772526 -
Flags: review?(echou)
Comment 3•12 years ago
|
||
Comment on attachment 772526 [details] [diff] [review]
Patch 1: v2: Unify obex data sending function
Review of attachment 772526 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with nits addressed. Thanks for cleaning up!
::: dom/bluetooth/BluetoothOppManager.cpp
@@ +971,2 @@
> }
> + return;
Extra return
@@ +1163,5 @@
> +}
> +
> +void
> +BluetoothOppManager::SendObexData(uint8_t* aData,
> + uint8_t aOpcode,
Less than 80 characters, no need to wrap.
::: dom/bluetooth/BluetoothOppManager.h
@@ +45,5 @@
> void ClientDataHandler(mozilla::ipc::UnixSocketRawData* aMessage);
> void ServerDataHandler(mozilla::ipc::UnixSocketRawData* aMessage);
>
> /*
> + * If a application wants to send a file, first, it needs to
super-nit: If 'an' application
Attachment #772526 -
Flags: review?(echou) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Fix nits.
Assignee | ||
Comment 5•12 years ago
|
||
Assignee | ||
Comment 6•12 years ago
|
||
try again to cover all build:
https://tbpl.mozilla.org/?tree=Try&rev=c40eaa95bebd
Comment 7•12 years ago
|
||
Whiteboard: [fixed-in-birch]
Comment 8•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•