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

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

Issue 14055009: Fix errors in previous commit (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « sdk/lib/io/http.dart ('k') | no next file » | 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 class _HttpIncoming extends Stream<List<int>> { 7 class _HttpIncoming extends Stream<List<int>> {
8 final int _transferLength; 8 final int _transferLength;
9 final Completer _dataCompleter = new Completer(); 9 final Completer _dataCompleter = new Completer();
10 Stream<List<int>> _stream; 10 Stream<List<int>> _stream;
(...skipping 1923 matching lines...) Expand 10 before | Expand all | Expand 10 after
1934 String host; 1934 String host;
1935 int port; 1935 int port;
1936 String realm; 1936 String realm;
1937 _HttpClientCredentials credentials; 1937 _HttpClientCredentials credentials;
1938 } 1938 }
1939 1939
1940 1940
1941 abstract class _HttpClientCredentials implements HttpClientCredentials { 1941 abstract class _HttpClientCredentials implements HttpClientCredentials {
1942 _AuthenticationScheme get scheme; 1942 _AuthenticationScheme get scheme;
1943 void authorize(_Credentials credentials, HttpClientRequest request); 1943 void authorize(_Credentials credentials, HttpClientRequest request);
1944 void authorizeProxy(_ProxyCredentials _, HttpClientRequest request);
1944 } 1945 }
1945 1946
1946 1947
1947 class _HttpClientBasicCredentials 1948 class _HttpClientBasicCredentials
1948 extends _HttpClientCredentials 1949 extends _HttpClientCredentials
1949 implements HttpClientBasicCredentials { 1950 implements HttpClientBasicCredentials {
1950 _HttpClientBasicCredentials(this.username, 1951 _HttpClientBasicCredentials(this.username,
1951 this.password); 1952 this.password);
1952 1953
1953 _AuthenticationScheme get scheme => _AuthenticationScheme.BASIC; 1954 _AuthenticationScheme get scheme => _AuthenticationScheme.BASIC;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
2001 2002
2002 2003
2003 class _RedirectInfo implements RedirectInfo { 2004 class _RedirectInfo implements RedirectInfo {
2004 const _RedirectInfo(int this.statusCode, 2005 const _RedirectInfo(int this.statusCode,
2005 String this.method, 2006 String this.method,
2006 Uri this.location); 2007 Uri this.location);
2007 final int statusCode; 2008 final int statusCode;
2008 final String method; 2009 final String method;
2009 final Uri location; 2010 final Uri location;
2010 } 2011 }
OLDNEW
« no previous file with comments | « sdk/lib/io/http.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698