Chromium Code Reviews| Index: content/browser/appcache/appcache_request_handler.h |
| diff --git a/content/browser/appcache/appcache_request_handler.h b/content/browser/appcache/appcache_request_handler.h |
| index d7b55e5a96b7feef7906d077785705d3b13e075d..97196ce992e89f9cc4b4a9fdf47c3900e1606ea3 100644 |
| --- a/content/browser/appcache/appcache_request_handler.h |
| +++ b/content/browser/appcache/appcache_request_handler.h |
| @@ -25,6 +25,7 @@ class URLRequestJob; |
| namespace content { |
| class AppCacheRequestHandlerTest; |
| +class AppCacheService; |
| class AppCacheURLRequestJob; |
| // An instance is created for each net::URLRequest. The instance survives all |
| @@ -57,6 +58,9 @@ class CONTENT_EXPORT AppCacheRequestHandler |
| void PrepareForCrossSiteTransfer(int old_process_id); |
| void CompleteCrossSiteTransfer(int new_process_id, int new_host_id); |
| void MaybeCompleteCrossSiteTransferInOldProcess(int old_process_id); |
| + bool SanityCheckIsSameService(AppCacheService* service) { |
|
jsbell
2016/01/14 22:52:29
Add brief documentation here, i.e. why anyone woul
|
| + return !host_ || (host_->service() == service); |
| + } |
| static bool IsMainResourceType(ResourceType type) { |
| return IsResourceTypeFrame(type) || |