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

Unified Diff: ui/aura/mus/gpu_service.cc

Issue 2464123003: Enabling Aura-Mus clients to submit frames to Mus. (Closed)
Patch Set: Rebase, addressing feedback, removing some unneded imports/deps. Created 4 years, 1 month 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
« no previous file with comments | « ui/aura/mus/gpu_service.h ('k') | ui/aura/mus/mojo_gpu_memory_buffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/gpu_service.cc
diff --git a/services/ui/public/cpp/gpu_service.cc b/ui/aura/mus/gpu_service.cc
similarity index 96%
copy from services/ui/public/cpp/gpu_service.cc
copy to ui/aura/mus/gpu_service.cc
index 3fb144944bcf16c57d38a87e20d2f8bcc5b393cf..2e1e22a3081210ffc1db121a6145a068b0f4b202 100644
--- a/services/ui/public/cpp/gpu_service.cc
+++ b/ui/aura/mus/gpu_service.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "services/ui/public/cpp/gpu_service.h"
+#include "ui/aura/mus/gpu_service.h"
#include "base/command_line.h"
#include "base/memory/singleton.h"
@@ -11,11 +11,10 @@
#include "mojo/public/cpp/bindings/sync_call_restrictions.h"
#include "mojo/public/cpp/system/platform_handle.h"
#include "services/service_manager/public/cpp/connector.h"
-#include "services/ui/common/switches.h"
-#include "services/ui/public/cpp/mojo_gpu_memory_buffer_manager.h"
#include "services/ui/public/interfaces/gpu_service.mojom.h"
+#include "ui/aura/mus/mojo_gpu_memory_buffer_manager.h"
-namespace ui {
+namespace aura {
GpuService::GpuService(service_manager::Connector* connector,
scoped_refptr<base::SingleThreadTaskRunner> task_runner)
@@ -152,4 +151,4 @@ std::unique_ptr<base::SharedMemory> GpuService::AllocateSharedMemory(
return base::MakeUnique<base::SharedMemory>(platform_handle, readonly);
}
-} // namespace ui
+} // namespace aura
« no previous file with comments | « ui/aura/mus/gpu_service.h ('k') | ui/aura/mus/mojo_gpu_memory_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698