| 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 #include "content/renderer/render_thread_impl.h" | 5 #include "content/renderer/render_thread_impl.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <limits> | 8 #include <limits> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 #include "content/child/indexed_db/indexed_db_message_filter.h" | 62 #include "content/child/indexed_db/indexed_db_message_filter.h" |
| 63 #include "content/child/resource_dispatcher.h" | 63 #include "content/child/resource_dispatcher.h" |
| 64 #include "content/child/resource_scheduling_filter.h" | 64 #include "content/child/resource_scheduling_filter.h" |
| 65 #include "content/child/runtime_features.h" | 65 #include "content/child/runtime_features.h" |
| 66 #include "content/child/thread_safe_sender.h" | 66 #include "content/child/thread_safe_sender.h" |
| 67 #include "content/child/web_database_observer_impl.h" | 67 #include "content/child/web_database_observer_impl.h" |
| 68 #include "content/child/websocket_message_filter.h" | 68 #include "content/child/websocket_message_filter.h" |
| 69 #include "content/child/worker_thread_registry.h" | 69 #include "content/child/worker_thread_registry.h" |
| 70 #include "content/common/child_process_messages.h" | 70 #include "content/common/child_process_messages.h" |
| 71 #include "content/common/content_constants_internal.h" | 71 #include "content/common/content_constants_internal.h" |
| 72 #include "content/common/database_messages.h" | |
| 73 #include "content/common/dom_storage/dom_storage_messages.h" | 72 #include "content/common/dom_storage/dom_storage_messages.h" |
| 74 #include "content/common/frame_messages.h" | 73 #include "content/common/frame_messages.h" |
| 75 #include "content/common/gpu/client/context_provider_command_buffer.h" | 74 #include "content/common/gpu/client/context_provider_command_buffer.h" |
| 76 #include "content/common/gpu_process_launch_causes.h" | 75 #include "content/common/gpu_process_launch_causes.h" |
| 77 #include "content/common/render_process_messages.h" | 76 #include "content/common/render_process_messages.h" |
| 78 #include "content/common/resource_messages.h" | 77 #include "content/common/resource_messages.h" |
| 79 #include "content/common/service_worker/embedded_worker_setup.mojom.h" | 78 #include "content/common/service_worker/embedded_worker_setup.mojom.h" |
| 80 #include "content/common/view_messages.h" | 79 #include "content/common/view_messages.h" |
| 81 #include "content/common/worker_messages.h" | 80 #include "content/common/worker_messages.h" |
| 82 #include "content/public/common/content_constants.h" | 81 #include "content/public/common/content_constants.h" |
| (...skipping 2004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2087 v8_memory_pressure_level == v8::MemoryPressureLevel::kCritical) | 2086 v8_memory_pressure_level == v8::MemoryPressureLevel::kCritical) |
| 2088 v8_memory_pressure_level = v8::MemoryPressureLevel::kModerate; | 2087 v8_memory_pressure_level = v8::MemoryPressureLevel::kModerate; |
| 2089 | 2088 |
| 2090 blink::mainThreadIsolate()->MemoryPressureNotification( | 2089 blink::mainThreadIsolate()->MemoryPressureNotification( |
| 2091 v8_memory_pressure_level); | 2090 v8_memory_pressure_level); |
| 2092 blink::MemoryPressureNotificationToWorkerThreadIsolates( | 2091 blink::MemoryPressureNotificationToWorkerThreadIsolates( |
| 2093 v8_memory_pressure_level); | 2092 v8_memory_pressure_level); |
| 2094 } | 2093 } |
| 2095 | 2094 |
| 2096 } // namespace content | 2095 } // namespace content |
| OLD | NEW |