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

Unified Diff: test/cctest/trace-extension.h

Issue 2105943002: Expose TickSample and its APIs in v8-profiler.h (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 4 years, 5 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 | « test/cctest/test-log-stack-tracer.cc ('k') | test/cctest/trace-extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/trace-extension.h
diff --git a/test/cctest/trace-extension.h b/test/cctest/trace-extension.h
index 53e178b3ba7cb8406bb199ce77a467c6809fcc8f..b20c4ae9dfa52c88d5c77bf3e1c071a361baabb9 100644
--- a/test/cctest/trace-extension.h
+++ b/test/cctest/trace-extension.h
@@ -31,9 +31,8 @@
#include "src/v8.h"
namespace v8 {
-namespace internal {
-
struct TickSample;
+namespace internal {
class TraceExtension : public v8::Extension {
public:
@@ -45,7 +44,7 @@ class TraceExtension : public v8::Extension {
static void JSEntrySP(const v8::FunctionCallbackInfo<v8::Value>& args);
static void JSEntrySPLevel2(const v8::FunctionCallbackInfo<v8::Value>& args);
static Address GetJsEntrySp();
- static void InitTraceEnv(TickSample* sample);
+ static void InitTraceEnv(v8::TickSample* sample);
static void DoTrace(Address fp);
private:
static Address GetFP(const v8::FunctionCallbackInfo<v8::Value>& args);
« no previous file with comments | « test/cctest/test-log-stack-tracer.cc ('k') | test/cctest/trace-extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698