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

Unified Diff: runtime/vm/heap_profiler.h

Issue 11442024: Unify specification of file open, close, and write callbacks. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 | « runtime/vm/heap.cc ('k') | runtime/vm/heap_profiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap_profiler.h
diff --git a/runtime/vm/heap_profiler.h b/runtime/vm/heap_profiler.h
index ec4570c1be695ffd316b08049780e225537d44e8..7295fde7dc12c6bfd2bddb4a8e8e3e43e497355d 100644
--- a/runtime/vm/heap_profiler.h
+++ b/runtime/vm/heap_profiler.h
@@ -74,7 +74,7 @@ class HeapProfiler {
kLong = 11
};
- HeapProfiler(Dart_HeapProfileWriteCallback callback, void* stream);
+ HeapProfiler(Dart_FileWriteCallback callback, void* stream);
~HeapProfiler();
// Writes a root to the heap dump.
@@ -249,7 +249,7 @@ class HeapProfiler {
static const RawClass* GetClass(const RawObject* raw_obj);
static const RawClass* GetSuperClass(const RawClass* raw_class);
- Dart_HeapProfileWriteCallback write_callback_;
+ Dart_FileWriteCallback write_callback_;
void* output_stream_;
« no previous file with comments | « runtime/vm/heap.cc ('k') | runtime/vm/heap_profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698