Closed
Bug 711671
Opened 13 years ago
Closed 12 years ago
Rename nsTelephonyWorker / nsITelephone to nsIRadioInterfaceLayer
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla12
People
(Reporter: philikon, Assigned: philikon)
References
Details
Attachments
(1 file, 2 obsolete files)
41.94 KB,
patch
|
bent.mozilla
:
review+
|
Details | Diff | Splinter Review |
nsITelephone / nsTelephonyWorker is somewhat of a misnomer. First, it's not a worker itself, it just talks to a worker and exposes it (via nsIRadioWorker). Functionality-wise, it does more than just calls (SMS, data calls, network status -- we're in the process of adding all these now). API-wise it doesn't really provide much abstraction over the RIL, it's merely glue between the worker and the DOM. So let's call it what it is: the RadioInterfaceLayer.
Assignee | ||
Comment 1•13 years ago
|
||
Oh, and all the RIL-stuff (nsIRadioInterfaceLayer, the RadioInterfaceLayer.js component, and ril_worker.js) should also move to from dom/telephony to dom/system/b2g IMHO (see above argument about not just being about telephony anymore).
Here's a stab at making this better. It's now SystemWorkerManager, since it will manage workers that are owned by system components. This also uses the GetInterface stuff that mrbkap and I have discussed in the past. We can bikeshed more on the name later, but this is the interface we want I think. Comments and disagreements welcome (always).
Assignee | ||
Comment 3•13 years ago
|
||
Comment on attachment 585122 [details] [diff] [review] Patch, v1 First off, having skimmed it only briefly, I agree with this patch! But this isn't quite what I had in mind for this bug. I thought the bug summary was kinda clear, but I guess it wasn't. (Way to hijack my bug, bent! :p) I'm happy to consider this patch part 1 and do the nsITelephone -> nsIRadioInterfaceLayer renaming in part 2 (which I'm happy to write.)
Comment on attachment 585122 [details] [diff] [review] Patch, v1 Oops. It was late and I didn't really read the bug, was just looking for 'rename' in the summary. You're right, this isn't the bug I want.
Attachment #585122 -
Flags: review?(mrbkap)
Updated•13 years ago
|
Assignee: bent.mozilla → philipp
Moved the patch to bug 714459.
Assignee | ||
Comment 6•13 years ago
|
||
<3
Assignee | ||
Comment 7•13 years ago
|
||
Comment on attachment 585122 [details] [diff] [review] Patch, v1 This stuff landed in the other bug.
Attachment #585122 -
Attachment is obsolete: true
Assignee | ||
Comment 8•12 years ago
|
||
Completely mechanical rename of the interfaces and relocation of RIL-specific stuff to dom/system/b2g, as discussed in previous comments.
Attachment #589712 -
Flags: review?(bent.mozilla)
Assignee | ||
Comment 9•12 years ago
|
||
Forgot to qrefresh... This version of the patch actually compiles ;)
Attachment #589712 -
Attachment is obsolete: true
Attachment #589712 -
Flags: review?(bent.mozilla)
Attachment #589758 -
Flags: review?(bent.mozilla)
Updated•12 years ago
|
Attachment #589758 -
Flags: review?(bent.mozilla) → review+
Assignee | ||
Comment 10•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/3bb96b5ee587
Comment 11•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3bb96b5ee587
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
You need to log in
before you can comment on or make changes to this bug.
Description
•