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

Unified Diff: services/resource_coordinator/memory/coordinator/coordinator_impl.h

Issue 2690143004: NOCOMMIT: Rebased https://codereview.chromium.org/2696503004 on service rename
Patch Set: Rebase Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: services/resource_coordinator/memory/coordinator/coordinator_impl.h
diff --git a/services/resource_coordinator/memory/coordinator/coordinator_impl.h b/services/resource_coordinator/memory/coordinator/coordinator_impl.h
index 80ce6aee23efcad2ee470e69f654ec0a09ca1e77..ade2e0782aa1e542260cd689e6e9758fe14f7883 100644
--- a/services/resource_coordinator/memory/coordinator/coordinator_impl.h
+++ b/services/resource_coordinator/memory/coordinator/coordinator_impl.h
@@ -28,6 +28,7 @@ class CoordinatorImpl : public Coordinator, public mojom::Coordinator {
void BindCoordinatorRequest(mojom::CoordinatorRequest) override;
private:
+ friend std::default_delete<CoordinatorImpl>; // For testing
friend class CoordinatorImplTest; // For testing
friend struct base::DefaultLazyInstanceTraits<CoordinatorImpl>;
@@ -39,6 +40,7 @@ class CoordinatorImpl : public Coordinator, public mojom::Coordinator {
const RequestGlobalMemoryDumpCallback callback;
};
+ explicit CoordinatorImpl(bool register_as_process_local_dump_manager);
CoordinatorImpl();
~CoordinatorImpl() override;
« no previous file with comments | « services/resource_coordinator/BUILD.gn ('k') | services/resource_coordinator/memory/coordinator/coordinator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698