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

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

Issue 1726343003: Revert of Mustash: move content::GPUVideoMemoryUsageStats to gpu::VideoMemoryUsageStats (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 a9276fdf01deddd1d554d62fb446227b4329718c..02459fd5ab4e8e2eac94e01dca599dd950381d8d 100644
--- a/chrome/browser/task_management/sampling/task_group.h
+++ b/chrome/browser/task_management/sampling/task_group.h
@@ -18,10 +18,7 @@
#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"
-
-namespace gpu {
-struct VideoMemoryUsageStats;
-}
+#include "content/public/common/gpu_memory_stats.h"
namespace task_management {
@@ -40,7 +37,7 @@
void AddTask(Task* task);
void RemoveTask(Task* task);
- void Refresh(const gpu::VideoMemoryUsageStats& gpu_memory_stats,
+ void Refresh(const content::GPUVideoMemoryUsageStats& gpu_memory_stats,
base::TimeDelta update_interval,
int64_t refresh_flags);
@@ -85,7 +82,8 @@
int idle_wakeups_per_second() const { return idle_wakeups_per_second_; }
private:
- void RefreshGpuMemory(const gpu::VideoMemoryUsageStats& gpu_memory_stats);
+ void RefreshGpuMemory(
+ const content::GPUVideoMemoryUsageStats& 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