| Index: platform/network/ResourceRequestBase.h | 
| =================================================================== | 
| --- platform/network/ResourceRequestBase.h	(revision 44202) | 
| +++ platform/network/ResourceRequestBase.h	(working copy) | 
| @@ -31,6 +31,9 @@ | 
| #include "FormData.h" | 
| #include "KURL.h" | 
| #include "HTTPHeaderMap.h" | 
| +#if ENABLE(APPLICATION_CACHE) | 
| +#include "ApplicationCacheCommon.h" | 
| +#endif | 
|  | 
| #include <memory> | 
| #include <wtf/OwnPtr.h> | 
| @@ -115,6 +118,12 @@ | 
| bool reportUploadProgress() const { return m_reportUploadProgress; } | 
| void setReportUploadProgress(bool reportUploadProgress) { m_reportUploadProgress = reportUploadProgress; } | 
|  | 
| +#if ENABLE(APPLICATION_CACHE) | 
| +        // Allows the request to be matched up with its cache context. | 
| +        GlobalApplicationCacheContextID applicationCacheContextID() const { return m_appcacheContextID; } | 
| +        void setApplicationCacheContextID(GlobalApplicationCacheContextID id) { m_appcacheContextID = id; } | 
| +#endif | 
| + | 
| protected: | 
| // Used when ResourceRequest is initialized from a platform representation of the request | 
| ResourceRequestBase() | 
| @@ -152,7 +161,9 @@ | 
| mutable bool m_resourceRequestUpdated; | 
| mutable bool m_platformRequestUpdated; | 
| bool m_reportUploadProgress; | 
| - | 
| +#if ENABLE(APPLICATION_CACHE) | 
| +        GlobalApplicationCacheContextID m_appcacheContextID; | 
| +#endif | 
| private: | 
| const ResourceRequest& asResourceRequest() const; | 
| }; | 
| @@ -174,6 +185,9 @@ | 
| Vector<String> m_responseContentDispositionEncodingFallbackArray; | 
| RefPtr<FormData> m_httpBody; | 
| bool m_allowHTTPCookies; | 
| +#if ENABLE(APPLICATION_CACHE) | 
| +        GlobalApplicationCacheContextID m_appcacheContextID; | 
| +#endif | 
| }; | 
|  | 
| unsigned initializeMaximumHTTPConnectionCountPerHost(); | 
|  |