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

Unified Diff: mojo/services/surfaces/surfaces_service_impl.h

Issue 687433002: Remove mojo/shell and (most) service implementations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove mojo/gles2, disable mojo apps in component build Created 6 years, 2 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: mojo/services/surfaces/surfaces_service_impl.h
diff --git a/mojo/services/surfaces/surfaces_service_impl.h b/mojo/services/surfaces/surfaces_service_impl.h
deleted file mode 100644
index 37df5107f642e893c9260e73936dfb203b2aa7cb..0000000000000000000000000000000000000000
--- a/mojo/services/surfaces/surfaces_service_impl.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MOJO_SERVICES_SURFACES_SURFACES_SERVICE_IMPL_H_
-#define MOJO_SERVICES_SURFACES_SURFACES_SERVICE_IMPL_H_
-
-#include "base/macros.h"
-#include "mojo/services/public/interfaces/surfaces/surfaces_service.mojom.h"
-#include "mojo/services/surfaces/surfaces_impl.h"
-
-namespace cc {
-class SurfaceManager;
-}
-
-namespace mojo {
-
-class SurfacesServiceImpl : public InterfaceImpl<SurfacesService> {
- public:
- // The instances pointed to by |manager|, |next_id_namespace| and |client| are
- // owned by the caller and must outlive the SurfacesServiceImpl instance.
- SurfacesServiceImpl(cc::SurfaceManager* manager,
- uint32_t* next_id_namespace,
- SurfacesImpl::Client* client);
- ~SurfacesServiceImpl() override;
-
- // InterfaceImpl<SurfacesService> implementation.
- void CreateSurfaceConnection(
- const mojo::Callback<void(mojo::SurfacePtr, uint32_t)>& callback)
- override;
-
- private:
- cc::SurfaceManager* manager_;
- uint32_t* next_id_namespace_;
- SurfacesImpl::Client* client_;
-
- DISALLOW_COPY_AND_ASSIGN(SurfacesServiceImpl);
-};
-
-} // namespace mojo
-
-#endif // MOJO_SERVICES_SURFACES_SURFACES_SERVICE_IMPL_H_
« no previous file with comments | « mojo/services/surfaces/surfaces_service_application.cc ('k') | mojo/services/surfaces/surfaces_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698