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 CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_APPCACHE_HELPER_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_APPCACHE_HELPER_H_ |
6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_APPCACHE_HELPER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_APPCACHE_HELPER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 // True if no appcaches are currently stored. | 69 // True if no appcaches are currently stored. |
70 bool empty() const; | 70 bool empty() const; |
71 | 71 |
72 // Returns the number of app cache resources. | 72 // Returns the number of app cache resources. |
73 size_t GetAppCacheCount() const; | 73 size_t GetAppCacheCount() const; |
74 | 74 |
75 // Returns a current map with the |AppCacheInfoVector|s per origin. | 75 // Returns a current map with the |AppCacheInfoVector|s per origin. |
76 const OriginAppCacheInfoMap& GetOriginAppCacheInfoMap() const; | 76 const OriginAppCacheInfoMap& GetOriginAppCacheInfoMap() const; |
77 | 77 |
78 // BrowsingDataAppCacheHelper methods. | 78 // BrowsingDataAppCacheHelper methods. |
79 virtual void StartFetching(const base::Closure& completion_callback) OVERRIDE; | 79 virtual void StartFetching(const base::Closure& completion_callback) override; |
80 virtual void DeleteAppCacheGroup(const GURL& manifest_url) OVERRIDE; | 80 virtual void DeleteAppCacheGroup(const GURL& manifest_url) override; |
81 | 81 |
82 private: | 82 private: |
83 virtual ~CannedBrowsingDataAppCacheHelper(); | 83 virtual ~CannedBrowsingDataAppCacheHelper(); |
84 | 84 |
85 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataAppCacheHelper); | 85 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataAppCacheHelper); |
86 }; | 86 }; |
87 | 87 |
88 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_APPCACHE_HELPER_H_ | 88 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_APPCACHE_HELPER_H_ |
OLD | NEW |