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

Unified Diff: chrome/browser/gpu_process_host_ui_shim.h

Issue 6551019: Trace_event upgrades (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/browser/gpu_process_host_ui_shim.h
diff --git a/chrome/browser/gpu_process_host_ui_shim.h b/chrome/browser/gpu_process_host_ui_shim.h
index 396c2fca8c8cff367199029a3f519817bf91ac33..bc894bc7c1123b9585356f58bd6b48c673ab71c1 100644
--- a/chrome/browser/gpu_process_host_ui_shim.h
+++ b/chrome/browser/gpu_process_host_ui_shim.h
@@ -96,6 +96,9 @@ class GpuProcessHostUIShim : public IPC::Channel::Sender,
// graphics card.
void CollectGraphicsInfoAsynchronously(GPUInfo::Level level);
+ // Tells the GPU process to enable TRACE collection
+ void SetTraceEnabled(bool enabled);
+
// Tells the GPU process to crash. Useful for testing.
void SendAboutGpuCrash();
@@ -144,6 +147,7 @@ class GpuProcessHostUIShim : public IPC::Channel::Sender,
void OnLogMessage(int level, const std::string& header,
const std::string& message);
void OnSynchronizeReply();
+ void OnTraceDataCollectedRemotely(const std::string& json_events);
#if defined(OS_LINUX)
void OnResizeXID(unsigned long xid, gfx::Size size, IPC::Message* reply_msg);
#elif defined(OS_MACOSX)

Powered by Google App Engine
This is Rietveld 408576698