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

Unified Diff: services/fake_surfaces/fake_surfaces_service_application.h

Issue 882083003: Remove mojo.SurfacesService interface in favor of mojo.Surface directly (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/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 e807b16b1b4f30726b3228e551bfdad6bd185cf1..64880fffa8f162cc43f3c344e432a9b0c7680cf6 100644
--- a/services/fake_surfaces/fake_surfaces_service_application.h
+++ b/services/fake_surfaces/fake_surfaces_service_application.h
@@ -8,7 +8,7 @@
#include "base/macros.h"
#include "mojo/public/cpp/application/application_delegate.h"
#include "mojo/public/cpp/application/interface_factory.h"
-#include "mojo/services/surfaces/public/interfaces/surfaces_service.mojom.h"
+#include "mojo/services/surfaces/public/interfaces/surfaces.mojom.h"
namespace mojo {
class ApplicationConnection;
@@ -18,7 +18,6 @@ namespace fake_surfaces {
class FakeSurfacesServiceApplication
: public mojo::ApplicationDelegate,
- public mojo::InterfaceFactory<mojo::SurfacesService>,
public mojo::InterfaceFactory<mojo::Surface> {
public:
FakeSurfacesServiceApplication();
@@ -29,10 +28,6 @@ class FakeSurfacesServiceApplication
bool ConfigureIncomingConnection(
mojo::ApplicationConnection* connection) override;
- // InterfaceFactory<SurfacsService> implementation.
- 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;

Powered by Google App Engine
This is Rietveld 408576698