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_WEB_BLAME_CONTEXT_IMPL_H_ |
| 6 #define CONTENT_RENDERER_WEB_BLAME_CONTEXT_IMPL_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "third_party/WebKit/public/platform/WebBlameContext.h" |
| 10 |
| 11 namespace base { |
| 12 namespace debug { |
| 13 class BlameContextBase; |
| 14 } |
| 15 } |
| 16 |
| 17 namespace content { |
| 18 |
| 19 class WebBlameContextImpl : public blink::WebBlameContext { |
| 20 public: |
| 21 WebBlameContextImpl(base::debug::BlameContextBase* context); |
| 22 |
| 23 // blink::WebBlameContext implementation: |
| 24 void enter() override; |
| 25 void leave() override; |
| 26 |
| 27 private: |
| 28 base::debug::BlameContextBase* context_; // Not owned. |
| 29 |
| 30 DISALLOW_COPY_AND_ASSIGN(WebBlameContextImpl); |
| 31 }; |
| 32 |
| 33 } // namespace content |
| 34 |
| 35 #endif // CONTENT_RENDERER_WEB_BLAME_CONTEXT_IMPL_H_ |
OLD | NEW |