nsSafebrowsingApplication.js File Reference

Go to the source code of this file.

Functions

function Init ()
 
function SafebrowsingApplicationMod ()
 
function NSGetModule (compMgr, fileSpec)
 

Variables

const Cc = Components.classes
 
const Ci = Components.interfaces
 
Function prototype inherits
 
SafebrowsingApplicationMod
prototype 
registerSelf
 
SafebrowsingApplicationMod
prototype 
getClassObject
 
var ApplicationModInst = new SafebrowsingApplicationMod()
 

Function Documentation

function Init ( )

Definition at line 20 of file nsSafebrowsingApplication.js.

Here is the caller graph for this function:

function NSGetModule (   compMgr,
  fileSpec 
)

Definition at line 84 of file nsSafebrowsingApplication.js.

function SafebrowsingApplicationMod ( )

Definition at line 40 of file nsSafebrowsingApplication.js.

Variable Documentation

var ApplicationModInst = new SafebrowsingApplicationMod()

Definition at line 82 of file nsSafebrowsingApplication.js.

const Cc = Components.classes

Definition at line 1 of file nsSafebrowsingApplication.js.

Definition at line 2 of file nsSafebrowsingApplication.js.

Initial value:
= function(compMgr, cid, iid) {
if (!cid.equals(this.cid))
throw Components.results.NS_ERROR_NO_INTERFACE;
if (!iid.equals(Ci.nsIFactory))
throw Components.results.NS_ERROR_NOT_IMPLEMENTED;
return this.factory;
}
SafebrowsingApplicationMod.prototype.canUnload = function(compMgr) {
return true;
}
SafebrowsingApplicationMod.prototype.factory = {
createInstance: function(outer, iid) {
if (outer != null)
throw Components.results.NS_ERROR_NO_AGGREGATION;
Init();
return new PROT_Application();
}
}
sidebarFactory createInstance
Definition: nsSidebar.js:351
function Init()
return null
Definition: FeedWriter.js:1143
function PROT_Application()
Definition: application.js:54
if(DEBUG_DATAREMOTES)
function SafebrowsingApplicationMod()

Definition at line 60 of file nsSafebrowsingApplication.js.

Function prototype inherits
Initial value:
= function(parentCtor) {
var tempCtor = function(){};
tempCtor.prototype = parentCtor.prototype;
this.superClass_ = parentCtor.prototype;
this.prototype = new tempCtor();
}
var modScope = this
AddonMetadata prototype

Definition at line 6 of file nsSafebrowsingApplication.js.

Initial value:
= function(compMgr, fileSpec, loc, type) {
if (this.firstTime) {
this.firstTime = false;
throw Components.results.NS_ERROR_FACTORY_REGISTER_AGAIN;
}
compMgr = compMgr.QueryInterface(Ci.nsIComponentRegistrar);
compMgr.registerFactoryLocation(this.cid,
"Safebrowsing Application Module",
this.progid,
fileSpec,
loc,
type);
}
var firstTime

Definition at line 46 of file nsSafebrowsingApplication.js.