Closed Bug 1041394 Opened 11 years ago Closed 11 years ago

Refine NetworkUtils::ExecuteCommand to table driven

Categories

(Firefox OS Graveyard :: Wifi, defect)

x86_64
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.1 S1 (1aug)

People

(Reporter: hchang, Assigned: hchang)

References

Details

(Whiteboard: [p=2][ft:ril])

Attachments

(1 file)

Since NetworkUtils::ExecuteCommand [1] is going to handle more and more commands because of Bug 1038531, we need to make it cleaner and easier to expand. Introducing a table-drive matching is a good substitute. [1] http://hg.mozilla.org/mozilla-central/file/4bafe35cfb65/dom/system/gonk/NetworkUtils.cpp#l1092
Assignee: nobody → hchang
Whiteboard: [p=2][ft:ril]
Attached patch Bug1041394.patchSplinter Review
Blocks: 1038531
Comment on attachment 8459396 [details] [diff] [review] Bug1041394.patch Review of attachment 8459396 [details] [diff] [review]: ----------------------------------------------------------------- Looks good. Thank you.
Attachment #8459396 - Flags: review?(vchang) → review+
(In reply to Vincent Chang[:vchang] from comment #3) > Comment on attachment 8459396 [details] [diff] [review] > Bug1041394.patch > > Review of attachment 8459396 [details] [diff] [review]: > ----------------------------------------------------------------- > > Looks good. Thank you. Thanks! I also verified on devices. Going to flag 'checkin-needed'. Thanks.
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.1 S1 (1aug)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: