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

Side by Side Diff: sdk/lib/io/websocket_impl.dart

Issue 2880543002: Revert "Change some platform libraries to use `part of URI`." (Closed)
Patch Set: Created 3 years, 7 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 | « sdk/lib/io/websocket.dart ('k') | sdk/lib/isolate/capability.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 part of "dart:io"; 5 part of dart.io;
6 6
7 const String _webSocketGUID = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; 7 const String _webSocketGUID = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11";
8 const String _clientNoContextTakeover = "client_no_context_takeover"; 8 const String _clientNoContextTakeover = "client_no_context_takeover";
9 const String _serverNoContextTakeover = "server_no_context_takeover"; 9 const String _serverNoContextTakeover = "server_no_context_takeover";
10 const String _clientMaxWindowBits = "client_max_window_bits"; 10 const String _clientMaxWindowBits = "client_max_window_bits";
11 const String _serverMaxWindowBits = "server_max_window_bits"; 11 const String _serverMaxWindowBits = "server_max_window_bits";
12 12
13 // Matches _WebSocketOpcode. 13 // Matches _WebSocketOpcode.
14 class _WebSocketMessageType { 14 class _WebSocketMessageType {
15 static const int NONE = 0; 15 static const int NONE = 0;
(...skipping 1266 matching lines...) Expand 10 before | Expand all | Expand 10 after
1282 return code != null && 1282 return code != null &&
1283 (code < WebSocketStatus.NORMAL_CLOSURE || 1283 (code < WebSocketStatus.NORMAL_CLOSURE ||
1284 code == WebSocketStatus.RESERVED_1004 || 1284 code == WebSocketStatus.RESERVED_1004 ||
1285 code == WebSocketStatus.NO_STATUS_RECEIVED || 1285 code == WebSocketStatus.NO_STATUS_RECEIVED ||
1286 code == WebSocketStatus.ABNORMAL_CLOSURE || 1286 code == WebSocketStatus.ABNORMAL_CLOSURE ||
1287 (code > WebSocketStatus.INTERNAL_SERVER_ERROR && 1287 (code > WebSocketStatus.INTERNAL_SERVER_ERROR &&
1288 code < WebSocketStatus.RESERVED_1015) || 1288 code < WebSocketStatus.RESERVED_1015) ||
1289 (code >= WebSocketStatus.RESERVED_1015 && code < 3000)); 1289 (code >= WebSocketStatus.RESERVED_1015 && code < 3000));
1290 } 1290 }
1291 } 1291 }
OLDNEW
« no previous file with comments | « sdk/lib/io/websocket.dart ('k') | sdk/lib/isolate/capability.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698