Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: content/browser/service_worker/service_worker_storage.h

Issue 1799413002: ServiceWorker: Release a reference when it fails to dispatch ExtendableMessageEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_dispatch_extendable_message_event
Patch Set: fix build failures Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/browser/service_worker/service_worker_provider_host.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_SERVICE_WORKER_SERVICE_WORKER_STORAGE_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_STORAGE_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_STORAGE_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_STORAGE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <deque> 10 #include <deque>
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 void NotifyUninstallingRegistration(ServiceWorkerRegistration* registration); 217 void NotifyUninstallingRegistration(ServiceWorkerRegistration* registration);
218 void NotifyDoneUninstallingRegistration( 218 void NotifyDoneUninstallingRegistration(
219 ServiceWorkerRegistration* registration); 219 ServiceWorkerRegistration* registration);
220 220
221 void Disable(); 221 void Disable();
222 222
223 // |resources| must already be on the purgeable list. 223 // |resources| must already be on the purgeable list.
224 void PurgeResources(const ResourceList& resources); 224 void PurgeResources(const ResourceList& resources);
225 225
226 private: 226 private:
227 friend class ServiceWorkerDispatcherHostTest;
227 friend class ServiceWorkerHandleTest; 228 friend class ServiceWorkerHandleTest;
228 friend class ServiceWorkerStorageTest; 229 friend class ServiceWorkerStorageTest;
229 friend class ServiceWorkerResourceStorageTest; 230 friend class ServiceWorkerResourceStorageTest;
230 friend class ServiceWorkerControlleeRequestHandlerTest; 231 friend class ServiceWorkerControlleeRequestHandlerTest;
231 friend class ServiceWorkerContextRequestHandlerTest; 232 friend class ServiceWorkerContextRequestHandlerTest;
232 friend class ServiceWorkerReadFromCacheJobTest; 233 friend class ServiceWorkerReadFromCacheJobTest;
233 friend class ServiceWorkerRequestHandlerTest; 234 friend class ServiceWorkerRequestHandlerTest;
234 friend class ServiceWorkerURLRequestJobTest; 235 friend class ServiceWorkerURLRequestJobTest;
235 friend class ServiceWorkerVersionBrowserTest; 236 friend class ServiceWorkerVersionBrowserTest;
236 friend class ServiceWorkerVersionTest; 237 friend class ServiceWorkerVersionTest;
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 std::set<int64_t> pending_deletions_; 543 std::set<int64_t> pending_deletions_;
543 544
544 base::WeakPtrFactory<ServiceWorkerStorage> weak_factory_; 545 base::WeakPtrFactory<ServiceWorkerStorage> weak_factory_;
545 546
546 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerStorage); 547 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerStorage);
547 }; 548 };
548 549
549 } // namespace content 550 } // namespace content
550 551
551 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_STORAGE_H_ 552 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_STORAGE_H_
OLDNEW
« no previous file with comments | « content/browser/service_worker/service_worker_provider_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698