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

Unified Diff: content/common/gpu/gpu_memory_manager.cc

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 2 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 | « content/common/gpu/gpu_memory_manager.h ('k') | content/common/gpu/gpu_memory_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_memory_manager.cc
===================================================================
--- content/common/gpu/gpu_memory_manager.cc (revision 163290)
+++ content/common/gpu/gpu_memory_manager.cc (working copy)
@@ -19,6 +19,7 @@
#include "content/common/gpu/gpu_memory_tracking.h"
#include "gpu/command_buffer/service/gpu_switches.h"
+namespace content {
namespace {
const int kDelayedScheduleManageTimeoutMs = 67;
@@ -203,7 +204,7 @@
}
void GpuMemoryManager::GetVideoMemoryUsageStats(
- content::GPUVideoMemoryUsageStats& video_memory_usage_stats) const {
+ GPUVideoMemoryUsageStats& video_memory_usage_stats) const {
// For each context group, assign its memory usage to its PID
video_memory_usage_stats.process_map.clear();
for (std::set<GpuMemoryTrackingGroup*>::const_iterator i =
@@ -406,4 +407,6 @@
false);
}
+} // namespace content
+
#endif
« no previous file with comments | « content/common/gpu/gpu_memory_manager.h ('k') | content/common/gpu/gpu_memory_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698