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

Side by Side Diff: runtime/vm/heap_profiler.cc

Issue 10539151: Fix includes to unbreak the Windows build. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/platform/globals.h ('k') | runtime/vm/heap_profiler_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/heap_profiler.h" 5 #include "vm/heap_profiler.h"
6 6
7 #include <stdio.h>
8 #include <arpa/inet.h>
9 #include <sys/time.h>
10
11 #include "vm/dart_api_state.h" 7 #include "vm/dart_api_state.h"
12 #include "vm/object.h" 8 #include "vm/object.h"
13 #include "vm/raw_object.h" 9 #include "vm/raw_object.h"
14 #include "vm/stack_frame.h" 10 #include "vm/stack_frame.h"
15 #include "vm/unicode.h" 11 #include "vm/unicode.h"
16 12
17 namespace dart { 13 namespace dart {
18 14
19 HeapProfiler::Buffer::~Buffer() { 15 HeapProfiler::Buffer::~Buffer() {
20 delete[] data_; 16 delete[] data_;
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 RawObject* raw_obj = handle->raw(); 720 RawObject* raw_obj = handle->raw();
725 visitor_->VisitPointer(&raw_obj); 721 visitor_->VisitPointer(&raw_obj);
726 } 722 }
727 723
728 724
729 void HeapProfilerObjectVisitor::VisitObject(RawObject* raw_obj) { 725 void HeapProfilerObjectVisitor::VisitObject(RawObject* raw_obj) {
730 profiler_->WriteObject(raw_obj); 726 profiler_->WriteObject(raw_obj);
731 } 727 }
732 728
733 } // namespace dart 729 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/platform/globals.h ('k') | runtime/vm/heap_profiler_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698