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 #ifndef CONTENT_RENDERER_RENDER_THREAD_BLAME_CONTEXT_H_ |
| 6 #define CONTENT_RENDERER_RENDER_THREAD_BLAME_CONTEXT_H_ |
| 7 |
| 8 #include "base/debug/blame_context.h" |
| 9 |
| 10 namespace content { |
| 11 |
| 12 extern const char kRenderThreadBlameCategory[]; |
| 13 extern const char kRenderThreadBlameName[]; |
| 14 extern const char kRenderThreadBlameScope[]; |
| 15 |
| 16 // A blame context for the entire renderer main thread. |
| 17 class RenderThreadBlameContext |
| 18 : public base::debug::BlameContext<kRenderThreadBlameCategory, |
| 19 kRenderThreadBlameName, |
| 20 kRenderThreadBlameScope> { |
| 21 public: |
| 22 RenderThreadBlameContext(); |
| 23 |
| 24 private: |
| 25 DISALLOW_COPY_AND_ASSIGN(RenderThreadBlameContext); |
| 26 }; |
| 27 |
| 28 } // namespace content |
| 29 |
| 30 #endif // CONTENT_RENDERER_RENDER_THREAD_BLAME_CONTEXT_H_ |
OLD | NEW |