michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef mozilla_ipc_URIUtils_h michael@0: #define mozilla_ipc_URIUtils_h michael@0: michael@0: #include "mozilla/ipc/URIParams.h" michael@0: #include "nsCOMPtr.h" michael@0: #include "nsIURI.h" michael@0: michael@0: namespace mozilla { michael@0: namespace ipc { michael@0: michael@0: void michael@0: SerializeURI(nsIURI* aURI, michael@0: URIParams& aParams); michael@0: michael@0: void michael@0: SerializeURI(nsIURI* aURI, michael@0: OptionalURIParams& aParams); michael@0: michael@0: already_AddRefed michael@0: DeserializeURI(const URIParams& aParams); michael@0: michael@0: already_AddRefed michael@0: DeserializeURI(const OptionalURIParams& aParams); michael@0: michael@0: } // namespace ipc michael@0: } // namespace mozilla michael@0: michael@0: #endif // mozilla_ipc_URIUtils_h