2 * Copyright 2017 The WebRTC project authors. All Rights Reserved.
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
13 #include "rtc_base/trace_event.h"
16 namespace proxy_internal
{
17 ScopedTrace::ScopedTrace(const char* class_and_method_name
)
18 : class_and_method_name_(class_and_method_name
) {
19 TRACE_EVENT_BEGIN0("webrtc", class_and_method_name_
);
21 ScopedTrace::~ScopedTrace() {
22 TRACE_EVENT_END0("webrtc", class_and_method_name_
);
24 } // namespace proxy_internal