Index: content/common/gpu/gpu_command_buffer_stub.h |
diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h |
index a6a90d6def77d3e2d93bcf4256f9badd20c79f54..354152cc5fd00c1064dc678549c76b359363c1c9 100644 |
--- a/content/common/gpu/gpu_command_buffer_stub.h |
+++ b/content/common/gpu/gpu_command_buffer_stub.h |
@@ -16,6 +16,7 @@ |
#include "content/common/content_export.h" |
#include "content/common/gpu/gpu_memory_allocation.h" |
#include "content/common/gpu/gpu_memory_allocation.h" |
+#include "googleurl/src/gurl.h" |
#include "gpu/command_buffer/common/constants.h" |
#include "gpu/command_buffer/service/command_buffer_service.h" |
#include "gpu/command_buffer/service/context_group.h" |
@@ -104,7 +105,8 @@ class GpuCommandBufferStub |
int32 route_id, |
int32 surface_id, |
GpuWatchdog* watchdog, |
- bool software); |
+ bool software, |
+ const GURL& active_url); |
virtual ~GpuCommandBufferStub(); |
@@ -229,6 +231,9 @@ class GpuCommandBufferStub |
void ReportState(); |
+ // Wrapper for GpuScheduler::PutChanged that sets the crash report URL. |
+ void PutChanged(); |
+ |
// The lifetime of objects of this class is managed by a GpuChannel. The |
// GpuChannels destroy all the GpuCommandBufferStubs that they own when they |
// are destroyed. So a raw pointer is safe. |
@@ -276,6 +281,9 @@ class GpuCommandBufferStub |
scoped_refptr<gpu::RefCountedCounter> preempt_by_counter_; |
+ GURL active_url_; |
+ size_t active_url_hash_; |
+ |
DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); |
}; |