Chromium Code Reviews

Side by Side Diff: lib/src/runner/plugin/environment.dart

Issue 1685363002: Add a platform plugin infrastructure. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « lib/src/runner/loader.dart ('k') | lib/src/runner/plugin/platform.dart » ('j') | no next file with comments »
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 'package:async/async.dart';
6
7 import '../environment.dart';
8
9 /// The default environment for platform plugins.
10 class PluginEnvironment implements Environment {
11 final supportsDebugging = false;
12
13 const PluginEnvironment();
14
15 Uri get observatoryUrl => throw new UnsupportedError(
16 "PluginEnvironment.observatoryUrl is not supported.");
17
18 Uri get remoteDebuggerUrl => throw new UnsupportedError(
19 "PluginEnvironment.remoteDebuggerUrl is not supported.");
20
21 CancelableOperation displayPause() =>
22 throw new UnsupportedError(
23 "PluginEnvironment.displayPause is not supported.");
24 }
OLDNEW
« no previous file with comments | « lib/src/runner/loader.dart ('k') | lib/src/runner/plugin/platform.dart » ('j') | no next file with comments »

Powered by Google App Engine