| Index: services/resource_coordinator/public/cpp/memory/memory_dump_manager_delegate_impl.cc
|
| diff --git a/services/memory_instrumentation/public/cpp/memory_dump_manager_delegate_impl.cc b/services/resource_coordinator/public/cpp/memory/memory_dump_manager_delegate_impl.cc
|
| similarity index 82%
|
| rename from services/memory_instrumentation/public/cpp/memory_dump_manager_delegate_impl.cc
|
| rename to services/resource_coordinator/public/cpp/memory/memory_dump_manager_delegate_impl.cc
|
| index 70e511a7c0ee81467d0467f05ce6427082739882..7072b6775487065afc73b76e77c2a5084d60d0d0 100644
|
| --- a/services/memory_instrumentation/public/cpp/memory_dump_manager_delegate_impl.cc
|
| +++ b/services/resource_coordinator/public/cpp/memory/memory_dump_manager_delegate_impl.cc
|
| @@ -2,12 +2,12 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "services/memory_instrumentation/public/cpp/memory_dump_manager_delegate_impl.h"
|
| +#include "services/resource_coordinator/public/cpp/memory/memory_dump_manager_delegate_impl.h"
|
|
|
| #include "base/trace_event/memory_dump_request_args.h"
|
| #include "mojo/public/cpp/bindings/interface_request.h"
|
| -#include "services/memory_instrumentation/public/cpp/coordinator.h"
|
| -#include "services/memory_instrumentation/public/interfaces/memory_instrumentation.mojom.h"
|
| +#include "services/resource_coordinator/public/cpp/memory/coordinator.h"
|
| +#include "services/resource_coordinator/public/interfaces/memory/memory_instrumentation.mojom.h"
|
| #include "services/service_manager/public/cpp/interface_provider.h"
|
|
|
| namespace memory_instrumentation {
|
| @@ -21,7 +21,8 @@ MemoryDumpManagerDelegateImpl::MemoryDumpManagerDelegateImpl(
|
| }
|
|
|
| MemoryDumpManagerDelegateImpl::MemoryDumpManagerDelegateImpl(
|
| - Coordinator* coordinator) : is_coordinator_(true), binding_(this) {
|
| + Coordinator* coordinator)
|
| + : is_coordinator_(true), binding_(this) {
|
| coordinator->BindCoordinatorRequest(mojo::MakeRequest(&coordinator_));
|
| coordinator_->RegisterProcessLocalDumpManager(
|
| binding_.CreateInterfacePtrAndBind());
|
|
|