6 #include "IWebRequestService.h"
7 #include "BidirectionalWebIOBus.h"
9 #include "CallbackCollection.h"
10 #include "IWebLoadRequest.h"
11 #include "CacheStoreOperation.h"
12 #include "WebServiceCacheTasks.h"
15 #include "WebServiceCacheLoadWorkItemPool.h"
16 #include "WebServiceCacheStoreWorkItemPool.h"
44 bool HasOngoingNetworkActivity()
const;
50 void DeleteCancelledRequests();
56 void CheckNetworkActivityChanged();
64 std::set<IWebLoadRequest*> m_webRequestsAwaitingResponse;
65 std::vector<IWebLoadRequest*> m_cancelledRequests;
69 void IssueCacheLoadRequests();
70 void IssueCacheStoreRequests();
72 bool PendingCacheStoreOperationExists(
const std::string& url)
const;
73 void DestroyPendingCacheStoreOperations();
75 std::list<IWebLoadRequest*> m_cacheRequestsNotYetSent;
76 std::set<IWebLoadRequest*> m_cacheRequestsAwaitingResponse;
85 typedef std::deque<Cache::WebRequestCacheTasks::CacheStoreOperation> TCacheStoreOperations;
86 TCacheStoreOperations m_pendingCacheStoreOperations;
89 bool m_cacheLoadPoolExhaustedLastFrame;
90 bool m_cacheStorePoolExhaustedLastFrame;
93 bool m_hasNetworkActivity;