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 file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: "use strict"; michael@0: michael@0: const { classes: Cc, interfaces: Ci, utils: Cu, results: Cr } = Components; michael@0: michael@0: Cu.import("resource://gre/modules/XPCOMUtils.jsm"); michael@0: Cu.import("resource://gre/modules/InterAppCommService.jsm"); michael@0: michael@0: function InterAppCommServiceProxy() { michael@0: } michael@0: michael@0: InterAppCommServiceProxy.prototype = { michael@0: registerConnection: function(aKeyword, aHandlerPageURI, aManifestURI, michael@0: aDescription, aRules) { michael@0: InterAppCommService. michael@0: registerConnection(aKeyword, aHandlerPageURI, aManifestURI, michael@0: aDescription, aRules); michael@0: }, michael@0: michael@0: classID: Components.ID("{3dd15ce6-e7be-11e2-82bc-77967e7a63e6}"), michael@0: michael@0: QueryInterface: XPCOMUtils.generateQI([Ci.nsIInterAppCommService]) michael@0: } michael@0: michael@0: this.NSGetFactory = XPCOMUtils.generateNSGetFactory([InterAppCommServiceProxy]);