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 kRenderThreadBlameCategory[] = "blink"; |
| 13 const char kRenderThreadBlameName[] = "FrameBlameContext"; |
| 14 const char kRenderThreadBlameScope[] = "PlatformThread"; |
| 15 |
| 16 RenderThreadBlameContext::RenderThreadBlameContext() |
| 17 : base::debug::BlameContext<kRenderThreadBlameCategory, |
| 18 kRenderThreadBlameName, |
| 19 kRenderThreadBlameScope>( |
| 20 base::PlatformThread::CurrentId()) {} |
| 21 |
| 22 } // namespace content |
OLD | NEW |