
* opt out the flutter tool * oops EOF * fix import * Update tool_backend.dart * Update daemon_client.dart * fix more
33 lines
891 B
Dart
33 lines
891 B
Dart
// Copyright 2014 The Flutter Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
// @dart = 2.8
|
|
|
|
import 'package:meta/meta.dart';
|
|
|
|
import '../base/context.dart';
|
|
import '../base/net.dart';
|
|
import '../device.dart';
|
|
import '../project.dart';
|
|
import '../resident_runner.dart';
|
|
|
|
WebRunnerFactory get webRunnerFactory => context.get<WebRunnerFactory>();
|
|
|
|
// Hack to hide web imports for google3.
|
|
abstract class WebRunnerFactory {
|
|
const WebRunnerFactory();
|
|
|
|
/// Create a [ResidentRunner] for the web.
|
|
ResidentRunner createWebRunner(
|
|
FlutterDevice device, {
|
|
String target,
|
|
@required bool stayResident,
|
|
@required FlutterProject flutterProject,
|
|
@required bool ipv6,
|
|
@required DebuggingOptions debuggingOptions,
|
|
@required UrlTunneller urlTunneller,
|
|
bool machine = false,
|
|
});
|
|
}
|