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

Unified Diff: content/browser/gpu/gpu_process_host.h

Issue 2310623002: Remove GPU memory UMAs (Closed)
Patch Set: Rebase Created 4 years, 3 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 | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_process_host.h
diff --git a/content/browser/gpu/gpu_process_host.h b/content/browser/gpu/gpu_process_host.h
index 41fc7fac73b91e0a6cf33f75d6c8c1123b297d8e..9d6ee093a394dc60d6bb1bec7b7e926be02d6909 100644
--- a/content/browser/gpu/gpu_process_host.h
+++ b/content/browser/gpu/gpu_process_host.h
@@ -25,7 +25,6 @@
#include "content/public/browser/gpu_data_manager.h"
#include "gpu/command_buffer/common/constants.h"
#include "gpu/config/gpu_info.h"
-#include "gpu/ipc/common/gpu_memory_uma_stats.h"
#include "gpu/ipc/common/surface_handle.h"
#include "ipc/ipc_sender.h"
#include "ipc/message_filter.h"
@@ -196,7 +195,6 @@ class GpuProcessHost : public BrowserChildProcessHostDelegate,
gpu::error::ContextLostReason reason,
const GURL& url);
void OnDidDestroyOffscreenContext(const GURL& url);
- void OnGpuMemoryUmaStatsReceived(const gpu::GPUMemoryUmaStats& stats);
void OnFieldTrialActivated(const std::string& trial_name);
#if defined(OS_WIN)
@@ -284,10 +282,6 @@ class GpuProcessHost : public BrowserChildProcessHostDelegate,
// automatic execution of 3D content from those domains.
std::multiset<GURL> urls_with_live_offscreen_contexts_;
- // Statics kept around to send to UMA histograms on GPU process lost.
- bool uma_memory_stats_received_;
- gpu::GPUMemoryUmaStats uma_memory_stats_;
-
typedef std::map<int32_t, scoped_refptr<ShaderDiskCache>>
ClientIdToShaderCacheMap;
ClientIdToShaderCacheMap client_id_to_shader_cache_;
« no previous file with comments | « no previous file | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698