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

Unified Diff: gpu/ipc/service/gpu_memory_tracking.cc

Issue 1845563005: Refactor content/common/gpu into gpu/ipc/service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drop ref to deleted content_tests_gypi_values.content_unittests_ozone_sources Created 4 years, 8 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 | « gpu/ipc/service/gpu_memory_tracking.h ('k') | gpu/ipc/service/gpu_watchdog.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/gpu_memory_tracking.cc
diff --git a/content/common/gpu/gpu_memory_tracking.cc b/gpu/ipc/service/gpu_memory_tracking.cc
similarity index 82%
rename from content/common/gpu/gpu_memory_tracking.cc
rename to gpu/ipc/service/gpu_memory_tracking.cc
index 6fa447b5b878edf754b49569d5ba41073a7b46a6..8f2004b70aacac7b0de29fd137144e6d818aada1 100644
--- a/content/common/gpu/gpu_memory_tracking.cc
+++ b/gpu/ipc/service/gpu_memory_tracking.cc
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/common/gpu/gpu_memory_tracking.h"
+#include "gpu/ipc/service/gpu_memory_tracking.h"
-#include "content/common/gpu/gpu_memory_manager.h"
+#include "gpu/ipc/service/gpu_memory_manager.h"
-namespace content {
+namespace gpu {
GpuMemoryTrackingGroup::GpuMemoryTrackingGroup(
base::ProcessId pid,
- gpu::gles2::MemoryTracker* memory_tracker,
+ gles2::MemoryTracker* memory_tracker,
GpuMemoryManager* memory_manager)
: pid_(pid),
size_(0),
@@ -34,4 +34,4 @@ bool GpuMemoryTrackingGroup::EnsureGPUMemoryAvailable(uint64_t size_needed) {
}
-} // namespace content
+} // namespace gpu
« no previous file with comments | « gpu/ipc/service/gpu_memory_tracking.h ('k') | gpu/ipc/service/gpu_watchdog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698