Lines Matching defs:SocketStream
41 SocketStream::ResponseHeaders::ResponseHeaders() : IOBuffer() {}
43 void SocketStream::ResponseHeaders::Realloc(size_t new_size) {
47 SocketStream::ResponseHeaders::~ResponseHeaders() { data_ = NULL; }
49 SocketStream::SocketStream(const GURL& url, Delegate* delegate)
62 io_callback_(this, &SocketStream::OnIOCompleted)),
64 read_callback_(this, &SocketStream::OnReadCompleted)),
66 write_callback_(this, &SocketStream::OnWriteCompleted)),
82 SocketStream::UserData* SocketStream::GetUserData(
90 void SocketStream::SetUserData(const void* key, UserData* data) {
94 bool SocketStream::is_secure() const {
98 void SocketStream::set_context(URLRequestContext* context) {
128 void SocketStream::Connect() {
147 NewRunnableMethod(this, &SocketStream::DoLoop, OK));
150 bool SocketStream::SendData(const char* data, int len) {
182 NewRunnableMethod(this, &SocketStream::DoLoop, OK));
186 void SocketStream::Close() {
199 NewRunnableMethod(this, &SocketStream::DoClose));
202 void SocketStream::RestartWithAuth(
224 NewRunnableMethod(this, &SocketStream::DoRestartWithAuth));
227 void SocketStream::DetachDelegate() {
237 void SocketStream::SetHostResolver(HostResolver* host_resolver) {
242 void SocketStream::SetClientSocketFactory(
248 SocketStream::~SocketStream() {
254 void SocketStream::CopyAddrInfo(struct addrinfo* head) {
258 void SocketStream::DoClose() {
262 // restarting. In these states, we'll close the SocketStream now.
268 // the SocketStream.
278 void SocketStream::Finish(int result) {
300 int SocketStream::DidEstablishConnection() {
315 int SocketStream::DidReceiveData(int result) {
329 int SocketStream::DidSendData(int result) {
355 void SocketStream::OnIOCompleted(int result) {
359 void SocketStream::OnReadCompleted(int result) {
370 void SocketStream::OnWriteCompleted(int result) {
377 void SocketStream::DoLoop(int result) {
464 int SocketStream::DoResolveProxy() {
477 int SocketStream::DoResolveProxyComplete(int result) {
511 int SocketStream::DoResolveHost() {
538 int SocketStream::DoResolveHostComplete(int result) {
551 int SocketStream::DoTcpConnect(int result) {
565 int SocketStream::DoTcpConnectComplete(int result) {
584 int SocketStream::DoWriteTunnelHeaders() {
657 int SocketStream::DoWriteTunnelHeadersComplete(int result) {
674 int SocketStream::DoReadTunnelHeaders() {
694 int SocketStream::DoReadTunnelHeadersComplete(int result) {
763 NewRunnableMethod(this, &SocketStream::DoAuthRequired));
774 int SocketStream::DoSOCKSConnect() {
792 int SocketStream::DoSOCKSConnectComplete(int result) {
806 int SocketStream::DoSSLConnect() {
819 int SocketStream::DoSSLConnectComplete(int result) {
863 int SocketStream::DoReadWrite(int result) {
934 GURL SocketStream::ProxyAuthOrigin() const {
940 int SocketStream::HandleAuthChallenge(const HttpResponseHeaders* headers) {
945 // TODO(cbentzel): Since SocketStream only suppports basic authentication
989 void SocketStream::DoAuthRequired() {
996 void SocketStream::DoRestartWithAuth() {
1016 int SocketStream::HandleCertificateError(int result) {
1030 SSLConfigService* SocketStream::ssl_config_service() const {
1034 ProxyService* SocketStream::proxy_service() const {