Closed
Bug 885804
Opened 11 years ago
Closed 11 years ago
Rename (De)allocPFoo functions to (De)allocPFoo(Parent|Child)
Categories
(Core :: IPC, defect)
Core
IPC
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: dzbarsky, Assigned: dzbarsky)
References
Details
Attachments
(7 files)
8.65 KB,
patch
|
justin.lebar+bug
:
review+
|
Details | Diff | Splinter Review |
146.25 KB,
patch
|
justin.lebar+bug
:
review+
|
Details | Diff | Splinter Review |
22.76 KB,
patch
|
nical
:
review+
|
Details | Diff | Splinter Review |
22.87 KB,
patch
|
jduell.mcbugs
:
review+
|
Details | Diff | Splinter Review |
11.67 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
3.19 KB,
patch
|
justin.lebar+bug
:
review+
|
Details | Diff | Splinter Review |
43.22 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Comment 1•11 years ago
|
||
Why?
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Benjamin Smedberg [:bsmedberg] from comment #1) > Why? I want to make PContentChild alloc both a PBrowserChild and a PBrowserParent.
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #766060 -
Flags: review?(bent.mozilla)
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #766065 -
Flags: review?(nical.bugzilla)
Assignee | ||
Comment 6•11 years ago
|
||
Attachment #766073 -
Flags: review?(benjamin)
Assignee | ||
Comment 7•11 years ago
|
||
Attachment #766074 -
Flags: review?(benjamin)
Assignee | ||
Comment 8•11 years ago
|
||
Attachment #766077 -
Flags: review?(bent.mozilla)
Updated•11 years ago
|
Attachment #766065 -
Flags: review?(nical.bugzilla) → review+
Assignee | ||
Comment 9•11 years ago
|
||
Attachment #766506 -
Flags: review?(benjamin)
Comment 10•11 years ago
|
||
Comment on attachment 766073 [details] [diff] [review] Part 4: netwerk chances I'm not the right reviewer for this, please ask a necko peer.
Attachment #766073 -
Flags: review?(benjamin)
Updated•11 years ago
|
Attachment #766074 -
Flags: review?(benjamin)
Updated•11 years ago
|
Attachment #766506 -
Flags: review?(benjamin) → review+
Assignee | ||
Updated•11 years ago
|
Attachment #766074 -
Flags: review?(roc)
Assignee | ||
Updated•11 years ago
|
Attachment #766073 -
Flags: review?(jduell.mcbugs)
Attachment #766074 -
Flags: review?(roc) → review+
Updated•11 years ago
|
Attachment #766073 -
Flags: review?(jduell.mcbugs) → review+
Assignee | ||
Comment 11•11 years ago
|
||
Comment on attachment 765988 [details] [diff] [review] Part 1: Change the IPDL codegen Review of attachment 765988 [details] [diff] [review]: ----------------------------------------------------------------- Whoever gets to it first...
Attachment #765988 -
Flags: review?(justin.lebar+bug)
Assignee | ||
Updated•11 years ago
|
Attachment #766060 -
Flags: review?(justin.lebar+bug)
Assignee | ||
Updated•11 years ago
|
Attachment #766077 -
Flags: review?(justin.lebar+bug)
Updated•11 years ago
|
Attachment #765988 -
Flags: review?(justin.lebar+bug)
Attachment #765988 -
Flags: review?(bent.mozilla)
Attachment #765988 -
Flags: review+
Updated•11 years ago
|
Attachment #766060 -
Flags: review?(justin.lebar+bug)
Attachment #766060 -
Flags: review?(bent.mozilla)
Attachment #766060 -
Flags: review+
Comment 12•11 years ago
|
||
Comment on attachment 766077 [details] [diff] [review] Part 6: Blob changes >diff --git a/dom/ipc/Blob.h b/dom/ipc/Blob.h >--- a/dom/ipc/Blob.h >+++ b/dom/ipc/Blob.h >@@ -78,16 +78,22 @@ struct BlobTraits<Parent> > > static void > SetBlobConstructorParams(OtherSideConstructorParamsType& aParams, > const ChildBlobConstructorParams& aBlobParams) > { > aParams = aBlobParams; > } > >+ virtual StreamType* >+ AllocPBlobStreamParent() MOZ_OVERRIDE; >+ >+ virtual bool >+ DeallocPBlobStreamParent(StreamType* aActor) MOZ_OVERRIDE; >+ > protected: > BaseType(); > virtual ~BaseType(); > > class OpenStreamRunnable; > friend class OpenStreamRunnable; > > void >@@ -127,16 +133,22 @@ struct BlobTraits<Child> > static void > SetBlobConstructorParams(OtherSideConstructorParamsType& aParams, > const ChildBlobConstructorParams& aBlobParams) > { > aParams.blobParams() = aBlobParams; > aParams.optionalInputStreamParams() = mozilla::void_t(); > } > >+ virtual StreamType* >+ AllocPBlobStreamChild() MOZ_OVERRIDE; >+ >+ virtual bool >+ DeallocPBlobStreamChild(StreamType* aActor) MOZ_OVERRIDE; >+ > protected: > BaseType() > { } > > virtual ~BaseType() > { } > }; > }; This change makes the alloc/dealloc methods public, while they used to be private. Should they be protected on BlobTraits instead?
Attachment #766077 -
Flags: review?(justin.lebar+bug)
Attachment #766077 -
Flags: review?(bent.mozilla)
Attachment #766077 -
Flags: review+
Assignee | ||
Comment 13•11 years ago
|
||
(In reply to Justin Lebar [:jlebar] from comment #12) > Comment on attachment 766077 [details] [diff] [review] > Part 6: Blob changes > > This change makes the alloc/dealloc methods public, while they used to be > private. > > Should they be protected on BlobTraits instead? Yes, they should. Thank you!
Assignee | ||
Comment 14•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/8e5031425fa8 https://hg.mozilla.org/integration/mozilla-inbound/rev/2d1cdcb9c3aa https://hg.mozilla.org/integration/mozilla-inbound/rev/4904744398e7 https://hg.mozilla.org/integration/mozilla-inbound/rev/c830132a6a73 https://hg.mozilla.org/integration/mozilla-inbound/rev/9a1eb825afe3 https://hg.mozilla.org/integration/mozilla-inbound/rev/1c60785ea720 https://hg.mozilla.org/integration/mozilla-inbound/rev/bb4f5079e009
Comment 15•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/8e5031425fa8 https://hg.mozilla.org/mozilla-central/rev/2d1cdcb9c3aa https://hg.mozilla.org/mozilla-central/rev/4904744398e7 https://hg.mozilla.org/mozilla-central/rev/c830132a6a73 https://hg.mozilla.org/mozilla-central/rev/9a1eb825afe3 https://hg.mozilla.org/mozilla-central/rev/1c60785ea720 https://hg.mozilla.org/mozilla-central/rev/bb4f5079e009
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in
before you can comment on or make changes to this bug.
Description
•