equal
deleted
inserted
replaced
67 const TInt KBrCtlObjectElementMaxLength = 50; |
67 const TInt KBrCtlObjectElementMaxLength = 50; |
68 const TInt KBrCtlMBFormat = 4; |
68 const TInt KBrCtlMBFormat = 4; |
69 const TInt KBrCtlGBFormat = 10; |
69 const TInt KBrCtlGBFormat = 10; |
70 const TInt KBrCtlMegabyte = 1000; // although 1MB=1024 kB, treat as 1000kb for user simplicity |
70 const TInt KBrCtlMegabyte = 1000; // although 1MB=1024 kB, treat as 1000kb for user simplicity |
71 const TInt KBrowserFileNotFound = -26003; // Defined in ErrorDefs.h but not exported so define here |
71 const TInt KBrowserFileNotFound = -26003; // Defined in ErrorDefs.h but not exported so define here |
|
72 //There is an empty note popup is displayed because of this undefined error code that has been thrown by http layer |
|
73 const TInt KHttpErrIgnore = -26173; |
72 |
74 |
73 // DLL resource file name with path |
75 // DLL resource file name with path |
74 _LIT( KBrowserDialogsProviderDirAndFile, "z:BrowserDialogsProvider.rsc" );// resource |
76 _LIT( KBrowserDialogsProviderDirAndFile, "z:BrowserDialogsProvider.rsc" );// resource |
75 |
77 |
76 //Mime Types |
78 //Mime Types |
146 // CBrowserDialogsProvider::DialogNotifyErrorL( TInt aErrCode ) |
148 // CBrowserDialogsProvider::DialogNotifyErrorL( TInt aErrCode ) |
147 // |
149 // |
148 //----------------------------------------------------------------------------- |
150 //----------------------------------------------------------------------------- |
149 EXPORT_C void CBrowserDialogsProvider::DialogNotifyErrorL( TInt aErrCode ) |
151 EXPORT_C void CBrowserDialogsProvider::DialogNotifyErrorL( TInt aErrCode ) |
150 { |
152 { |
|
153 if( aErrCode == KHttpErrIgnore ) |
|
154 return; |
151 TInt httpErr = KBrCtlHttpErrorsOffset - aErrCode; |
155 TInt httpErr = KBrCtlHttpErrorsOffset - aErrCode; |
152 CTextResolver* textresolver = CTextResolver::NewLC(); |
156 CTextResolver* textresolver = CTextResolver::NewLC(); |
153 TPtrC msg; |
157 TPtrC msg; |
154 |
158 |
155 switch ( httpErr ) |
159 switch ( httpErr ) |