equal
deleted
inserted
replaced
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 #include <caf/caf.h> |
19 #include <caf/caf.h> |
|
20 #ifdef INTERNALLY_ENABLE_UPWARD_DEPENDENCY |
20 #include <http.h> |
21 #include <http.h> |
21 #include <http/rhttpheaders.h> |
22 #include <http/rhttpheaders.h> |
|
23 #endif |
22 #include <stringpool.h> |
24 #include <stringpool.h> |
23 |
25 |
24 #include "Reftestagentmanager.h" |
26 #include "Reftestagentmanager.h" |
25 #include "rtaArchive.h" |
27 #include "rtaArchive.h" |
26 #include "drmfilecontent.h" |
28 #include "drmfilecontent.h" |
330 // |
332 // |
331 // This API is non-leaving and returns void. If we want to |
333 // This API is non-leaving and returns void. If we want to |
332 // make leavescan happy, the options are: 1. TRAP leave calls |
334 // make leavescan happy, the options are: 1. TRAP leave calls |
333 // and ignore the errors. 2. Panic. Both options could potentially |
335 // and ignore the errors. 2. Panic. Both options could potentially |
334 // break RTA clients' testcases. Hence just leave it the way it is. |
336 // break RTA clients' testcases. Hence just leave it the way it is. |
335 #ifndef SYMBIAN_DISABLE_UPWARD_DEPENDENCY |
337 #ifdef INTERNALLY_ENABLE_UPWARD_DEPENDENCY |
336 void CRefTestAgentManager::PrepareHTTPRequestHeaders(RStringPool& aStringPool, RHTTPHeaders& aRequestHeaders) const |
338 void CRefTestAgentManager::PrepareHTTPRequestHeaders(RStringPool& aStringPool, RHTTPHeaders& aRequestHeaders) const |
337 { |
339 { |
338 // Add the accept header for the reference test agent |
340 // Add the accept header for the reference test agent |
339 TBuf8 <KMaxDataTypeLength> mimeType; |
341 TBuf8 <KMaxDataTypeLength> mimeType; |
340 |
342 |