Closed Bug 482171 Opened 16 years ago Closed 15 years ago

Replace nsIPref with nsIPrefBranch in embedding tree

Categories

(Core Graveyard :: Embedding: GRE Core, defect)

All
Neutrino
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9.3a3

People

(Reporter: m_kato, Assigned: m_kato)

References

()

Details

Attachments

(1 file, 2 obsolete files)

embedding tree uses nsIPref interface. We should replace it with nsIPrefBranch and nsIPrefService. /embedding/qa/testembed/StdAfx.h (View Hg log or Hg annotations) * line 89 -- #include "nsIPref.h" /embedding/browser/photon/src/EmbedPrivate.h (View Hg log or Hg annotations) * line 57 -- #include <nsIPref.h> /embedding/browser/photon/src/nsPrintSettingsImpl.cpp (View Hg log or Hg annotations) * line 43 -- #include "nsIPref.h" /embedding/browser/gtk/src/gtkmozembed_common.cpp (View Hg log or Hg annotations) * line 56 -- #include "nsIPref.h"
Attached patch patch v1 (obsolete) — Splinter Review
Attachment #366239 - Flags: review?(benjamin)
Attached patch patch v2 (obsolete) — Splinter Review
we cannot test QNX embeded code because we don't have QNX and I think QNX code is broken on m-c tree.
Attachment #366239 - Attachment is obsolete: true
Attachment #366239 - Flags: review?(benjamin)
Attachment #390722 - Flags: review?(benjamin)
Comment on attachment 390722 [details] [diff] [review] patch v2 I think we can remove embedding/qa completely, it hasn't been built in ages. I don't want to review photon code... it doesn't block removing nsIPref though!
Attachment #390722 - Flags: review?(benjamin) → review-
Since Benjamin removed embedding/qa, I changed platform to QNX neutrino.
OS: All → Neutrino
Attached patch patch v3Splinter Review
no one maintains photon (QNX) code from Gecko 1.8.x release. I think that this should be removed...
Attachment #390722 - Attachment is obsolete: true
(In reply to comment #5) > Created an attachment (id=413507) [details] > patch v3 Missed to request review? Ftr, http://mxr.mozilla.org/mozilla-central/search?string=nsIPref%5B%5EBLSe%5D&regexp=1&case=1&find=%2Fembedding%2Fbrowser%2Fphoton%2Fsrc%2F Found 17 matching lines in 4 files http://mxr.mozilla.org/mozilla-central/search?string=photon Found 116 matching lines in 41 files
Status: NEW → ASSIGNED
forgot this!(In reply to comment #6) > (In reply to comment #5) > > Created an attachment (id=413507) [details] [details] > > patch v3 > > Missed to request review? I forgot this!
Attachment #413507 - Flags: review?(benjamin)
Attachment #413507 - Flags: review?(benjamin) → review+
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Flags: in-testsuite-
Target Milestone: --- → mozilla1.9.3a3
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: