| 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 #include "services/service_manager/runner/common/switches.h" | 195 #include "services/service_manager/runner/common/switches.h" |
| 196 #include "services/shape_detection/public/interfaces/barcodedetection.mojom.h" | 196 #include "services/shape_detection/public/interfaces/barcodedetection.mojom.h" |
| 197 #include "services/shape_detection/public/interfaces/constants.mojom.h" | 197 #include "services/shape_detection/public/interfaces/constants.mojom.h" |
| 198 #include "services/shape_detection/public/interfaces/facedetection_provider.mojo
m.h" | 198 #include "services/shape_detection/public/interfaces/facedetection_provider.mojo
m.h" |
| 199 #include "services/shape_detection/public/interfaces/textdetection.mojom.h" | 199 #include "services/shape_detection/public/interfaces/textdetection.mojom.h" |
| 200 #include "storage/browser/fileapi/sandbox_file_system_backend.h" | 200 #include "storage/browser/fileapi/sandbox_file_system_backend.h" |
| 201 #include "third_party/WebKit/public/public_features.h" | 201 #include "third_party/WebKit/public/public_features.h" |
| 202 #include "third_party/skia/include/core/SkBitmap.h" | 202 #include "third_party/skia/include/core/SkBitmap.h" |
| 203 #include "ui/base/ui_base_switches.h" | 203 #include "ui/base/ui_base_switches.h" |
| 204 #include "ui/display/display_switches.h" | 204 #include "ui/display/display_switches.h" |
| 205 #include "ui/gfx/switches.h" | 205 #include "ui/gfx/color_space_switches.h" |
| 206 #include "ui/gl/gl_switches.h" | 206 #include "ui/gl/gl_switches.h" |
| 207 #include "ui/gl/gpu_switching_manager.h" | 207 #include "ui/gl/gpu_switching_manager.h" |
| 208 #include "ui/native_theme/native_theme_features.h" | 208 #include "ui/native_theme/native_theme_features.h" |
| 209 | 209 |
| 210 #if defined(OS_ANDROID) | 210 #if defined(OS_ANDROID) |
| 211 #include "content/public/browser/android/java_interfaces.h" | 211 #include "content/public/browser/android/java_interfaces.h" |
| 212 #include "ipc/ipc_sync_channel.h" | 212 #include "ipc/ipc_sync_channel.h" |
| 213 #include "media/audio/android/audio_manager_android.h" | 213 #include "media/audio/android/audio_manager_android.h" |
| 214 #endif | 214 #endif |
| 215 | 215 |
| (...skipping 3413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3629 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3629 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3630 | 3630 |
| 3631 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3631 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3632 // Capture the error message in a crash key value. | 3632 // Capture the error message in a crash key value. |
| 3633 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3633 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3634 bad_message::ReceivedBadMessage(render_process_id, | 3634 bad_message::ReceivedBadMessage(render_process_id, |
| 3635 bad_message::RPH_MOJO_PROCESS_ERROR); | 3635 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3636 } | 3636 } |
| 3637 | 3637 |
| 3638 } // namespace content | 3638 } // namespace content |
| OLD | NEW |