Changeset 17710 in webkit


Ignore:
Timestamp:
Nov 10, 2006 2:29:08 PM (17 years ago)
Author:
spadma
Message:

2006-11-10 spaltis <Stanislav.Paltis@nokia.com>

Reviewed by Sachin.
DESC: For the progressive download,if it's already set by music player, we should not set it here.
http://bugs.webkit.org/show_bug.cgi?id=11568

  • ResourceLoader/src/HttpDownloadObserver.cpp: (CHttpDownloadObserver::HandleDMgrEventL):
Location:
S60/trunk/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • S60/trunk/WebKit/ChangeLog

    r17706 r17710  
     12006-11-10  spaltis  <Stanislav.Paltis@nokia.com>
     2
     3        Reviewed by Sachin.
     4        DESC: For the progressive download,if it's already set by music player, we should not set it here.
     5        http://bugs.webkit.org/show_bug.cgi?id=11568
     6
     7        * ResourceLoader/src/HttpDownloadObserver.cpp:
     8        (CHttpDownloadObserver::HandleDMgrEventL):
     9
    1102006-11-10  spadma  <Sachin.Padma@nokia.com>
    211
  • S60/trunk/WebKit/ResourceLoader/src/HttpDownloadObserver.cpp

    r17522 r17710  
    514514                            // Return ETrue if the file is handled progressively, EFalse otherwise
    515515                            TBool progDl = iDownloadObserver->NewDownloadL( transID, fileNameDes, contentTypeBuf, urlBuf );
    516                             aDownload.SetBoolAttribute( EDlAttrProgressive, (TInt32)progDl );
    517 
     516                            TBool isProgDl = EFalse;
     517                            aDownload.GetBoolAttribute( EDlAttrProgressive, isProgDl );
     518                            if ( !isProgDl )
     519                                {
     520                                aDownload.SetBoolAttribute( EDlAttrProgressive, (TInt32)progDl );
     521                                }
     522                               
    518523                            // notify Observer of started download
    519524                            iDownloadObserver->HandleDownloadEventL( transID, EDownloadEventStarted, dlLength );
Note: See TracChangeset for help on using the changeset viewer.