|
|
Re-reland: Add MemoryCoordinator
This is fourth attempt... Pass InterfacePtr instead of InterfaceRegistry
to avoid dependency from components/memory_coordinator to shell/services
Original description:
This CL adds MemoryCoordinator mojo interface and
its implementation. When --enable-features=MemoryCoordinator
is specified the browser and renderers create their
MemoryCoordinators. MemoryCoordinatorImpl (which lives in
the browser process) creates a mojo message pipe when a
renderer is launched.
This CL doesn't add actual handling of memory events, which
will be implemented in follow-up CLs.
BUG= 617492
TBR=chrisha@chromium.org,haraken@chromium.org,dcheng@chromium.org,jam@chromium.org
Committed: https://crrev.com/77f19b3affd0f29a77d1db1eebb6cc00e5a45898
Cr-Commit-Position: refs/heads/master@{#406247}
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+369 lines, -35 lines) |
Patch |
 |
M |
components/memory_coordinator.gypi
|
View
|
1
|
2 chunks |
+19 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/memory_coordinator/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A + |
components/memory_coordinator/browser/BUILD.gn
|
View
|
|
1 chunk |
+9 lines, -3 lines |
0 comments
|
Download
|
 |
A |
components/memory_coordinator/browser/memory_coordinator.h
|
View
|
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/memory_coordinator/browser/memory_coordinator.cc
|
View
|
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/memory_coordinator/child/BUILD.gn
|
View
|
1
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/memory_coordinator/child/child_memory_coordinator_impl.h
|
View
|
1
2
3
|
2 chunks |
+13 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/memory_coordinator/child/child_memory_coordinator_impl.cc
|
View
|
1
2
3
4
|
1 chunk |
+16 lines, -5 lines |
0 comments
|
Download
|
 |
M |
components/memory_coordinator/child/child_memory_coordinator_impl_unittest.cc
|
View
|
1
2
3
4
|
5 chunks |
+46 lines, -19 lines |
0 comments
|
Download
|
 |
M |
components/memory_coordinator/common/BUILD.gn
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/memory_coordinator/common/memory_coordinator_features.h
|
View
|
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/memory_coordinator/common/memory_coordinator_features.cc
|
View
|
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/memory_coordinator/public/interfaces/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
components/memory_coordinator/public/interfaces/memory_coordinator.mojom
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/DEPS
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_main_loop.h
|
View
|
|
3 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_main_loop.cc
|
View
|
1
2
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/memory/memory_coordinator_browsertest.cc
|
View
|
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
|
3 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_browser.gypi
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_renderer.gypi
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_tests.gypi
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_thread_impl.h
|
View
|
1
2
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_thread_impl.cc
|
View
|
1
2
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/test/BUILD.gn
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 26 (16 generated)
|