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