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

Unified Diff: services/ui/service.h

Issue 2548423002: Hosting the discardable memory service in the mus process (Closed)
Patch Set: WIP Created 4 years 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/ui/service.h
diff --git a/services/ui/service.h b/services/ui/service.h
index 30606d8576bd5b4597ffb52d167d4d596ce358f4..426de56f2fb1d82e75b8f424b61f43767f2ce074 100644
--- a/services/ui/service.h
+++ b/services/ui/service.h
@@ -13,6 +13,7 @@
#include <vector>
#include "base/macros.h"
+#include "components/discardable_memory/public/interfaces/discardable_shared_memory_manager.mojom.h"
#include "services/service_manager/public/cpp/interface_factory.h"
#include "services/service_manager/public/cpp/service.h"
#include "services/service_manager/public/cpp/service_runner.h"
@@ -76,6 +77,8 @@ class Service
mojom::WindowManagerWindowTreeFactory>,
public service_manager::InterfaceFactory<mojom::WindowTreeFactory>,
public service_manager::InterfaceFactory<mojom::WindowTreeHostFactory>,
+ public service_manager::InterfaceFactory<
+ discardable_memory::mojom::DiscardableSharedMemoryManager>,
public service_manager::InterfaceFactory<mojom::WindowServerTest> {
public:
Service();
@@ -158,6 +161,12 @@ class Service
void Create(const service_manager::Identity& remote_identity,
mojom::WindowTreeHostFactoryRequest request) override;
+ // service_manager::InterfaceFactory<
+ // discardable_memory::mojom::DiscardableSharedMemoryManager>:
+ void Create(const service_manager::Identity& remote_identity,
+ discardable_memory::mojom::DiscardableSharedMemoryManagerRequest
+ request) override;
+
// service_manager::InterfaceFactory<mojom::WindowServerTest> implementation.
void Create(const service_manager::Identity& remote_identity,
mojom::WindowServerTestRequest request) override;

Powered by Google App Engine
This is Rietveld 408576698