Closed
Bug 910942
Opened 11 years ago
Closed 11 years ago
Don't include unnecessary things in netwerk/.../Dashboard
Categories
(Core :: Networking, defect)
Core
Networking
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: valentin, Assigned: catalinn.iordache)
References
Details
Attachments
(1 file, 2 obsolete files)
4.44 KB,
patch
|
Details | Diff | Splinter Review |
Many of the headers included in Dashboard related files are not needed. Let's forward declare everything we can. Related: Header dependency graph - https://bug901132.bugzilla.mozilla.org/attachment.cgi?id=785612
Assignee | ||
Comment 1•11 years ago
|
||
This is what I think we can forward declaration. I'm trying to find more. Hope this is a good start and I'm not doing anything wrong
Attachment #799525 -
Flags: feedback?(valentin.gosu)
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #799525 -
Attachment is obsolete: true
Attachment #799525 -
Flags: feedback?(valentin.gosu)
Attachment #799809 -
Flags: review?(valentin.gosu)
Reporter | ||
Comment 3•11 years ago
|
||
Comment on attachment 799809 [details] [diff] [review] forwardDeclarationV2.patch Review of attachment 799809 [details] [diff] [review]: ----------------------------------------------------------------- Looks good to me. Adding Patrick as a necko peer needs to sign off on this.
Attachment #799809 -
Flags: review?(valentin.gosu)
Attachment #799809 -
Flags: review?(mcmanus)
Attachment #799809 -
Flags: review+
Comment 4•11 years ago
|
||
Comment on attachment 799809 [details] [diff] [review] forwardDeclarationV2.patch Review of attachment 799809 [details] [diff] [review]: ----------------------------------------------------------------- nice - thank you. ::: netwerk/base/src/Dashboard.cpp @@ +8,5 @@ > #include "nsCxPusher.h" > +#include "nsIDNSService.h" > +#include "nsSocketTransport2.h" > +#include "nsIThread.h" > +#include "nsHttp.h" please keep these alphabetized - assuming things still compile :) ::: netwerk/base/src/Dashboard.h @@ +10,5 @@ > #include "nsITimer.h" > #include "nsIDNSListener.h" > +#include "nsIServiceManager.h" > +#include "mozilla/net/DashboardTypes.h" > +#include "mozilla/Mutex.h" again, order them if you can
Attachment #799809 -
Flags: review?(mcmanus) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Made changes which were specified in review by Patrick. Ready for checkin
Attachment #799809 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 6•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/238ff32d423b
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/238ff32d423b
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•