18 #ifndef ION_REMOTE_TRACINGHANDLER_H_
19 #define ION_REMOTE_TRACINGHANDLER_H_
25 #include "base/integral_types.h"
53 const std::string HandleRequest(
const std::string& path,
55 std::string* content_type)
override;
61 kWaitingForBeginFrame,
66 void TraceNextFrame(
bool block_until_frame_rendered);
74 std::ostream* GetTracingStream() {
return &tracing_stream_; }
81 std::ostream* prev_stream_;
83 std::ostringstream tracing_stream_;
85 std::string html_string_;
94 std::string resources_to_delete_;
97 friend class TracingHandlerTest;
103 #endif // ION_REMOTE_TRACINGHANDLER_H_
A Semaphore enables threads and process synchronization.
Frame manages an application-defined frame of execution.
const RendererPtr & renderer_
Renderer used to render images.
std::map< std::string, std::string > QueryMap
RequestHandlers handle requests for a file or path.
A SharedPtr is a smart shared pointer to an instance of some class that implements reference counting...
TracingHandler serves files related to OpenGL tracing.