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

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

Issue 2638933003: Add SHA1 data checksum to on-disk shader cache (Closed)
Patch Set: add histogram enum Created 3 years, 11 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 7fe8079c014786b3301309a2e7c6aa4a1bdab0ae..dd9702b38a684b2e151535773679059fd021b66b 100644
--- a/content/browser/gpu/gpu_process_host.h
+++ b/content/browser/gpu/gpu_process_host.h
@@ -219,7 +219,7 @@ class GpuProcessHost : public BrowserChildProcessHostDelegate,
// Update GPU crash counters. Disable GPU if crash limit is reached.
void RecordProcessCrash();
- std::string GetShaderPrefixKey();
+ std::string GetShaderPrefixKey(const std::string& shader);
// The serial number of the GpuProcessHost / GpuProcessHostUIShim pair.
int host_id_;
@@ -287,7 +287,7 @@ class GpuProcessHost : public BrowserChildProcessHostDelegate,
ClientIdToShaderCacheMap;
ClientIdToShaderCacheMap client_id_to_shader_cache_;
- std::string shader_prefix_key_;
+ std::string shader_prefix_key_info_;
ui::mojom::GpuMainAssociatedPtr gpu_main_ptr_;
« 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