Chromium Code Reviews| Index: content/public/browser/appcache_service.h |
| diff --git a/content/public/browser/appcache_service.h b/content/public/browser/appcache_service.h |
| index 5daaa5858581f3d8bb3b20a9391a5ed1cc596510..bc2e83266862a6b0cb29bbc443e7add6cba9ec3b 100644 |
| --- a/content/public/browser/appcache_service.h |
| +++ b/content/public/browser/appcache_service.h |
| @@ -14,6 +14,10 @@ |
| #include "content/public/common/appcache_info.h" |
| #include "net/base/completion_callback.h" |
| +namespace net { |
| +class URLRequest; |
| +} // namespace net |
| + |
| namespace content { |
| // Refcounted container to avoid copying the collection in callbacks. |
| @@ -47,6 +51,8 @@ class CONTENT_EXPORT AppCacheService { |
| virtual void DeleteAppCacheGroup(const GURL& manifest_url, |
| const net::CompletionCallback& callback) = 0; |
| + static bool URLRequestHasActiveAppCache(const net::URLRequest* request); |
|
droger
2017/02/07 10:40:38
Nit: the style guide recommends const reference.
mattcary
2017/02/07 11:28:46
Changed to nonconst * so that I don't have to chan
|
| + |
| protected: |
| virtual ~AppCacheService() {} |
| }; |