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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.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 unified diff | Download patch
OLDNEW
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 CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 425
426 size_t service_worker_ref_count_; 426 size_t service_worker_ref_count_;
427 size_t shared_worker_ref_count_; 427 size_t shared_worker_ref_count_;
428 428
429 // Set in ForceReleaseWorkerRefCounts. When true, worker ref counts must no 429 // Set in ForceReleaseWorkerRefCounts. When true, worker ref counts must no
430 // longer be modified. 430 // longer be modified.
431 bool is_worker_ref_count_disabled_; 431 bool is_worker_ref_count_disabled_;
432 432
433 // The registered IPC listener objects. When this list is empty, we should 433 // The registered IPC listener objects. When this list is empty, we should
434 // delete ourselves. 434 // delete ourselves.
435 IDMap<IPC::Listener> listeners_; 435 IDMap<IPC::Listener*> listeners_;
436 436
437 mojo::AssociatedBinding<mojom::RouteProvider> route_provider_binding_; 437 mojo::AssociatedBinding<mojom::RouteProvider> route_provider_binding_;
438 mojo::AssociatedBindingSet<mojom::AssociatedInterfaceProvider> 438 mojo::AssociatedBindingSet<mojom::AssociatedInterfaceProvider>
439 associated_interface_provider_bindings_; 439 associated_interface_provider_bindings_;
440 440
441 // The count of currently visible widgets. Since the host can be a container 441 // The count of currently visible widgets. Since the host can be a container
442 // for multiple widgets, it uses this count to determine when it should be 442 // for multiple widgets, it uses this count to determine when it should be
443 // backgrounded. 443 // backgrounded.
444 int32_t visible_widgets_; 444 int32_t visible_widgets_;
445 445
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 instance_weak_factory_; 587 instance_weak_factory_;
588 588
589 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 589 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
590 590
591 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 591 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
592 }; 592 };
593 593
594 } // namespace content 594 } // namespace content
595 595
596 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 596 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/quota_dispatcher_host.h ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698