Index: content/browser/service_worker/service_worker_context_wrapper.h |
diff --git a/content/browser/service_worker/service_worker_context_wrapper.h b/content/browser/service_worker/service_worker_context_wrapper.h |
index 0670c0c3bb8452ba607eaf908ed03f24beecd54b..a015e8c61c7b9edf381d09236d03eb914490f5f1 100644 |
--- a/content/browser/service_worker/service_worker_context_wrapper.h |
+++ b/content/browser/service_worker/service_worker_context_wrapper.h |
@@ -115,10 +115,19 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper |
void DidDeleteAndStartOver(ServiceWorkerStatusCode status); |
+ void CombineUsageInfo(std::vector<ServiceWorkerUsageInfo>* usage_info, |
+ std::map<GURL, int64>* usage_map, |
+ const GetUsageInfoCallback& callback); |
+ |
void DidGetAllRegistrationsForGetAllOrigins( |
- const GetUsageInfoCallback& callback, |
+ const base::Closure& closure, |
+ std::vector<ServiceWorkerUsageInfo>* usage_info_out, |
const std::vector<ServiceWorkerRegistrationInfo>& registrations); |
+ void DidGetUsageForAllOrigins(const base::Closure& closure, |
+ std::map<GURL, int64>* usage_out, |
+ const std::map<GURL, int64>& usage_map); |
+ |
const scoped_refptr<ObserverListThreadSafe<ServiceWorkerContextObserver> > |
observer_list_; |
const scoped_ptr<ServiceWorkerProcessManager> process_manager_; |