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

Side by Side Diff: lib/src/extension.dart

Issue 1670283002: add sendRequest to VMIsolateRef Base URL: git@github.com:yjbanov/vm_service_client.git@master
Patch Set: onServiceExtensionAdded; Future<Object> Created 4 years, 10 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 | « no previous file | lib/src/isolate.dart » ('j') | lib/src/isolate.dart » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
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.
4
5 import 'scope.dart';
6
7 VMServiceExtension newVMServiceExtension(String method) {
8 assert(method != null);
9 return new VMServiceExtension._(method);
10 }
11
12 /// Represents a VM service extension registered in an isolate.
13 ///
14 /// Extensions are registered using `registerExtension` from the
15 /// `dart:developer` package.
16 class VMServiceExtension {
nweiz 2016/02/16 22:03:20 Since Isolate.extensionRPCs is a set of strings, I
yjbanov 2016/02/16 22:31:49 Done.
17 /// RPC method name under which the extension is registered.
18 final String method;
19
20 VMServiceExtension._(this.method);
21 }
OLDNEW
« no previous file with comments | « no previous file | lib/src/isolate.dart » ('j') | lib/src/isolate.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698