Lines Matching refs:TracingSession
61 class TracingSession : public Consumer {
63 TracingSession(base::TaskRunner*,
68 ~TracingSession() override;
98 TracingSession(const TracingSession&) = delete;
99 TracingSession& operator=(const TracingSession&) = delete;
120 TracingSession::TracingSession(
140 TracingSession::~TracingSession() {
146 bool TracingSession::Initialize() {
175 void TracingSession::OnConnect() {
189 void TracingSession::StartTracing() {
202 void TracingSession::OnTracingDisabled() {
224 void TracingSession::OnDisconnect() {
232 void TracingSession::OnDetach(bool) {
236 void TracingSession::OnAttach(bool, const TraceConfig&) {
240 void TracingSession::OnTraceStats(bool, const TraceStats&) {
245 void TracingSession::OnObservableEvents(const ObservableEvents&) {
250 void TracingSession::DestroyConnection() {
257 void TracingSession::OnTraceData(std::vector<TracePacket>, bool) {
263 void TracingSession::NotifyCallback() {
295 std::map<Handle, std::unique_ptr<TracingSession>> sessions_;
337 auto* session = new TracingSession(task_runner_.get(), handle, callback,
339 sessions_.emplace(handle, std::unique_ptr<TracingSession>(session));
341 // Enable the TracingSession on its own thread.
354 TracingSession* session = it->second.get();
376 TracingSession* session = it->second.get();
395 TracingSession* session = it->second.release();