| Index: content/renderer/render_thread_blame_context.cc
|
| diff --git a/content/renderer/render_thread_blame_context.cc b/content/renderer/render_thread_blame_context.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..215a8cd02b4fd4b8992b448e0474d2b019d974f3
|
| --- /dev/null
|
| +++ b/content/renderer/render_thread_blame_context.cc
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "content/renderer/render_thread_blame_context.h"
|
| +
|
| +#include "base/threading/platform_thread.h"
|
| +#include "content/renderer/render_frame_blame_context.h"
|
| +
|
| +namespace content {
|
| +
|
| +const char kRenderThreadBlameCategory[] = "blink";
|
| +const char kRenderThreadBlameName[] = "FrameBlameContext";
|
| +const char kRenderThreadBlameScope[] = "PlatformThread";
|
| +
|
| +RenderThreadBlameContext::RenderThreadBlameContext()
|
| + : base::debug::BlameContext<kRenderThreadBlameCategory,
|
| + kRenderThreadBlameName,
|
| + kRenderThreadBlameScope>(
|
| + base::PlatformThread::CurrentId()) {}
|
| +
|
| +} // namespace content
|
|
|