v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 3693 | skipping to change at line 3695 | |||
* Writes the next chunk of snapshot data into the stream. Writing | * Writes the next chunk of snapshot data into the stream. Writing | |||
* can be stopped by returning kAbort as function result. EndOfStream | * can be stopped by returning kAbort as function result. EndOfStream | |||
* will not be called in case writing was aborted. | * will not be called in case writing was aborted. | |||
*/ | */ | |||
virtual WriteResult WriteAsciiChunk(char* data, int size) = 0; | virtual WriteResult WriteAsciiChunk(char* data, int size) = 0; | |||
/** | /** | |||
* Writes the next chunk of heap stats data into the stream. Writing | * Writes the next chunk of heap stats data into the stream. Writing | |||
* can be stopped by returning kAbort as function result. EndOfStream | * can be stopped by returning kAbort as function result. EndOfStream | |||
* will not be called in case writing was aborted. | * will not be called in case writing was aborted. | |||
*/ | */ | |||
virtual WriteResult WriteUint32Chunk(uint32_t* data, int count) = 0; | // TODO(loislo): Make this pure virtual when WebKit's V8 bindings | |||
// have been updated. | ||||
virtual WriteResult WriteUint32Chunk(uint32_t* data, int count) { | ||||
return kAbort; | ||||
}; | ||||
}; | }; | |||
/** | /** | |||
* An interface for reporting progress and controlling long-running | * An interface for reporting progress and controlling long-running | |||
* activities. | * activities. | |||
*/ | */ | |||
class V8EXPORT ActivityControl { // NOLINT | class V8EXPORT ActivityControl { // NOLINT | |||
public: | public: | |||
enum ControlOption { | enum ControlOption { | |||
kContinue = 0, | kContinue = 0, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||