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

Unified Diff: services/ui/public/cpp/gpu_service.cc

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, 4 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
« no previous file with comments | « services/ui/public/cpp/gpu_service.h ('k') | services/ui/public/cpp/mojo_buffer_backing.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/gpu_service.cc
diff --git a/services/ui/common/gpu_service.cc b/services/ui/public/cpp/gpu_service.cc
similarity index 98%
rename from services/ui/common/gpu_service.cc
rename to services/ui/public/cpp/gpu_service.cc
index 8856b7cca80ce62d00ea763537c22e668da7d231..5951e699a5d5475c99a9f6af8bf17a2116aa2850 100644
--- a/services/ui/common/gpu_service.cc
+++ b/services/ui/public/cpp/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/common/gpu_service.h"
+#include "services/ui/public/cpp/gpu_service.h"
#include "base/command_line.h"
#include "base/memory/singleton.h"
@@ -12,8 +12,8 @@
#include "mojo/public/cpp/system/platform_handle.h"
#include "services/shell/public/cpp/connector.h"
#include "services/ui/common/gpu_type_converters.h"
-#include "services/ui/common/mojo_gpu_memory_buffer_manager.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"
namespace ui {
@@ -28,7 +28,7 @@ void PostTask(scoped_refptr<base::SingleThreadTaskRunner> runner,
base::Bind(callback, std::move(established_channel_host)));
}
-}
+} // namespace
GpuService::GpuService(shell::Connector* connector)
: main_task_runner_(base::ThreadTaskRunnerHandle::Get()),
« no previous file with comments | « services/ui/public/cpp/gpu_service.h ('k') | services/ui/public/cpp/mojo_buffer_backing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698