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

Unified Diff: services/ui/public/cpp/lib/mojo_buffer_backing.h

Issue 2184943002: services/ui: Move some files into the client lib. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@chrome-gpu-in-mus-windows
Patch Set: . Created 4 years, 5 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/ui/public/cpp/lib/mojo_buffer_backing.h
diff --git a/services/ui/common/mojo_buffer_backing.h b/services/ui/public/cpp/lib/mojo_buffer_backing.h
similarity index 74%
rename from services/ui/common/mojo_buffer_backing.h
rename to services/ui/public/cpp/lib/mojo_buffer_backing.h
index d01b7365038d712eb22949c2357ef2b4cacefdfa..9d9320b4c4b6be199dfdd98f2a0007188ecbd7aa 100644
--- a/services/ui/common/mojo_buffer_backing.h
+++ b/services/ui/public/cpp/lib/mojo_buffer_backing.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SERVICES_UI_COMMON_MOJO_BUFFER_BACKING_H_
-#define SERVICES_UI_COMMON_MOJO_BUFFER_BACKING_H_
+#ifndef SERVICES_UI_PUBLIC_CPP_LIB_MOJO_BUFFER_BACKING_H_
+#define SERVICES_UI_PUBLIC_CPP_LIB_MOJO_BUFFER_BACKING_H_
#include <stddef.h>
@@ -12,11 +12,10 @@
#include "base/macros.h"
#include "gpu/command_buffer/common/buffer.h"
#include "mojo/public/cpp/system/core.h"
-#include "services/ui/common/mus_common_export.h"
namespace ui {
-class MUS_COMMON_EXPORT MojoBufferBacking : public gpu::BufferBacking {
+class MojoBufferBacking : public gpu::BufferBacking {
public:
MojoBufferBacking(mojo::ScopedSharedBufferMapping mapping, size_t size);
~MojoBufferBacking() override;
@@ -37,4 +36,4 @@ class MUS_COMMON_EXPORT MojoBufferBacking : public gpu::BufferBacking {
} // namespace ui
-#endif // SERVICES_UI_COMMON_MOJO_BUFFER_BACKING_H_
+#endif // SERVICES_UI_PUBLIC_CPP_LIB_MOJO_BUFFER_BACKING_H_

Powered by Google App Engine
This is Rietveld 408576698