9 #include "WebLoadRequestCompletionCallback.h"
11 #include "PendingWebRequestsContainer.h"
28 int requestTimeoutInSeconds
31 bool TryAddAsyncLoad(
Payload *pPayload);
35 bool IsStreaming()
const;
41 int m_maxCacheRequests;
42 int m_requestTimeoutInSeconds;
47 bool CanAcceptHttpLoads()
const {
return m_webRequests < m_maxWebRequests; }
48 bool CanAcceptCacheLoads()
const {
return m_cacheRequests < m_maxCacheRequests; }
49 void AddAsyncPayloadRequest(
Payload* pPayload,
bool isLocallyCached);
51 void RemoveLoad(
Payload* pPayload);