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

Side by Side Diff: lib/src/runner/browser/browser_manager.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. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/src/backend/invoker.dart ('k') | lib/src/runner/debugger.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 import 'dart:async'; 5 import 'dart:async';
6 import 'dart:convert'; 6 import 'dart:convert';
7 7
8 import 'package:async/async.dart'; 8 import 'package:async/async.dart';
9 import 'package:http_parser/http_parser.dart'; 9 import 'package:http_parser/http_parser.dart';
10 import 'package:pool/pool.dart'; 10 import 'package:pool/pool.dart';
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 }); 234 });
235 final _closeMemoizer = new AsyncMemoizer(); 235 final _closeMemoizer = new AsyncMemoizer();
236 } 236 }
237 237
238 /// An implementation of [Environment] for the browser. 238 /// An implementation of [Environment] for the browser.
239 /// 239 ///
240 /// All methods forward directly to [BrowserManager]. 240 /// All methods forward directly to [BrowserManager].
241 class _BrowserEnvironment implements Environment { 241 class _BrowserEnvironment implements Environment {
242 final BrowserManager _manager; 242 final BrowserManager _manager;
243 243
244 final supportsDebugging = true;
245
244 final Uri observatoryUrl; 246 final Uri observatoryUrl;
245 247
246 final Uri remoteDebuggerUrl; 248 final Uri remoteDebuggerUrl;
247 249
248 _BrowserEnvironment(this._manager, this.observatoryUrl, 250 _BrowserEnvironment(this._manager, this.observatoryUrl,
249 this.remoteDebuggerUrl); 251 this.remoteDebuggerUrl);
250 252
251 CancelableOperation displayPause() => _manager._displayPause(); 253 CancelableOperation displayPause() => _manager._displayPause();
252 } 254 }
OLDNEW
« no previous file with comments | « lib/src/backend/invoker.dart ('k') | lib/src/runner/debugger.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698