OLD | NEW |
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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
568 // Records the time when the process starts surviving for workers for UMA. | 568 // Records the time when the process starts surviving for workers for UMA. |
569 base::TimeTicks survive_for_worker_start_time_; | 569 base::TimeTicks survive_for_worker_start_time_; |
570 | 570 |
571 // Context shared for each mojom::PermissionService instance created for this | 571 // Context shared for each mojom::PermissionService instance created for this |
572 // RPH. | 572 // RPH. |
573 std::unique_ptr<PermissionServiceContext> permission_service_context_; | 573 std::unique_ptr<PermissionServiceContext> permission_service_context_; |
574 | 574 |
575 // The memory allocator, if any, in which the renderer will write its metrics. | 575 // The memory allocator, if any, in which the renderer will write its metrics. |
576 std::unique_ptr<base::SharedPersistentMemoryAllocator> metrics_allocator_; | 576 std::unique_ptr<base::SharedPersistentMemoryAllocator> metrics_allocator_; |
577 | 577 |
578 scoped_refptr<IndexedDBDispatcherHost> indexed_db_factory_; | 578 std::unique_ptr<IndexedDBDispatcherHost, BrowserThread::DeleteOnIOThread> |
| 579 indexed_db_factory_; |
579 | 580 |
580 bool channel_connected_; | 581 bool channel_connected_; |
581 bool sent_render_process_ready_; | 582 bool sent_render_process_ready_; |
582 | 583 |
583 #if defined(OS_ANDROID) | 584 #if defined(OS_ANDROID) |
584 // UI thread is the source of sync IPCs and all shutdown signals. | 585 // UI thread is the source of sync IPCs and all shutdown signals. |
585 // Therefore a proper shutdown event to unblock the UI thread is not | 586 // Therefore a proper shutdown event to unblock the UI thread is not |
586 // possible without massive refactoring shutdown code. | 587 // possible without massive refactoring shutdown code. |
587 // Luckily Android never performs a clean shutdown. So explicitly | 588 // Luckily Android never performs a clean shutdown. So explicitly |
588 // ignore this problem. | 589 // ignore this problem. |
(...skipping 21 matching lines...) Expand all Loading... |
610 instance_weak_factory_; | 611 instance_weak_factory_; |
611 | 612 |
612 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 613 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
613 | 614 |
614 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 615 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
615 }; | 616 }; |
616 | 617 |
617 } // namespace content | 618 } // namespace content |
618 | 619 |
619 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 620 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |