Index: services/fake_surfaces/fake_surfaces_service_application.h |
diff --git a/services/fake_surfaces/fake_surfaces_service_application.h b/services/fake_surfaces/fake_surfaces_service_application.h |
index 5e7934ec774af3929efd619f84ec6c6e056ac970..e807b16b1b4f30726b3228e551bfdad6bd185cf1 100644 |
--- a/services/fake_surfaces/fake_surfaces_service_application.h |
+++ b/services/fake_surfaces/fake_surfaces_service_application.h |
@@ -18,7 +18,8 @@ namespace fake_surfaces { |
class FakeSurfacesServiceApplication |
: public mojo::ApplicationDelegate, |
- public mojo::InterfaceFactory<mojo::SurfacesService> { |
+ public mojo::InterfaceFactory<mojo::SurfacesService>, |
+ public mojo::InterfaceFactory<mojo::Surface> { |
public: |
FakeSurfacesServiceApplication(); |
~FakeSurfacesServiceApplication() override; |
@@ -32,6 +33,10 @@ class FakeSurfacesServiceApplication |
void Create(mojo::ApplicationConnection* connection, |
mojo::InterfaceRequest<mojo::SurfacesService> request) override; |
+ // InterfaceFactory<mojo::Surface> implementation. |
+ void Create(mojo::ApplicationConnection* connection, |
+ mojo::InterfaceRequest<mojo::Surface> request) override; |
+ |
private: |
uint32_t next_id_namespace_; |