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_ |