Changeset 655

Show
Ignore:
Timestamp:
2007-11-26 19:40:41 (1 year ago)
Author:
MaierMan
Message:

refactor Download into Connection

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/chrome/content/dta/manager.js

    r651 r655  
    14151415                        download.state = RUNNING; 
    14161416                        Debug.dump("started: " + chunk); 
    1417                         chunk.download = new Download(download, chunk, header); 
     1417                        chunk.download = new Connection(download, chunk, header); 
    14181418                        ++download.activeChunks; 
    14191419                        ++download.sessionConnections; 
     
    16441644} 
    16451645 
    1646 function Download(d, c, getInfo) { 
     1646function Connection(d, c, getInfo) { 
    16471647 
    16481648        this.d = d; 
     
    16801680        this._chan.asyncOpen(this, null); 
    16811681} 
    1682 Download.prototype = { 
     1682Connection.prototype = { 
    16831683        _interfaces: [ 
    16841684                Ci.nsISupports,