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

Unified Diff: content/browser/service_worker/service_worker_dispatcher_host.h

Issue 2496653002: Part 2 of base::IDMap refactor to eliminate IDMapOwnPointer/IDMapExternalPointer modes (Closed)
Patch Set: typedefs => using statements, update comments in base/id_map.h Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/service_worker/service_worker_dispatcher_host.h
diff --git a/content/browser/service_worker/service_worker_dispatcher_host.h b/content/browser/service_worker/service_worker_dispatcher_host.h
index 260a07d19a9d7c4abe2db5ec2b4c2ada9b50af7a..08c5698c48f1bccae2d712c24663c58f4fc37f75 100644
--- a/content/browser/service_worker/service_worker_dispatcher_host.h
+++ b/content/browser/service_worker/service_worker_dispatcher_host.h
@@ -275,10 +275,10 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost
ResourceContext* resource_context_;
scoped_refptr<ServiceWorkerContextWrapper> context_wrapper_;
- IDMap<ServiceWorkerHandle, IDMapOwnPointer> handles_;
+ IDMap<std::unique_ptr<ServiceWorkerHandle>> handles_;
using RegistrationHandleMap =
- IDMap<ServiceWorkerRegistrationHandle, IDMapOwnPointer>;
+ IDMap<std::unique_ptr<ServiceWorkerRegistrationHandle>>;
RegistrationHandleMap registration_handles_;
bool channel_ready_; // True after BrowserMessageFilter::sender_ != NULL.

Powered by Google App Engine
This is Rietveld 408576698