| 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 20 matching lines...) Expand all Loading... |
| 31 #include "ipc/ipc_channel_proxy.h" | 31 #include "ipc/ipc_channel_proxy.h" |
| 32 #include "ipc/ipc_platform_file.h" | 32 #include "ipc/ipc_platform_file.h" |
| 33 #include "mojo/public/cpp/bindings/associated_binding.h" | 33 #include "mojo/public/cpp/bindings/associated_binding.h" |
| 34 #include "mojo/public/cpp/bindings/associated_binding_set.h" | 34 #include "mojo/public/cpp/bindings/associated_binding_set.h" |
| 35 #include "mojo/public/cpp/bindings/interface_ptr.h" | 35 #include "mojo/public/cpp/bindings/interface_ptr.h" |
| 36 #include "services/shell/public/cpp/interface_registry.h" | 36 #include "services/shell/public/cpp/interface_registry.h" |
| 37 #include "services/shell/public/interfaces/service.mojom.h" | 37 #include "services/shell/public/interfaces/service.mojom.h" |
| 38 #include "ui/gfx/gpu_memory_buffer.h" | 38 #include "ui/gfx/gpu_memory_buffer.h" |
| 39 #include "ui/gl/gpu_switching_observer.h" | 39 #include "ui/gl/gpu_switching_observer.h" |
| 40 | 40 |
| 41 #if defined(OS_ANDROID) | |
| 42 #include "content/public/browser/android/interface_registry_android.h" | |
| 43 #endif | |
| 44 | |
| 45 namespace base { | 41 namespace base { |
| 46 class CommandLine; | 42 class CommandLine; |
| 47 class MessageLoop; | 43 class MessageLoop; |
| 48 class SharedPersistentMemoryAllocator; | 44 class SharedPersistentMemoryAllocator; |
| 49 } | 45 } |
| 50 | 46 |
| 51 namespace gfx { | 47 namespace gfx { |
| 52 class Size; | 48 class Size; |
| 53 } | 49 } |
| 54 | 50 |
| (...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 instance_weak_factory_->GetWeakPtr(), callback), | 421 instance_weak_factory_->GetWeakPtr(), callback), |
| 426 BrowserThread::GetTaskRunnerForThread(BrowserThread::UI)); | 422 BrowserThread::GetTaskRunnerForThread(BrowserThread::UI)); |
| 427 } | 423 } |
| 428 | 424 |
| 429 std::string child_token_; | 425 std::string child_token_; |
| 430 | 426 |
| 431 std::unique_ptr<MojoChildConnection> mojo_child_connection_; | 427 std::unique_ptr<MojoChildConnection> mojo_child_connection_; |
| 432 int connection_filter_id_ = MojoShellConnection::kInvalidConnectionFilterId; | 428 int connection_filter_id_ = MojoShellConnection::kInvalidConnectionFilterId; |
| 433 scoped_refptr<ConnectionFilterController> connection_filter_controller_; | 429 scoped_refptr<ConnectionFilterController> connection_filter_controller_; |
| 434 shell::mojom::ServicePtr test_service_; | 430 shell::mojom::ServicePtr test_service_; |
| 435 #if defined(OS_ANDROID) | |
| 436 std::unique_ptr<InterfaceRegistryAndroid> interface_registry_android_; | |
| 437 #endif | |
| 438 | 431 |
| 439 size_t service_worker_ref_count_; | 432 size_t service_worker_ref_count_; |
| 440 size_t shared_worker_ref_count_; | 433 size_t shared_worker_ref_count_; |
| 441 | 434 |
| 442 // Set in ForceReleaseWorkerRefCounts. When true, worker ref counts must no | 435 // Set in ForceReleaseWorkerRefCounts. When true, worker ref counts must no |
| 443 // longer be modified. | 436 // longer be modified. |
| 444 bool is_worker_ref_count_disabled_; | 437 bool is_worker_ref_count_disabled_; |
| 445 | 438 |
| 446 // The registered IPC listener objects. When this list is empty, we should | 439 // The registered IPC listener objects. When this list is empty, we should |
| 447 // delete ourselves. | 440 // delete ourselves. |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 instance_weak_factory_; | 591 instance_weak_factory_; |
| 599 | 592 |
| 600 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 593 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 601 | 594 |
| 602 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 595 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 603 }; | 596 }; |
| 604 | 597 |
| 605 } // namespace content | 598 } // namespace content |
| 606 | 599 |
| 607 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 600 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |