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