Change type of MemoryCoordinatorImpl::ChildInfo::memory_state
This CL changes the type of MemoryCoordinatorImpl::ChildInfo::memory_state from mojom::MemoryState to base::MemoryState. The reason of this change is to avoid unnecessary type conversion. We are planning to add public interface of memory coordinator so that chrome/ can access memory state of each process. Since mojom::MemoryState is only accessible from content/ we have to convert mojom::MemoryState to base::MemoryState when we expose memory state outside content/. By storing states as base::MemoryState we can eliminate type conversion. BUG=673216 Review-Url: https://codereview.chromium.org/2586873002 Cr-Commit-Position: refs/heads/master@{#439734}
Showing
Please register or sign in to comment