| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_PUBLIC_BROWSER_APPCACHE_SERVICE_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_APPCACHE_SERVICE_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_APPCACHE_SERVICE_H_ | 6 #define CONTENT_PUBLIC_BROWSER_APPCACHE_SERVICE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> |
| 9 #include <set> | 10 #include <set> |
| 10 | 11 |
| 11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | |
| 13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
| 14 #include "content/public/common/appcache_info.h" | 14 #include "content/public/common/appcache_info.h" |
| 15 #include "net/base/completion_callback.h" | 15 #include "net/base/completion_callback.h" |
| 16 | 16 |
| 17 namespace content { | 17 namespace content { |
| 18 | 18 |
| 19 class AppCacheStorage; | 19 class AppCacheStorage; |
| 20 | 20 |
| 21 // Refcounted container to avoid copying the collection in callbacks. | 21 // Refcounted container to avoid copying the collection in callbacks. |
| 22 struct CONTENT_EXPORT AppCacheInfoCollection | 22 struct CONTENT_EXPORT AppCacheInfoCollection |
| (...skipping 26 matching lines...) Expand all Loading... |
| 49 virtual void DeleteAppCacheGroup(const GURL& manifest_url, | 49 virtual void DeleteAppCacheGroup(const GURL& manifest_url, |
| 50 const net::CompletionCallback& callback) = 0; | 50 const net::CompletionCallback& callback) = 0; |
| 51 | 51 |
| 52 protected: | 52 protected: |
| 53 virtual ~AppCacheService() {} | 53 virtual ~AppCacheService() {} |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 } // namespace content | 56 } // namespace content |
| 57 | 57 |
| 58 #endif // CONTENT_PUBLIC_BROWSER_APPCACHE_SERVICE_H_ | 58 #endif // CONTENT_PUBLIC_BROWSER_APPCACHE_SERVICE_H_ |
| OLD | NEW |