equal
deleted
inserted
replaced
30 #include <uaproffilter_interface.h> |
30 #include <uaproffilter_interface.h> |
31 #include <httpfiltercommonstringsext.h> |
31 #include <httpfiltercommonstringsext.h> |
32 #include <cdblen.h> |
32 #include <cdblen.h> |
33 //#include <deflatefilterinterface.h> |
33 //#include <deflatefilterinterface.h> |
34 #include <cookiefilterinterface.h> |
34 #include <cookiefilterinterface.h> |
|
35 #include <platform/mw/browser_platform_variant.hrh> |
|
36 #ifdef BRDO_OCC_ENABLED_FF |
|
37 #include <extendedconnpref.h> |
|
38 #endif |
35 |
39 |
36 // EXTERNAL DATA STRUCTURES |
40 // EXTERNAL DATA STRUCTURES |
37 //extern ?external_data; |
41 //extern ?external_data; |
38 |
42 |
39 // EXTERNAL FUNCTION PROTOTYPES |
43 // EXTERNAL FUNCTION PROTOTYPES |
284 CLOG_ATTACH( iShutDown, this ); |
288 CLOG_ATTACH( iShutDown, this ); |
285 |
289 |
286 iHttpSession.OpenL(); |
290 iHttpSession.OpenL(); |
287 CLOG_WRITE8( "Session open" ); |
291 CLOG_WRITE8( "Session open" ); |
288 InitSessionL(); |
292 InitSessionL(); |
|
293 |
|
294 //Set it to zero |
|
295 iIapId = 0; |
289 } |
296 } |
290 |
297 |
291 // ----------------------------------------------------------------------------- |
298 // ----------------------------------------------------------------------------- |
292 // CHttpConnHandler::NewL |
299 // CHttpConnHandler::NewL |
293 // Two-phased constructor. |
300 // Two-phased constructor. |
376 else |
383 else |
377 { |
384 { |
378 iPref.SetDialogPreference( ECommDbDialogPrefPrompt ); |
385 iPref.SetDialogPreference( ECommDbDialogPrefPrompt ); |
379 } |
386 } |
380 |
387 |
|
388 #ifdef BRDO_OCC_ENABLED_FF |
|
389 TExtendedConnPref extPref; |
|
390 CLOG_WRITE( "Setting OCC parameters"); |
|
391 CLOG_WRITE_1( "Iap: %d", iIapId ); |
|
392 if (iIapId) |
|
393 { |
|
394 CLOG_WRITE( "Iap is found"); |
|
395 extPref.SetSnapPurpose(CMManager::ESnapPurposeUnknown); |
|
396 extPref.SetIapId(iIapId); |
|
397 } |
|
398 else |
|
399 { |
|
400 CLOG_WRITE( "Using Internet Snap"); |
|
401 extPref.SetSnapPurpose(CMManager::ESnapPurposeInternet); |
|
402 } |
|
403 |
|
404 extPref.SetNoteBehaviour(TExtendedConnPref::ENoteBehaviourConnSilent); |
|
405 TConnPrefList prefList; |
|
406 prefList.AppendL(&extPref); |
|
407 iConnection.Start( prefList, iStatus ); |
|
408 #else |
381 iConnection.Start( iPref, iStatus ); |
409 iConnection.Start( iPref, iStatus ); |
|
410 #endif //BRDO_OCC_ENABLED_FF |
382 |
411 |
383 // RConnection will complete us. |
412 // RConnection will complete us. |
384 doComplete = EFalse; |
413 doComplete = EFalse; |
385 } |
414 } |
386 |
415 |