mozilla-kde.patch
branchfirefox32
changeset 760 7c3ac3010cc6
parent 757 7913ca5779dc
child 766 e0b23b7851e9
equal deleted inserted replaced
759:b2ae89c6dea9 760:7c3ac3010cc6
  2717 +}
  2717 +}
  2718 diff --git a/uriloader/exthandler/unix/nsCommonRegistry.h b/uriloader/exthandler/unix/nsCommonRegistry.h
  2718 diff --git a/uriloader/exthandler/unix/nsCommonRegistry.h b/uriloader/exthandler/unix/nsCommonRegistry.h
  2719 new file mode 100644
  2719 new file mode 100644
  2720 --- /dev/null
  2720 --- /dev/null
  2721 +++ b/uriloader/exthandler/unix/nsCommonRegistry.h
  2721 +++ b/uriloader/exthandler/unix/nsCommonRegistry.h
  2722 @@ -0,0 +1,23 @@
  2722 @@ -0,0 +1,28 @@
  2723 +/* This Source Code Form is subject to the terms of the Mozilla Public
  2723 +/* This Source Code Form is subject to the terms of the Mozilla Public
  2724 + * License, v. 2.0. If a copy of the MPL was not distributed with this
  2724 + * License, v. 2.0. If a copy of the MPL was not distributed with this
  2725 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  2725 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       
  2726 +
       
  2727 +#ifndef nsCommonRegistry_h__
       
  2728 +#define nsCommonRegistry_h__
  2726 +
  2729 +
  2727 +#include "nsIURI.h"
  2730 +#include "nsIURI.h"
  2728 +#include "nsCOMPtr.h"
  2731 +#include "nsCOMPtr.h"
  2729 +
  2732 +
  2730 +class nsMIMEInfoBase;
  2733 +class nsMIMEInfoBase;
  2741 +
  2744 +
  2742 +  static already_AddRefed<nsMIMEInfoBase> GetFromExtension(const nsACString& aFileExt);
  2745 +  static already_AddRefed<nsMIMEInfoBase> GetFromExtension(const nsACString& aFileExt);
  2743 +
  2746 +
  2744 +  static already_AddRefed<nsMIMEInfoBase> GetFromType(const nsACString& aMIMEType);
  2747 +  static already_AddRefed<nsMIMEInfoBase> GetFromType(const nsACString& aMIMEType);
  2745 +};
  2748 +};
       
  2749 +
       
  2750 +#endif
  2746 diff --git a/uriloader/exthandler/unix/nsKDERegistry.cpp b/uriloader/exthandler/unix/nsKDERegistry.cpp
  2751 diff --git a/uriloader/exthandler/unix/nsKDERegistry.cpp b/uriloader/exthandler/unix/nsKDERegistry.cpp
  2747 new file mode 100644
  2752 new file mode 100644
  2748 --- /dev/null
  2753 --- /dev/null
  2749 +++ b/uriloader/exthandler/unix/nsKDERegistry.cpp
  2754 +++ b/uriloader/exthandler/unix/nsKDERegistry.cpp
  2750 @@ -0,0 +1,88 @@
  2755 @@ -0,0 +1,88 @@