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

Unified Diff: lib/src/runner/browser/browser.dart

Issue 1257953008: Expose content shell's remote debugging URL. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/runner.dart ('k') | lib/src/runner/browser/browser_manager.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/browser/browser.dart
diff --git a/lib/src/runner/browser/browser.dart b/lib/src/runner/browser/browser.dart
index 8c3fefcf587fd24787ba3d132f71f8a2f6940dd9..bdb67fd701813e7404f82fdd1678c759609dc35d 100644
--- a/lib/src/runner/browser/browser.dart
+++ b/lib/src/runner/browser/browser.dart
@@ -32,6 +32,14 @@ abstract class Browser {
Future<Uri> get observatoryUrl =>
throw new UnsupportedError("$name doesn't support Observatory.");
+ /// The remote debugger URL for this browser.
+ ///
+ /// This will throw an [UnsupportedError] for browsers that don't support
+ /// remote debugging, and return `null` if the remote debugging URL can't be
+ /// found.
+ Future<Uri> get remoteDebuggerUrl =>
+ throw new UnsupportedError("$name doesn't support remote debugging.");
+
/// The underlying process.
///
/// This will fire once the process has started successfully.
« no previous file with comments | « lib/src/runner.dart ('k') | lib/src/runner/browser/browser_manager.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698