| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 // Represents the browser side of the browser <--> renderer communication | 5 // Represents the browser side of the browser <--> renderer communication |
| 6 // channel. There will be one RenderProcessHost per renderer process. | 6 // channel. There will be one RenderProcessHost per renderer process. |
| 7 | 7 |
| 8 #include "content/browser/renderer_host/render_process_host_impl.h" | 8 #include "content/browser/renderer_host/render_process_host_impl.h" |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 #include "content/browser/dom_storage/dom_storage_message_filter.h" | 71 #include "content/browser/dom_storage/dom_storage_message_filter.h" |
| 72 #include "content/browser/fileapi/fileapi_message_filter.h" | 72 #include "content/browser/fileapi/fileapi_message_filter.h" |
| 73 #include "content/browser/frame_host/render_frame_message_filter.h" | 73 #include "content/browser/frame_host/render_frame_message_filter.h" |
| 74 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h" | 74 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h" |
| 75 #include "content/browser/gpu/compositor_util.h" | 75 #include "content/browser/gpu/compositor_util.h" |
| 76 #include "content/browser/gpu/gpu_client.h" | 76 #include "content/browser/gpu/gpu_client.h" |
| 77 #include "content/browser/gpu/gpu_data_manager_impl.h" | 77 #include "content/browser/gpu/gpu_data_manager_impl.h" |
| 78 #include "content/browser/gpu/gpu_process_host.h" | 78 #include "content/browser/gpu/gpu_process_host.h" |
| 79 #include "content/browser/gpu/shader_cache_factory.h" | 79 #include "content/browser/gpu/shader_cache_factory.h" |
| 80 #include "content/browser/histogram_message_filter.h" | 80 #include "content/browser/histogram_message_filter.h" |
| 81 #include "content/browser/image_capture/image_capture_impl.h" |
| 81 #include "content/browser/indexed_db/indexed_db_context_impl.h" | 82 #include "content/browser/indexed_db/indexed_db_context_impl.h" |
| 82 #include "content/browser/indexed_db/indexed_db_dispatcher_host.h" | 83 #include "content/browser/indexed_db/indexed_db_dispatcher_host.h" |
| 83 #include "content/browser/loader/resource_message_filter.h" | 84 #include "content/browser/loader/resource_message_filter.h" |
| 84 #include "content/browser/loader/resource_scheduler_filter.h" | 85 #include "content/browser/loader/resource_scheduler_filter.h" |
| 85 #include "content/browser/loader/url_loader_factory_impl.h" | 86 #include "content/browser/loader/url_loader_factory_impl.h" |
| 86 #include "content/browser/media/capture/audio_mirroring_manager.h" | 87 #include "content/browser/media/capture/audio_mirroring_manager.h" |
| 87 #include "content/browser/media/capture/image_capture_impl.h" | |
| 88 #include "content/browser/media/media_internals.h" | 88 #include "content/browser/media/media_internals.h" |
| 89 #include "content/browser/media/midi_host.h" | 89 #include "content/browser/media/midi_host.h" |
| 90 #include "content/browser/memory/memory_coordinator_impl.h" | 90 #include "content/browser/memory/memory_coordinator_impl.h" |
| 91 #include "content/browser/memory/memory_message_filter.h" | 91 #include "content/browser/memory/memory_message_filter.h" |
| 92 #include "content/browser/mime_registry_impl.h" | 92 #include "content/browser/mime_registry_impl.h" |
| 93 #include "content/browser/notifications/notification_message_filter.h" | 93 #include "content/browser/notifications/notification_message_filter.h" |
| 94 #include "content/browser/notifications/platform_notification_context_impl.h" | 94 #include "content/browser/notifications/platform_notification_context_impl.h" |
| 95 #include "content/browser/payments/payment_app_manager.h" | 95 #include "content/browser/payments/payment_app_manager.h" |
| 96 #include "content/browser/permissions/permission_service_context.h" | 96 #include "content/browser/permissions/permission_service_context.h" |
| 97 #include "content/browser/permissions/permission_service_impl.h" | 97 #include "content/browser/permissions/permission_service_impl.h" |
| (...skipping 2973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3071 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3071 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3072 | 3072 |
| 3073 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3073 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3074 // Capture the error message in a crash key value. | 3074 // Capture the error message in a crash key value. |
| 3075 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3075 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3076 bad_message::ReceivedBadMessage(render_process_id, | 3076 bad_message::ReceivedBadMessage(render_process_id, |
| 3077 bad_message::RPH_MOJO_PROCESS_ERROR); | 3077 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3078 } | 3078 } |
| 3079 | 3079 |
| 3080 } // namespace content | 3080 } // namespace content |
| OLD | NEW |