Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Side by Side Diff: content/renderer/render_thread_impl.cc

Issue 2111353002: Move content's shell connections to the IO thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 #include "ipc/ipc_platform_file.h" 135 #include "ipc/ipc_platform_file.h"
136 #include "media/base/audio_hardware_config.h" 136 #include "media/base/audio_hardware_config.h"
137 #include "media/base/media.h" 137 #include "media/base/media.h"
138 #include "media/renderers/gpu_video_accelerator_factories.h" 138 #include "media/renderers/gpu_video_accelerator_factories.h"
139 #include "mojo/common/common_type_converters.h" 139 #include "mojo/common/common_type_converters.h"
140 #include "mojo/public/cpp/bindings/strong_binding.h" 140 #include "mojo/public/cpp/bindings/strong_binding.h"
141 #include "net/base/net_errors.h" 141 #include "net/base/net_errors.h"
142 #include "net/base/port_util.h" 142 #include "net/base/port_util.h"
143 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" 143 #include "net/base/registry_controlled_domains/registry_controlled_domain.h"
144 #include "net/base/url_util.h" 144 #include "net/base/url_util.h"
145 #include "services/shell/public/cpp/interface_provider.h"
146 #include "services/shell/public/cpp/interface_registry.h"
145 #include "skia/ext/event_tracer_impl.h" 147 #include "skia/ext/event_tracer_impl.h"
146 #include "skia/ext/skia_memory_dump_provider.h" 148 #include "skia/ext/skia_memory_dump_provider.h"
147 #include "third_party/WebKit/public/platform/WebImageGenerator.h" 149 #include "third_party/WebKit/public/platform/WebImageGenerator.h"
148 #include "third_party/WebKit/public/platform/WebString.h" 150 #include "third_party/WebKit/public/platform/WebString.h"
149 #include "third_party/WebKit/public/platform/WebThread.h" 151 #include "third_party/WebKit/public/platform/WebThread.h"
150 #include "third_party/WebKit/public/web/WebCache.h" 152 #include "third_party/WebKit/public/web/WebCache.h"
151 #include "third_party/WebKit/public/web/WebDatabase.h" 153 #include "third_party/WebKit/public/web/WebDatabase.h"
152 #include "third_party/WebKit/public/web/WebDocument.h" 154 #include "third_party/WebKit/public/web/WebDocument.h"
153 #include "third_party/WebKit/public/web/WebFrame.h" 155 #include "third_party/WebKit/public/web/WebFrame.h"
154 #include "third_party/WebKit/public/web/WebKit.h" 156 #include "third_party/WebKit/public/web/WebKit.h"
(...skipping 2071 matching lines...) Expand 10 before | Expand all | Expand 10 after
2226 v8_memory_pressure_level == v8::MemoryPressureLevel::kCritical) 2228 v8_memory_pressure_level == v8::MemoryPressureLevel::kCritical)
2227 v8_memory_pressure_level = v8::MemoryPressureLevel::kModerate; 2229 v8_memory_pressure_level = v8::MemoryPressureLevel::kModerate;
2228 2230
2229 blink::mainThreadIsolate()->MemoryPressureNotification( 2231 blink::mainThreadIsolate()->MemoryPressureNotification(
2230 v8_memory_pressure_level); 2232 v8_memory_pressure_level);
2231 blink::MemoryPressureNotificationToWorkerThreadIsolates( 2233 blink::MemoryPressureNotificationToWorkerThreadIsolates(
2232 v8_memory_pressure_level); 2234 v8_memory_pressure_level);
2233 } 2235 }
2234 2236
2235 } // namespace content 2237 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698