| 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 #endif | 198 #endif |
| 199 | 199 |
| 200 #ifdef ENABLE_VTUNE_JIT_INTERFACE | 200 #ifdef ENABLE_VTUNE_JIT_INTERFACE |
| 201 #include "v8/src/third_party/vtune/v8-vtune.h" | 201 #include "v8/src/third_party/vtune/v8-vtune.h" |
| 202 #endif | 202 #endif |
| 203 | 203 |
| 204 #if defined(MOJO_SHELL_CLIENT) && defined(USE_AURA) | 204 #if defined(MOJO_SHELL_CLIENT) && defined(USE_AURA) |
| 205 #include "content/public/common/mojo_shell_connection.h" | 205 #include "content/public/common/mojo_shell_connection.h" |
| 206 #include "content/renderer/mus/render_widget_mus_connection.h" | 206 #include "content/renderer/mus/render_widget_mus_connection.h" |
| 207 #include "content/renderer/mus/render_widget_window_tree_client_factory.h" | 207 #include "content/renderer/mus/render_widget_window_tree_client_factory.h" |
| 208 #include "services/ui/common/gpu_service.h" | 208 #include "services/ui/public/cpp/gpu_service.h" |
| 209 #endif | 209 #endif |
| 210 | 210 |
| 211 #if defined(ENABLE_IPC_FUZZER) | 211 #if defined(ENABLE_IPC_FUZZER) |
| 212 #include "content/common/external_ipc_dumper.h" | 212 #include "content/common/external_ipc_dumper.h" |
| 213 #endif | 213 #endif |
| 214 | 214 |
| 215 using base::ThreadRestrictions; | 215 using base::ThreadRestrictions; |
| 216 using blink::WebDocument; | 216 using blink::WebDocument; |
| 217 using blink::WebFrame; | 217 using blink::WebFrame; |
| 218 using blink::WebNetworkStateNotifier; | 218 using blink::WebNetworkStateNotifier; |
| (...skipping 2020 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2239 v8_memory_pressure_level == v8::MemoryPressureLevel::kCritical) | 2239 v8_memory_pressure_level == v8::MemoryPressureLevel::kCritical) |
| 2240 v8_memory_pressure_level = v8::MemoryPressureLevel::kModerate; | 2240 v8_memory_pressure_level = v8::MemoryPressureLevel::kModerate; |
| 2241 | 2241 |
| 2242 blink::mainThreadIsolate()->MemoryPressureNotification( | 2242 blink::mainThreadIsolate()->MemoryPressureNotification( |
| 2243 v8_memory_pressure_level); | 2243 v8_memory_pressure_level); |
| 2244 blink::MemoryPressureNotificationToWorkerThreadIsolates( | 2244 blink::MemoryPressureNotificationToWorkerThreadIsolates( |
| 2245 v8_memory_pressure_level); | 2245 v8_memory_pressure_level); |
| 2246 } | 2246 } |
| 2247 | 2247 |
| 2248 } // namespace content | 2248 } // namespace content |
| OLD | NEW |