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

Unified Diff: chrome/browser/task_management/sampling/task_group.h

Issue 1708783002: Mustash: move content::GPUVideoMemoryUsageStats to gpu::VideoMemoryUsageStats (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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 | « no previous file | chrome/browser/task_management/sampling/task_group.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/task_management/sampling/task_group.h
diff --git a/chrome/browser/task_management/sampling/task_group.h b/chrome/browser/task_management/sampling/task_group.h
index 02459fd5ab4e8e2eac94e01dca599dd950381d8d..a9276fdf01deddd1d554d62fb446227b4329718c 100644
--- a/chrome/browser/task_management/sampling/task_group.h
+++ b/chrome/browser/task_management/sampling/task_group.h
@@ -18,7 +18,10 @@
#include "chrome/browser/task_management/providers/task.h"
#include "chrome/browser/task_management/sampling/task_group_sampler.h"
#include "chrome/browser/task_management/task_manager_observer.h"
-#include "content/public/common/gpu_memory_stats.h"
+
+namespace gpu {
+struct VideoMemoryUsageStats;
+}
namespace task_management {
@@ -37,7 +40,7 @@ class TaskGroup {
void AddTask(Task* task);
void RemoveTask(Task* task);
- void Refresh(const content::GPUVideoMemoryUsageStats& gpu_memory_stats,
+ void Refresh(const gpu::VideoMemoryUsageStats& gpu_memory_stats,
base::TimeDelta update_interval,
int64_t refresh_flags);
@@ -82,8 +85,7 @@ class TaskGroup {
int idle_wakeups_per_second() const { return idle_wakeups_per_second_; }
private:
- void RefreshGpuMemory(
- const content::GPUVideoMemoryUsageStats& gpu_memory_stats);
+ void RefreshGpuMemory(const gpu::VideoMemoryUsageStats& gpu_memory_stats);
void RefreshWindowsHandles();
« no previous file with comments | « no previous file | chrome/browser/task_management/sampling/task_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698