forked from mirrors/gecko-dev
		
	 952f6a915a
			
		
	
	
		952f6a915a
		
	
	
	
	
		
			
			This patch was reviewed in parts, however the intermediate states would not build: Bug 1443954 - Part 3A: Strip pointers from the argument to WriteParam and WriteIPDLParam before selecting the ParamTraits impl, r=froydnj Bug 1443954 - Part 3B: Move nsIAlertNotification serialization to the refcounted system, r=bz Bug 1443954 - Part 3C: Move geolocation serialization to the refcounted system, r=bz Bug 1443954 - Part 3D: Move nsIInputStream serialization to the refcounted system, r=baku Bug 1443954 - Part 3E: Move BlobImpl serialization to the refcounted system, r=baku Bug 1443954 - Part 3F: Correctly implement ParamTraits for actors after the ParamTraits changes, r=froydnj
		
			
				
	
	
		
			33 lines
		
	
	
	
		
			831 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
	
		
			831 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| /* This Source Code Form is subject to the terms of the Mozilla Public
 | |
|  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 | |
|  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 | |
| 
 | |
| include protocol PBackground;
 | |
| include protocol PFileDescriptorSet;
 | |
| include protocol PChildToParentStream;
 | |
| include protocol PParentToChildStream;
 | |
| 
 | |
| using struct nsID from "nsID.h";
 | |
| using refcounted class nsIInputStream from "mozilla/ipc/IPCStreamUtils.h";
 | |
| 
 | |
| namespace mozilla {
 | |
| namespace dom {
 | |
| namespace cache {
 | |
| 
 | |
| protocol PCacheStreamControl
 | |
| {
 | |
|   manager PBackground;
 | |
| 
 | |
| parent:
 | |
|   async OpenStream(nsID aStreamId) returns(nsIInputStream aStream);
 | |
|   async NoteClosed(nsID aStreamId);
 | |
| 
 | |
| child:
 | |
|   async Close(nsID aStreamId);
 | |
|   async CloseAll();
 | |
|   async __delete__();
 | |
| };
 | |
| 
 | |
| } // namespace cache
 | |
| } // namespace dom
 | |
| } // namespace mozilla
 |