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

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

Issue 1190103003: Remove dart_debugger_api.h (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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
« no previous file with comments | « runtime/vm/service_test.cc ('k') | tools/create_sdk.py » ('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 "platform/globals.h" 5 #include "platform/globals.h"
6 6
7 #include "include/dart_debugger_api.h" 7 #include "include/dart_tools_api.h"
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/class_finalizer.h" 9 #include "vm/class_finalizer.h"
10 #include "vm/dart_api_impl.h" 10 #include "vm/dart_api_impl.h"
11 #include "vm/dart_api_message.h" 11 #include "vm/dart_api_message.h"
12 #include "vm/dart_api_state.h" 12 #include "vm/dart_api_state.h"
13 #include "vm/flags.h" 13 #include "vm/flags.h"
14 #include "vm/snapshot.h" 14 #include "vm/snapshot.h"
15 #include "vm/symbols.h" 15 #include "vm/symbols.h"
16 #include "vm/unicode.h" 16 #include "vm/unicode.h"
17 #include "vm/unit_test.h" 17 #include "vm/unit_test.h"
(...skipping 2840 matching lines...) Expand 10 before | Expand all | Expand 10 after
2858 StackZone zone(Isolate::Current()); 2858 StackZone zone(Isolate::Current());
2859 uint8_t* buffer; 2859 uint8_t* buffer;
2860 MessageWriter writer(&buffer, &zone_allocator, true); 2860 MessageWriter writer(&buffer, &zone_allocator, true);
2861 writer.WriteInlinedObjectHeader(kOmittedObjectId); 2861 writer.WriteInlinedObjectHeader(kOmittedObjectId);
2862 // For performance, we'd like single-byte headers when ids are omitted. 2862 // For performance, we'd like single-byte headers when ids are omitted.
2863 // If this starts failing, consider renumbering the snapshot ids. 2863 // If this starts failing, consider renumbering the snapshot ids.
2864 EXPECT_EQ(1, writer.BytesWritten()); 2864 EXPECT_EQ(1, writer.BytesWritten());
2865 } 2865 }
2866 2866
2867 } // namespace dart 2867 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/service_test.cc ('k') | tools/create_sdk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698