browserutilities/downloadmgr/DownloadMgrServEng/Src/HttpClientAppInstance.cpp
branchRCL_3
changeset 48 79859ed3eea9
parent 36 c711bdda59f4
child 49 919f36ff910f
--- a/browserutilities/downloadmgr/DownloadMgrServEng/Src/HttpClientAppInstance.cpp	Thu Aug 19 10:58:56 2010 +0300
+++ b/browserutilities/downloadmgr/DownloadMgrServEng/Src/HttpClientAppInstance.cpp	Tue Aug 31 16:17:46 2010 +0300
@@ -15,11 +15,13 @@
 *
 */
 
+
+
 // INCLUDE FILES
 #include    "HttpClientAppInstance.h"
 #include    "HttpClientApp.h"
 #include    "HttpDownloadManagerServerEngine.h"
-#include    "HttpDownloadMgrLogger.h"
+#include "HttpDownloadMgrLogger.h"
 
 // EXTERNAL DATA STRUCTURES
 //extern  ?external_data;
@@ -560,23 +562,6 @@
         case EDlMgrConnectionName:
             {
             iConnHandler->SetConnectionNameL( aValue );
-            //resume Download if paused by OCC
-            CArrayPtrFlat<CHttpDownload>* downloads = iClientApp->Downloads();
-
-            for( TInt i = 0; i < downloads->Count()  ; ++i )
-                {
-                if( (*downloads)[i]->ClientAppInstance() == this )
-                    {
-                    // this won't surely leave on this call
-                    if((*downloads)[i]->GetRetryFlag())
-                        {
-                        TRAP_IGNORE( (*downloads)[i]->StartL() );                      
-                        (*downloads)[i]->SetRetryFlag(EFalse);
-                        }
-                    
-                    }
-                }
-
             }
             break;