| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 V8ProfilerAgent_h | 5 #ifndef V8ProfilerAgent_h |
| 6 #define V8ProfilerAgent_h | 6 #define V8ProfilerAgent_h |
| 7 | 7 |
| 8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
| 9 #include "platform/inspector_protocol/Dispatcher.h" | 9 #include "platform/inspector_protocol/Dispatcher.h" |
| 10 #include "platform/v8_inspector/public/V8Debugger.h" | 10 #include "platform/v8_inspector/public/V8Debugger.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class PLATFORM_EXPORT V8ProfilerAgent : public protocol::Backend::Profiler, publ
ic V8Debugger::Agent<protocol::Frontend::Profiler> { | 14 class PLATFORM_EXPORT V8ProfilerAgent : public protocol::Backend::Profiler, publ
ic V8Debugger::Agent<protocol::Frontend::Profiler> { |
| 15 public: | 15 public: |
| 16 virtual ~V8ProfilerAgent() { } | 16 virtual ~V8ProfilerAgent() { } |
| 17 | |
| 18 virtual void idleStarted() = 0; | |
| 19 virtual void idleFinished() = 0; | |
| 20 }; | 17 }; |
| 21 | 18 |
| 22 } // namespace blink | 19 } // namespace blink |
| 23 | 20 |
| 24 | 21 |
| 25 #endif // !defined(V8ProfilerAgent_h) | 22 #endif // !defined(V8ProfilerAgent_h) |
| OLD | NEW |