| 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/renderer_blink_platform_impl.h" | 5 #include "content/renderer/renderer_blink_platform_impl.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 #include "third_party/WebKit/public/platform/FilePathConversion.h" | 88 #include "third_party/WebKit/public/platform/FilePathConversion.h" |
| 89 #include "third_party/WebKit/public/platform/URLConversion.h" | 89 #include "third_party/WebKit/public/platform/URLConversion.h" |
| 90 #include "third_party/WebKit/public/platform/WebAudioLatencyHint.h" | 90 #include "third_party/WebKit/public/platform/WebAudioLatencyHint.h" |
| 91 #include "third_party/WebKit/public/platform/WebBlobRegistry.h" | 91 #include "third_party/WebKit/public/platform/WebBlobRegistry.h" |
| 92 #include "third_party/WebKit/public/platform/WebDeviceLightListener.h" | 92 #include "third_party/WebKit/public/platform/WebDeviceLightListener.h" |
| 93 #include "third_party/WebKit/public/platform/WebFileInfo.h" | 93 #include "third_party/WebKit/public/platform/WebFileInfo.h" |
| 94 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" | 94 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" |
| 95 #include "third_party/WebKit/public/platform/WebMediaStreamCenterClient.h" | 95 #include "third_party/WebKit/public/platform/WebMediaStreamCenterClient.h" |
| 96 #include "third_party/WebKit/public/platform/WebPluginListBuilder.h" | 96 #include "third_party/WebKit/public/platform/WebPluginListBuilder.h" |
| 97 #include "third_party/WebKit/public/platform/WebSecurityOrigin.h" | 97 #include "third_party/WebKit/public/platform/WebSecurityOrigin.h" |
| 98 #include "third_party/WebKit/public/platform/WebThread.h" |
| 98 #include "third_party/WebKit/public/platform/WebURL.h" | 99 #include "third_party/WebKit/public/platform/WebURL.h" |
| 99 #include "third_party/WebKit/public/platform/WebVector.h" | 100 #include "third_party/WebKit/public/platform/WebVector.h" |
| 100 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eMotionListener.h" | 101 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eMotionListener.h" |
| 101 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eOrientationListener.h" | 102 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eOrientationListener.h" |
| 102 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul
er.h" | 103 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul
er.h" |
| 103 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 104 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
| 104 #include "url/gurl.h" | 105 #include "url/gurl.h" |
| 105 | 106 |
| 106 #if defined(OS_MACOSX) | 107 #if defined(OS_MACOSX) |
| 107 #include "content/common/mac/font_descriptor.h" | 108 #include "content/common/mac/font_descriptor.h" |
| (...skipping 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1290 //------------------------------------------------------------------------------ | 1291 //------------------------------------------------------------------------------ |
| 1291 void RendererBlinkPlatformImpl::RequestPurgeMemory() { | 1292 void RendererBlinkPlatformImpl::RequestPurgeMemory() { |
| 1292 // TODO(tasak|bashi): We should use ChildMemoryCoordinator here, but | 1293 // TODO(tasak|bashi): We should use ChildMemoryCoordinator here, but |
| 1293 // ChildMemoryCoordinator isn't always available as it's only initialized | 1294 // ChildMemoryCoordinator isn't always available as it's only initialized |
| 1294 // when kMemoryCoordinatorV0 is enabled. | 1295 // when kMemoryCoordinatorV0 is enabled. |
| 1295 // Use ChildMemoryCoordinator when memory coordinator is always enabled. | 1296 // Use ChildMemoryCoordinator when memory coordinator is always enabled. |
| 1296 base::MemoryCoordinatorClientRegistry::GetInstance()->PurgeMemory(); | 1297 base::MemoryCoordinatorClientRegistry::GetInstance()->PurgeMemory(); |
| 1297 } | 1298 } |
| 1298 | 1299 |
| 1299 } // namespace content | 1300 } // namespace content |
| OLD | NEW |