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

Unified Diff: webkit/glue/devtools/debugger_agent_impl.h

Issue 115299: Add initial version of DevTools Profiler (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/devtools/debugger_agent.h ('k') | webkit/glue/devtools/debugger_agent_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/debugger_agent_impl.h
===================================================================
--- webkit/glue/devtools/debugger_agent_impl.h (revision 15955)
+++ webkit/glue/devtools/debugger_agent_impl.h (working copy)
@@ -5,6 +5,8 @@
#ifndef WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_IMPL_H_
#define WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_IMPL_H_
+#include <string>
+
#include <wtf/HashSet.h>
#include "v8.h"
@@ -36,8 +38,16 @@
virtual void DebugBreak();
virtual void GetContextId();
+ virtual void StartProfiling();
+
+ virtual void StopProfiling();
+
+ virtual void GetLogLines(int position);
+
void DebuggerOutput(const std::string& out);
+ void DidGetLogLines(const std::string& log, int new_position);
+
// Executes function with the given name in the utility context. Passes node
// and json args as parameters. Note that the function called must be
// implemented in the inject.js file.
« no previous file with comments | « webkit/glue/devtools/debugger_agent.h ('k') | webkit/glue/devtools/debugger_agent_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698