equal
deleted
inserted
replaced
84 // CBrowserUploadProgressNote::UpdateL |
84 // CBrowserUploadProgressNote::UpdateL |
85 // ---------------------------------------------------------------------------- |
85 // ---------------------------------------------------------------------------- |
86 // |
86 // |
87 void CBrowserUploadProgressNote::UpdateL( TInt aChunkSize ) |
87 void CBrowserUploadProgressNote::UpdateL( TInt aChunkSize ) |
88 { |
88 { |
|
89 //In access point roaming scenarios, aChunkSize will come as "0" (zero) in between uploading files, as we start upload again from begining. |
|
90 if( aChunkSize == 0) |
|
91 iUploaded = 0; |
|
92 |
89 iUploaded+=aChunkSize; // Set the uploaded size. |
93 iUploaded+=aChunkSize; // Set the uploaded size. |
90 |
94 |
91 // ...Length() + 20 because if we substitute the uploaded, |
95 // ...Length() + 20 because if we substitute the uploaded, |
92 // and the max upload strings into the |
96 // and the max upload strings into the |
93 // "Uploaded:\ %U / %U" string, there should be enough space in the buffer. |
97 // "Uploaded:\ %U / %U" string, there should be enough space in the buffer. |