| 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. |
| 9 | */ |
| 10 |
| 11 | #include "pc/proxy.h" |
| 12 |
| 13 | #include "rtc_base/trace_event.h" |
| 14 |
| 15 | namespace webrtc { |
| 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_); |
| 20 | } |
| 21 | ScopedTrace::~ScopedTrace() { |
| 22 | TRACE_EVENT_END0("webrtc", class_and_method_name_); |
| 23 | } |
| 24 | } // namespace proxy_internal |
| 25 | } // namespace webrtc |
| 26 |