| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SERVICE_WORKER_HELPER_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_SERVICE_WORKER_HELPER_H_ |
| 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_SERVICE_WORKER_HELPER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_SERVICE_WORKER_HELPER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <list> | 10 #include <list> |
| 9 #include <set> | 11 #include <set> |
| 10 #include <vector> | 12 #include <vector> |
| 11 | 13 |
| 12 #include "base/callback.h" | 14 #include "base/callback.h" |
| 15 #include "base/macros.h" |
| 13 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 14 #include "content/public/browser/service_worker_context.h" | 17 #include "content/public/browser/service_worker_context.h" |
| 15 #include "content/public/browser/service_worker_usage_info.h" | 18 #include "content/public/browser/service_worker_usage_info.h" |
| 16 #include "url/gurl.h" | 19 #include "url/gurl.h" |
| 17 | 20 |
| 18 class Profile; | 21 class Profile; |
| 19 | 22 |
| 20 // BrowsingDataServiceWorkerHelper is an interface for classes dealing with | 23 // BrowsingDataServiceWorkerHelper is an interface for classes dealing with |
| 21 // aggregating and deleting browsing data stored for Service Workers - | 24 // aggregating and deleting browsing data stored for Service Workers - |
| 22 // registrations, scripts, and caches. | 25 // registrations, scripts, and caches. |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 | 106 |
| 104 private: | 107 private: |
| 105 ~CannedBrowsingDataServiceWorkerHelper() override; | 108 ~CannedBrowsingDataServiceWorkerHelper() override; |
| 106 | 109 |
| 107 std::set<PendingServiceWorkerUsageInfo> pending_service_worker_info_; | 110 std::set<PendingServiceWorkerUsageInfo> pending_service_worker_info_; |
| 108 | 111 |
| 109 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataServiceWorkerHelper); | 112 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataServiceWorkerHelper); |
| 110 }; | 113 }; |
| 111 | 114 |
| 112 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_SERVICE_WORKER_HELPER_H_ | 115 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_SERVICE_WORKER_HELPER_H_ |
| OLD | NEW |