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:
Lasse R.H. Nielsen 2023-04-25 14:41:19 +00:00 committed by Commit Queue
parent a0d6b2daed
commit d440905d5a

View file

@ -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 = {};