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

Unified Diff: gpu/ipc/common/gpu_memory_uma_stats.h

Issue 1823763003: Move more files to gpu/ipc/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed GYP build Created 4 years, 9 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/common/BUILD.gn ('k') | gpu/ipc/common/gpu_surface_lookup.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/common/gpu_memory_uma_stats.h
diff --git a/content/common/gpu/gpu_memory_uma_stats.h b/gpu/ipc/common/gpu_memory_uma_stats.h
similarity index 78%
rename from content/common/gpu/gpu_memory_uma_stats.h
rename to gpu/ipc/common/gpu_memory_uma_stats.h
index 6f58d763afd011c98ec7209d2536f71e82cca984..5b4075c81c309996a31e79d1d4ff00dfb30631a8 100644
--- a/content/common/gpu/gpu_memory_uma_stats.h
+++ b/gpu/ipc/common/gpu_memory_uma_stats.h
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_COMMON_GPU_GPU_MEMORY_UMA_STATS_H_
-#define CONTENT_COMMON_GPU_GPU_MEMORY_UMA_STATS_H_
+#ifndef GPU_IPC_COMMON_GPU_MEMORY_UMA_STATS_H_
+#define GPU_IPC_COMMON_GPU_MEMORY_UMA_STATS_H_
#include <stddef.h>
#include <stdint.h>
-namespace content {
+namespace gpu {
// Memory usage statistics send periodically to the browser process to report
// in UMA histograms if the GPU process crashes.
@@ -18,8 +18,7 @@ struct GPUMemoryUmaStats {
GPUMemoryUmaStats()
: bytes_allocated_current(0),
bytes_allocated_max(0),
- context_group_count(0) {
- }
+ context_group_count(0) {}
// The number of bytes currently allocated.
uint64_t bytes_allocated_current;
@@ -31,6 +30,6 @@ struct GPUMemoryUmaStats {
uint32_t context_group_count;
};
-} // namespace content
+} // namespace gpu
-#endif // CONTENT_COMMON_GPU_GPU_MEMORY_UMA_STATS_H_
+#endif // GPU_IPC_COMMON_GPU_MEMORY_UMA_STATS_H_
« no previous file with comments | « gpu/ipc/common/BUILD.gn ('k') | gpu/ipc/common/gpu_surface_lookup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698