Index: lib/src/runner/plugin/environment.dart |
diff --git a/lib/src/runner/plugin/environment.dart b/lib/src/runner/plugin/environment.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..72e2674fb6bd4950ae908e5623c977bb272a6a7f |
--- /dev/null |
+++ b/lib/src/runner/plugin/environment.dart |
@@ -0,0 +1,24 @@ |
+// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+import 'package:async/async.dart'; |
+ |
+import '../environment.dart'; |
+ |
+/// The default environment for platform plugins. |
+class PluginEnvironment implements Environment { |
+ final supportsDebugging = false; |
+ |
+ const PluginEnvironment(); |
+ |
+ Uri get observatoryUrl => throw new UnsupportedError( |
+ "PluginEnvironment.observatoryUrl is not supported."); |
+ |
+ Uri get remoteDebuggerUrl => throw new UnsupportedError( |
+ "PluginEnvironment.remoteDebuggerUrl is not supported."); |
+ |
+ CancelableOperation displayPause() => |
+ throw new UnsupportedError( |
+ "PluginEnvironment.displayPause is not supported."); |
+} |