gecko/content/base/public
Robert O'Callahan 7b4c5ebb95 Bug 792675. Part 4: Refactor nsBlobURI/nsBlobProtocolHandler to nsHostObjectURI/nsHostObjectProtocolHandler. r=sicking
The code to handle MediaStream URIs is almost the same as for Blobs, so share it.
nsHostObjectProtocolHandler is modified a bit to simplify method names. Also
we make nsHostObjectProtocolHandler::AddDataEntry take responsibility for
generating the URI to avoid duplicating that code later.
We need separate subclasses for each kind of host object protocol handler,
but we don't need separate subclasses for each kind of host object URI.

--HG--
rename : content/base/public/nsBlobProtocolHandler.h => content/base/public/nsHostObjectProtocolHandler.h
rename : content/base/src/nsBlobProtocolHandler.cpp => content/base/src/nsHostObjectProtocolHandler.cpp
rename : content/base/src/nsBlobURI.cpp => content/base/src/nsHostObjectURI.cpp
rename : content/base/src/nsBlobURI.h => content/base/src/nsHostObjectURI.h
extra : rebase_source : bfb1d7ea2813100a35f9a2054a67584e38f5f330
2012-09-25 15:24:44 +12:00
..
CORSMode.h
DirectionalityUtils.h Bug 562169. Add support for :dir(ltr/rtl) CSS selector, content part, r=bz 2012-04-17 07:03:10 +03:00
Element.h Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz. 2012-10-09 14:31:24 +02:00
FragmentOrElement.h Fix for bug 801083 (Remove old proxy-based list bindings). r=bz. 2012-10-13 14:50:24 +02:00
FromParser.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Makefile.in Bug 792675. Part 4: Refactor nsBlobURI/nsBlobProtocolHandler to nsHostObjectURI/nsHostObjectProtocolHandler. r=sicking 2012-09-25 15:24:44 +12:00
mozFlushType.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsCaseTreatment.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsContentCID.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsContentCreatorFunctions.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsContentPolicyUtils.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsContentUtils.h Bug 800193 - Print a warning when setting nsILoadContext.usePrivateBrowsing in per-window private browsing builds; r=bzbarsky 2012-10-31 00:15:24 -04:00
nsCopySupport.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsDeprecatedOperationList.h Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz. 2012-10-09 14:31:24 +02:00
nsDOMFile.h Bug 803684 - Add a memory reporter for in-memory file data. r=khuey,njn 2012-10-24 22:06:31 -04:00
nsHostObjectProtocolHandler.h Bug 792675. Part 4: Refactor nsBlobURI/nsBlobProtocolHandler to nsHostObjectURI/nsHostObjectProtocolHandler. r=sicking 2012-09-25 15:24:44 +12:00
nsIAttribute.h Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz. 2012-10-09 14:31:24 +02:00
nsIContent.h Bug 808993, ASSERTION: must have binding parent when in native anonymous subtree with a parent node, r=bz 2012-11-06 20:52:46 +02:00
nsIContentIterator.h Bug 757771 part 1 - Make NS_NewContentIterator and friends infallible; r=bz 2012-06-04 20:42:00 +03:00
nsIContentPolicy.idl Bug 803765 - Documentation for aRequestPrincipal r=bz 2012-10-23 21:44:11 -07:00
nsIContentSecurityPolicy.idl Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsIContentSerializer.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsIDocument.h Bug 792675. Part 4: Refactor nsBlobURI/nsBlobProtocolHandler to nsHostObjectURI/nsHostObjectProtocolHandler. r=sicking 2012-09-25 15:24:44 +12:00
nsIDocumentEncoder.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDocumentObserver.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsIDOMDataChannel.idl Bug 733002: DataChannel DOM implementation w/ m3 fix r=smaug 2012-10-03 19:51:47 -04:00
nsIDOMFile.idl Bug 793955, 802867 - DeviceStorage files returned by DeviceStorage.get() don't always have lastModifiedDate. r=bent. a=blocking-basecamp 2012-10-18 11:29:32 -07:00
nsIDOMFileList.idl Fix for bug 801083 (Remove old proxy-based list bindings). r=bz. 2012-10-13 14:50:24 +02:00
nsIDOMFileReader.idl Bug 687332: Part 2 - Move event handlers off of DOM objects and keep track of them solely in the event listener manager. r=smaug,bz 2012-08-30 20:45:16 -07:00
nsIDOMFormData.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMParser.idl Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsIDOMSerializer.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDroppedLinkHandler.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIEventSource.idl Bug 687332: Part 2 - Move event handlers off of DOM objects and keep track of them solely in the event listener manager. r=smaug,bz 2012-08-30 20:45:16 -07:00
nsIFrameLoader.idl Bug 776825 - Separate message managers into senders and broadcasters. r=smaug 2012-08-27 11:13:02 -03:00
nsIImageLoadingContent.idl Backed out 2 changesets (bug 579517) 2012-10-25 12:32:24 -04:00
nsIMessageManager.idl Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug 2012-09-27 22:43:12 -07:00
nsIMutationObserver.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsINameSpaceManager.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsINode.h Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
nsINodeInfo.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsINodeList.h Fix for bug 801083 (Remove old proxy-based list bindings). r=bz. 2012-10-13 14:50:24 +02:00
nsIObjectLoadingContent.idl Bug 797043 - Better handling of plugin activated state for click-to-play. r=josh 2012-10-16 12:52:30 -07:00
nsIScriptElement.h Bug 789856. Fire error events on <script> elements which completely fail to start the load. r=sicking 2012-09-18 23:24:27 -04:00
nsIScriptLoaderObserver.idl Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsISelection.idl Backed out 2 changesets (bug 579517) 2012-10-25 12:32:24 -04:00
nsISelectionController.idl Backed out 2 changesets (bug 579517) 2012-10-25 12:32:24 -04:00
nsISelectionDisplay.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsISelectionListener.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsISelectionPrivate.idl Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsIStyleSheetLinkingElement.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsIXFormsUtilityService.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsIXMLHttpRequest.idl Backed out 2 changesets (bug 579517) 2012-10-25 12:32:24 -04:00
nsIXPathEvaluatorInternal.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsLineBreaker.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsReferencedElement.h Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
nsTreeSanitizer.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsXMLNameSpaceMap.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00