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)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ben.tian, Assigned: ben.tian)

References

Details

(Whiteboard: [fixed-in-birch])

Attachments

(2 files, 1 obsolete file)

- Unify obex data sending function for simplicity - Correct typos in comment
Blocks: 891210
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)
Remove redundant newline.
Attachment #772523 - Attachment is obsolete: true
Attachment #772523 - Flags: review?(echou)
Attachment #772526 - Flags: review?(echou)
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+
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.

Attachment

General

Created:
Updated:
Size: