| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index 9bda3dc9faa7bfa79190c1483345d93057120349..c4eda8b2f2f5aa1ff14f8d2c476e2f34220d3dfb 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -5437,67 +5437,6 @@ class V8_EXPORT Locker {
|
| };
|
|
|
|
|
| -/**
|
| - * A struct for exporting HeapStats data from V8, using "push" model.
|
| - */
|
| -struct HeapStatsUpdate;
|
| -
|
| -
|
| -/**
|
| - * An interface for exporting data from V8, using "push" model.
|
| - */
|
| -class V8_EXPORT OutputStream { // NOLINT
|
| - public:
|
| - enum OutputEncoding {
|
| - kAscii = 0 // 7-bit ASCII.
|
| - };
|
| - enum WriteResult {
|
| - kContinue = 0,
|
| - kAbort = 1
|
| - };
|
| - virtual ~OutputStream() {}
|
| - /** Notify about the end of stream. */
|
| - virtual void EndOfStream() = 0;
|
| - /** Get preferred output chunk size. Called only once. */
|
| - virtual int GetChunkSize() { return 1024; }
|
| - /** Get preferred output encoding. Called only once. */
|
| - virtual OutputEncoding GetOutputEncoding() { return kAscii; }
|
| - /**
|
| - * Writes the next chunk of snapshot data into the stream. Writing
|
| - * can be stopped by returning kAbort as function result. EndOfStream
|
| - * will not be called in case writing was aborted.
|
| - */
|
| - virtual WriteResult WriteAsciiChunk(char* data, int size) = 0;
|
| - /**
|
| - * Writes the next chunk of heap stats data into the stream. Writing
|
| - * can be stopped by returning kAbort as function result. EndOfStream
|
| - * will not be called in case writing was aborted.
|
| - */
|
| - virtual WriteResult WriteHeapStatsChunk(HeapStatsUpdate* data, int count) {
|
| - return kAbort;
|
| - };
|
| -};
|
| -
|
| -
|
| -/**
|
| - * An interface for reporting progress and controlling long-running
|
| - * activities.
|
| - */
|
| -class V8_EXPORT ActivityControl { // NOLINT
|
| - public:
|
| - enum ControlOption {
|
| - kContinue = 0,
|
| - kAbort = 1
|
| - };
|
| - virtual ~ActivityControl() {}
|
| - /**
|
| - * Notify about current progress. The activity can be stopped by
|
| - * returning kAbort as the callback result.
|
| - */
|
| - virtual ControlOption ReportProgressValue(int done, int total) = 0;
|
| -};
|
| -
|
| -
|
| // --- Implementation ---
|
|
|
|
|
|
|