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

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

Issue 1811613002: Timeline API fixes for Flutter (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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.cc ('k') | runtime/vm/timeline.h » ('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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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/service_isolate.h" 5 #include "vm/service_isolate.h"
6 6
7 #include "vm/compiler.h" 7 #include "vm/compiler.h"
8 #include "vm/dart_api_impl.h" 8 #include "vm/dart_api_impl.h"
9 #include "vm/dart_entry.h" 9 #include "vm/dart_entry.h"
10 #include "vm/isolate.h" 10 #include "vm/isolate.h"
11 #include "vm/lockers.h" 11 #include "vm/lockers.h"
12 #include "vm/message.h" 12 #include "vm/message.h"
13 #include "vm/message_handler.h" 13 #include "vm/message_handler.h"
14 #include "vm/native_entry.h" 14 #include "vm/native_entry.h"
15 #include "vm/native_arguments.h" 15 #include "vm/native_arguments.h"
16 #include "vm/object.h" 16 #include "vm/object.h"
17 #include "vm/object_store.h" 17 #include "vm/object_store.h"
18 #include "vm/port.h" 18 #include "vm/port.h"
19 #include "vm/service.h" 19 #include "vm/service.h"
20 #include "vm/symbols.h" 20 #include "vm/symbols.h"
21 #include "vm/thread_pool.h" 21 #include "vm/thread_pool.h"
22 #include "vm/timeline.h"
22 23
23 namespace dart { 24 namespace dart {
24 25
25 DECLARE_FLAG(bool, shutdown); 26 DECLARE_FLAG(bool, shutdown);
26 27
27 #define Z (T->zone()) 28 #define Z (T->zone())
28 29
29 30
30 DEFINE_FLAG(bool, trace_service, false, "Trace VM service requests."); 31 DEFINE_FLAG(bool, trace_service, false, "Trace VM service requests.");
31 DEFINE_FLAG(bool, trace_service_pause_events, false, 32 DEFINE_FLAG(bool, trace_service_pause_events, false,
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 ASSERT(!result.IsNull()); 505 ASSERT(!result.IsNull());
505 Dart_Port port = ILLEGAL_PORT; 506 Dart_Port port = ILLEGAL_PORT;
506 if (result.IsReceivePort()) { 507 if (result.IsReceivePort()) {
507 port = ReceivePort::Cast(result).Id(); 508 port = ReceivePort::Cast(result).Id();
508 } 509 }
509 ASSERT(port != ILLEGAL_PORT); 510 ASSERT(port != ILLEGAL_PORT);
510 ServiceIsolate::SetServicePort(port); 511 ServiceIsolate::SetServicePort(port);
511 } 512 }
512 513
513 } // namespace dart 514 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/service.cc ('k') | runtime/vm/timeline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698