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

Unified Diff: chrome/gpu/gpu_thread.h

Issue 6551019: Trace_event upgrades (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More gooder js thanks to arv. Created 9 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
Index: chrome/gpu/gpu_thread.h
diff --git a/chrome/gpu/gpu_thread.h b/chrome/gpu/gpu_thread.h
index d13d12029a774e9fe7ced5563354090e688605de..57ab0c9fd17479053fc10a0a4be0c8303a5eb9a2 100644
--- a/chrome/gpu/gpu_thread.h
+++ b/chrome/gpu/gpu_thread.h
@@ -49,6 +49,7 @@ class GpuThread : public ChildThread {
void OnInitialize();
void OnEstablishChannel(int renderer_id);
void OnCloseChannel(const IPC::ChannelHandle& channel_handle);
+ void OnSetTraceEnabled(bool enabled);
void OnSynchronize();
void OnCollectGraphicsInfo(GPUInfo::Level level);
void OnCreateViewCommandBuffer(
@@ -64,6 +65,8 @@ class GpuThread : public ChildThread {
void OnCrash();
void OnHang();
+ void OnTraceDataCollected(const std::string& json_events);
+
#if defined(OS_WIN)
static void CollectDxDiagnostics(GpuThread* thread);
static void SetDxDiagnostics(GpuThread* thread, const DxDiagNode& node);

Powered by Google App Engine
This is Rietveld 408576698