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

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

Issue 2252743002: Revert of Add MemoryCoordinatorClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/core.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 #include "mojo/public/cpp/bindings/strong_binding.h" 136 #include "mojo/public/cpp/bindings/strong_binding.h"
137 #include "net/base/net_errors.h" 137 #include "net/base/net_errors.h"
138 #include "net/base/port_util.h" 138 #include "net/base/port_util.h"
139 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" 139 #include "net/base/registry_controlled_domains/registry_controlled_domain.h"
140 #include "net/base/url_util.h" 140 #include "net/base/url_util.h"
141 #include "services/shell/public/cpp/interface_provider.h" 141 #include "services/shell/public/cpp/interface_provider.h"
142 #include "services/shell/public/cpp/interface_registry.h" 142 #include "services/shell/public/cpp/interface_registry.h"
143 #include "skia/ext/event_tracer_impl.h" 143 #include "skia/ext/event_tracer_impl.h"
144 #include "skia/ext/skia_memory_dump_provider.h" 144 #include "skia/ext/skia_memory_dump_provider.h"
145 #include "third_party/WebKit/public/platform/WebImageGenerator.h" 145 #include "third_party/WebKit/public/platform/WebImageGenerator.h"
146 #include "third_party/WebKit/public/platform/WebMemoryCoordinator.h"
147 #include "third_party/WebKit/public/platform/WebString.h" 146 #include "third_party/WebKit/public/platform/WebString.h"
148 #include "third_party/WebKit/public/platform/WebThread.h" 147 #include "third_party/WebKit/public/platform/WebThread.h"
149 #include "third_party/WebKit/public/platform/scheduler/child/compositor_worker_s cheduler.h" 148 #include "third_party/WebKit/public/platform/scheduler/child/compositor_worker_s cheduler.h"
150 #include "third_party/WebKit/public/platform/scheduler/child/webthread_impl_for_ worker_scheduler.h" 149 #include "third_party/WebKit/public/platform/scheduler/child/webthread_impl_for_ worker_scheduler.h"
151 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul er.h" 150 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul er.h"
152 #include "third_party/WebKit/public/web/WebCache.h" 151 #include "third_party/WebKit/public/web/WebCache.h"
153 #include "third_party/WebKit/public/web/WebDatabase.h" 152 #include "third_party/WebKit/public/web/WebDatabase.h"
154 #include "third_party/WebKit/public/web/WebDocument.h" 153 #include "third_party/WebKit/public/web/WebDocument.h"
155 #include "third_party/WebKit/public/web/WebFrame.h" 154 #include "third_party/WebKit/public/web/WebFrame.h"
156 #include "third_party/WebKit/public/web/WebKit.h" 155 #include "third_party/WebKit/public/web/WebKit.h"
156 #include "third_party/WebKit/public/web/WebMemoryCoordinator.h"
157 #include "third_party/WebKit/public/web/WebNetworkStateNotifier.h" 157 #include "third_party/WebKit/public/web/WebNetworkStateNotifier.h"
158 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" 158 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
159 #include "third_party/WebKit/public/web/WebScriptController.h" 159 #include "third_party/WebKit/public/web/WebScriptController.h"
160 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" 160 #include "third_party/WebKit/public/web/WebSecurityPolicy.h"
161 #include "third_party/WebKit/public/web/WebView.h" 161 #include "third_party/WebKit/public/web/WebView.h"
162 #include "third_party/icu/source/i18n/unicode/timezone.h" 162 #include "third_party/icu/source/i18n/unicode/timezone.h"
163 #include "third_party/skia/include/core/SkGraphics.h" 163 #include "third_party/skia/include/core/SkGraphics.h"
164 #include "ui/base/layout.h" 164 #include "ui/base/layout.h"
165 #include "ui/base/ui_base_switches.h" 165 #include "ui/base/ui_base_switches.h"
166 166
(...skipping 2070 matching lines...) Expand 10 before | Expand all | Expand 10 after
2237 v8_memory_pressure_level == v8::MemoryPressureLevel::kCritical) 2237 v8_memory_pressure_level == v8::MemoryPressureLevel::kCritical)
2238 v8_memory_pressure_level = v8::MemoryPressureLevel::kModerate; 2238 v8_memory_pressure_level = v8::MemoryPressureLevel::kModerate;
2239 2239
2240 blink::mainThreadIsolate()->MemoryPressureNotification( 2240 blink::mainThreadIsolate()->MemoryPressureNotification(
2241 v8_memory_pressure_level); 2241 v8_memory_pressure_level);
2242 blink::MemoryPressureNotificationToWorkerThreadIsolates( 2242 blink::MemoryPressureNotificationToWorkerThreadIsolates(
2243 v8_memory_pressure_level); 2243 v8_memory_pressure_level);
2244 } 2244 }
2245 2245
2246 } // namespace content 2246 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698