Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(701)

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/public/V8ProfilerAgent.h

Issue 1859293002: [DevTools] Move Console to v8_inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 17
18 // API for the embedder.
19 virtual void consoleProfile(const String16& title) = 0;
20 virtual void consoleProfileEnd(const String16& title) = 0;
21
22 virtual void idleStarted() = 0; 18 virtual void idleStarted() = 0;
23 virtual void idleFinished() = 0; 19 virtual void idleFinished() = 0;
24 }; 20 };
25 21
26 } // namespace blink 22 } // namespace blink
27 23
28 24
29 #endif // !defined(V8ProfilerAgent_h) 25 #endif // !defined(V8ProfilerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698