OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "content/renderer/render_thread_blame_context.h" |
| 6 |
| 7 #include "base/threading/platform_thread.h" |
| 8 #include "content/renderer/render_frame_blame_context.h" |
| 9 |
| 10 namespace content { |
| 11 |
| 12 const char kRenderThreadBlameContextCategory[] = "blink"; |
| 13 const char kRenderThreadBlameContextName[] = "FrameBlameContext"; |
| 14 const char kRenderThreadBlameContextType[] = "RenderThread"; |
| 15 const char kRenderThreadBlameContextScope[] = "PlatformThread"; |
| 16 |
| 17 RenderThreadBlameContext::RenderThreadBlameContext() |
| 18 : base::trace_event::BlameContext(kRenderThreadBlameContextCategory, |
| 19 kRenderThreadBlameContextName, |
| 20 kRenderThreadBlameContextType, |
| 21 kRenderThreadBlameContextScope, |
| 22 base::PlatformThread::CurrentId(), |
| 23 nullptr) {} |
| 24 |
| 25 } // namespace content |
OLD | NEW |