| Index: sdk/lib/_internal/pub/lib/src/barback/old_web_socket_api.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/barback/web_socket_api.dart b/sdk/lib/_internal/pub/lib/src/barback/old_web_socket_api.dart
|
| similarity index 98%
|
| copy from sdk/lib/_internal/pub/lib/src/barback/web_socket_api.dart
|
| copy to sdk/lib/_internal/pub/lib/src/barback/old_web_socket_api.dart
|
| index eeb804f98f6947641fb86e6c20dbf9f36db893b3..3ffa32562c774e8175c5a2c035ac0f39c9ba0d65 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/barback/web_socket_api.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/barback/old_web_socket_api.dart
|
| @@ -2,7 +2,9 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -library pub.barback.web_socket_api;
|
| +// TODO(nweiz): Remove this when the Editor is using the admin server port. See
|
| +// issue 17640.
|
| +library pub.barback.old_web_socket_api;
|
|
|
| import 'dart:async';
|
| import 'dart:convert';
|
| @@ -53,7 +55,7 @@ import '../log.dart' as log;
|
| /// category of error.
|
| ///
|
| /// No successful response map will contain a key named "error".
|
| -class WebSocketApi {
|
| +class OldWebSocketApi {
|
| final WebSocket _socket;
|
| final BuildEnvironment _environment;
|
|
|
|
|