equal
deleted
inserted
replaced
54 |
54 |
55 static CHttpCacheEntryAsyncWriteHelper* NewL(MHttpCacheWriteSource* aSource, TRequestStatus& aStatus); |
55 static CHttpCacheEntryAsyncWriteHelper* NewL(MHttpCacheWriteSource* aSource, TRequestStatus& aStatus); |
56 TInt GetResult(); // KRequestPending, or a completion code. |
56 TInt GetResult(); // KRequestPending, or a completion code. |
57 |
57 |
58 private: |
58 private: |
59 CHttpCacheEntryAsyncWriteHelper(TRequestStatus& aStatus, MHttpCacheWriteSource* aSource, TInt aPriority = EPriorityNormal); |
59 CHttpCacheEntryAsyncWriteHelper(TRequestStatus& aStatus, MHttpCacheWriteSource* aSource, TInt aPriority = EPriorityIdle); |
60 |
60 |
61 virtual void DoCancel(); |
61 virtual void DoCancel(); |
62 virtual void RunL(); |
62 virtual void RunL(); |
63 |
63 |
64 void ConstructL(); |
64 void ConstructL(); |
84 { |
84 { |
85 public: |
85 public: |
86 virtual ~CSegmentedHeapBuffer(); |
86 virtual ~CSegmentedHeapBuffer(); |
87 /* |
87 /* |
88 * aBufferSize is the size of each segment used for storage. |
88 * aBufferSize is the size of each segment used for storage. |
89 * aCompressGranularity is the multiple used when Compress()ing the last block. |
89 * aCompressGranularity is used when Compress()ing the last block. If the block has at least this much free space, it is realloced to the correct size. |
90 */ |
90 */ |
91 static CSegmentedHeapBuffer * NewL(TInt aBufferSize = 32768, TInt aCompressGranularity = 4096); |
91 static CSegmentedHeapBuffer * NewL(TInt aBufferSize = 32768, TInt aCompressGranularity = 4096); |
92 |
92 |
93 /* |
93 /* |
94 * @since 5.0 |
94 * @since 5.0 |