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

Side by Side Diff: lib/src/runner/browser/browser.dart

Issue 1580973002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 4 years, 11 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 | « lib/src/runner/application_exception.dart ('k') | lib/src/runner/browser/browser_manager.dart » ('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 library test.runner.browser.browser;
6
7 import 'dart:async'; 5 import 'dart:async';
8 import 'dart:io'; 6 import 'dart:io';
9 7
10 import 'package:stack_trace/stack_trace.dart'; 8 import 'package:stack_trace/stack_trace.dart';
11 9
12 import '../../utils.dart'; 10 import '../../utils.dart';
13 import '../application_exception.dart'; 11 import '../application_exception.dart';
14 12
15 typedef Future<Process> StartBrowserFn(); 13 typedef Future<Process> StartBrowserFn();
16 14
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 /// Returns the same [Future] as [onExit], except that it won't emit 110 /// Returns the same [Future] as [onExit], except that it won't emit
113 /// exceptions. 111 /// exceptions.
114 Future close() { 112 Future close() {
115 _closed = true; 113 _closed = true;
116 _process.then((process) => process.kill()); 114 _process.then((process) => process.kill());
117 115
118 // Swallow exceptions. The user should explicitly use [onExit] for these. 116 // Swallow exceptions. The user should explicitly use [onExit] for these.
119 return onExit.catchError((_) {}); 117 return onExit.catchError((_) {});
120 } 118 }
121 } 119 }
OLDNEW
« no previous file with comments | « lib/src/runner/application_exception.dart ('k') | lib/src/runner/browser/browser_manager.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698