mirror of
https://github.com/dart-lang/sdk
synced 2024-09-06 00:59:09 +00:00
Reestablish abstract
on HttpProfiler
.
Class used to be abstract, but lost it when made `final`. There is no reason to allow instantiation, it's all static members. Restablishing the `abstract` before we release 3.0, so we don't have to go through any extra steps. The class is public, exported by `dart:io`. (Should probably also be documented.) Change-Id: Ic1a3e1a777ecbdcf535b92dbcdd88f55a65e9cbe Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/297463 Commit-Queue: Lasse Nielsen <lrn@google.com> Reviewed-by: Slava Egorov <vegorov@google.com>
This commit is contained in:
parent
a0d6b2daed
commit
d440905d5a
|
@ -4,7 +4,7 @@
|
|||
|
||||
part of dart._http;
|
||||
|
||||
final class HttpProfiler {
|
||||
abstract final class HttpProfiler {
|
||||
static const _kType = 'HttpProfile';
|
||||
|
||||
static final Map<String, _HttpProfileData> _profile = {};
|
||||
|
|
Loading…
Reference in a new issue