Closed Bug 1010677 Opened 10 years ago Closed 5 years ago

Cleanups in purplexpcom

Categories

(Chat Core :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sawrubh, Unassigned)

Details

This bug is for the cleanup of the code in purplexpcom, which the patch in bug 1010263 touches.
The things I would like to cleanup are:
- When we call a constructor directly (new purpleFoo()) instead of creating the component through do_CreateInstance, the constructor can have parameters, so we can get rid of the Init methods in a few places.
- plenty of the contract ids exposed in purpleModule shouldn't be needed, as I think all creation of these components will happen from inside purplexpcom and can be done using 'new'. Off the top of my head, I think only purpleCoreService and purpleProtocol need to be creatable from outside purplexpcom.
I will not be able to take a look at this before December so unassigning myself.
Assignee: saurabhanandiit → nobody
This code is no longer being developed.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.