| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_RENDERER_FRAME_BLAME_CONTEXT_H_ | 5 #ifndef CONTENT_RENDERER_FRAME_BLAME_CONTEXT_H_ |
| 6 #define CONTENT_RENDERER_FRAME_BLAME_CONTEXT_H_ | 6 #define CONTENT_RENDERER_FRAME_BLAME_CONTEXT_H_ |
| 7 | 7 |
| 8 #include "base/trace_event/blame_context.h" | 8 #include "base/trace_event/blame_context.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| 11 | 11 |
| 12 class RenderFrameImpl; | 12 class RenderFrameImpl; |
| 13 class RenderThreadBlameContext; | |
| 14 | 13 |
| 15 // A blame context which represents a single render frame. | 14 // A blame context which represents a single render frame. |
| 16 class FrameBlameContext : public base::trace_event::BlameContext { | 15 class FrameBlameContext : public base::trace_event::BlameContext { |
| 17 public: | 16 public: |
| 18 FrameBlameContext(RenderFrameImpl* frame, RenderFrameImpl* parent_frame); | 17 FrameBlameContext(RenderFrameImpl* frame, RenderFrameImpl* parent_frame); |
| 19 ~FrameBlameContext() override; | 18 ~FrameBlameContext() override; |
| 20 | 19 |
| 21 DISALLOW_COPY_AND_ASSIGN(FrameBlameContext); | 20 DISALLOW_COPY_AND_ASSIGN(FrameBlameContext); |
| 22 }; | 21 }; |
| 23 | 22 |
| 24 } // namespace content | 23 } // namespace content |
| 25 | 24 |
| 26 #endif // CONTENT_RENDERER_FRAME_BLAME_CONTEXT_H_ | 25 #endif // CONTENT_RENDERER_FRAME_BLAME_CONTEXT_H_ |
| OLD | NEW |