Home
last modified time | relevance | path

Searched refs:connection_ (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium-trace/trace-viewer/src/
Dtimeline_stream_importer.js72 this.connection_ = undefined;
88 if (!this.connection_)
90 this.connection_.removeEventListener('open',
92 this.connection_.removeEventListener('close',
94 this.connection_.removeEventListener('error',
96 this.connection_.removeEventListener('message',
192 if (this.connection_ !== undefined &&
193 this.connection_.readyState == WebSocket.OPEN) {
208 this.connection_ = wsConnection;
209 this.connection_.addEventListener('open',
[all …]
/external/chromium/net/http/
Dhttp_stream_factory_impl_job.cc48 connection_(new ClientSocketHandle), in Job()
76 connection_->socket()->Disconnect(); in ~Job()
77 connection_.reset(); in ~Job()
113 return connection_->GetLoadState(); in GetLoadState()
181 DCHECK(connection_.get() && connection_->socket()); in GetSSLInfo()
183 static_cast<SSLClientSocket*>(connection_->socket()); in GetSSLInfo()
317 DCHECK(connection_.get()); in RunLoop()
318 DCHECK(connection_->socket()); in RunLoop()
322 static_cast<HttpProxyClientSocket*>(connection_->socket()); in RunLoop()
341 connection_->ssl_error_response_info().cert_request_info)); in RunLoop()
[all …]
Dhttp_stream_parser.cc41 connection_(connection), in HttpStreamParser()
76 int result = connection_->socket()->GetPeerAddress(&address); in SendRequest()
130 if (not_reusable && connection_->socket()) in Close()
131 connection_->socket()->Disconnect(); in Close()
132 connection_->Reset(); in Close()
273 result = connection_->socket()->Write(request_headers_, in DoSendHeaders()
291 return connection_->socket()->Write(chunk_buf_, chunk_length_, in DoSendBody()
326 return connection_->socket()->Write(chunk_buf_, chunk_length_, in DoSendBody()
335 result = connection_->socket()->Write(request_body_->buf(), buf_len, in DoSendBody()
354 return connection_->socket()->Read(read_buf_, in DoReadHeaders()
[all …]
Dhttp_basic_stream.cc23 connection_(connection), in HttpBasicStream()
35 parser_.reset(new HttpStreamParser(connection_.get(), request_info, in InitializeStream()
82 return new HttpBasicStream(connection_.release(), NULL, using_proxy_); in RenewStreamForAuth()
Dhttp_basic_stream.h89 scoped_ptr<ClientSocketHandle> connection_; variable
/external/chromium/app/sql/
Dtransaction.cc13 : connection_(connection), in Transaction()
19 connection_->RollbackTransaction(); in ~Transaction()
27 is_open_ = connection_->BeginTransaction(); in Begin()
38 connection_->RollbackTransaction(); in Rollback()
48 return connection_->CommitTransaction(); in Commit()
Dconnection.cc63 : connection_(NULL), in StatementRef()
69 : connection_(connection), in StatementRef()
71 connection_->StatementRefCreated(this); in StatementRef()
75 if (connection_) in ~StatementRef()
76 connection_->StatementRefDeleted(this); in ~StatementRef()
85 connection_ = NULL; // The connection may be getting deleted. in Close()
Dconnection.h307 Connection* connection() const { return connection_; } in connection()
322 Connection* connection_; variable
Dtransaction.h46 Connection* connection_;
/external/chromium/chrome/browser/debugger/
Ddevtools_protocol_handler.cc36 connection_(NULL), in DevToolsProtocolHandler()
44 DCHECK(connection_.get() == NULL); in ~DevToolsProtocolHandler()
67 connection_ = NULL; in Teardown()
103 if (connection_ != NULL) { in Send()
104 connection_->Send(message.ToString()); in Send()
110 connection_ = connection; in OnAcceptConnection()
115 connection_ = NULL; in OnConnectionLost()
Ddevtools_remote_listen_socket_unittest.cc78 connection_(NULL), in DevToolsRemoteListenSocketTester()
255 connection_->Send(kChromeDevToolsHandshake);
261 connection_ = connection;
266 connection_ = NULL;
Ddevtools_protocol_handler.h70 scoped_refptr<ListenSocket> connection_; variable
Ddevtools_remote_listen_socket_unittest.h116 ListenSocket* connection_; variable
/external/chromium/net/tools/flip_server/
Dhttp_interface.cc24 connection_(connection), in HttpSM()
61 << connection_->server_ip_ << ":" in ProcessHeaders()
62 << connection_->server_port_ << " "; in ProcessHeaders()
117 connection_->InitSMConnection(connection_pool, in InitSMConnection()
142 connection_->EnqueueDataFrame(data_frame); in ProcessWriteInput()
171 << "to: " << connection_->server_ip_ << ":" in ResetForNewConnection()
172 << connection_->server_port_ << " "; in ResetForNewConnection()
192 connection_->Cleanup("request complete"); in Cleanup()
323 connection_->EnqueueDataFrame(df); in EnqueueDataFrame()
Dstreamer_interface.cc22 : connection_(connection), in StreamerSM()
60 connection_->InitSMConnection(connection_pool, sm_interface, in InitSMConnection()
81 connection_->EnqueueDataFrame(df); in ProcessWriteInput()
103 connection_->Cleanup("Server Reset"); in Reset()
176 connection_->client_ip()); in ProcessHeaders()
Doutput_ordering.cc18 connection_(connection) { in OutputOrdering()
88 connection_->ReadyToSend(); in MoveToActive()
Dspdy_interface.cc70 connection_(connection), in SpdySM()
95 connection_->InitSMConnection(connection_pool, sm_interface, in InitSMConnection()
211 connection_->client_ip() + "\r\n"; in SpdyHandleNewStream()
546 connection_->EnqueueDataFrame(df); in EnqueueDataFrame()
Doutput_ordering.h41 SMConnectionInterface* connection_; variable
/external/chromium/net/base/
Dlisten_socket_unittest.cc26 connection_(NULL), in ListenSocketTester()
108 connection_->Release(); in Shutdown()
109 connection_ = NULL; in Shutdown()
124 connection_->Send(kHelloWorld); in SendFromTester()
191 connection_ = connection; in DidAccept()
192 connection_->AddRef(); in DidAccept()
/external/chromium/net/spdy/
Dspdy_session.cc254 connection_(new ClientSocketHandle), in SpdySession()
304 if (connection_->is_initialized()) { in ~SpdySession()
306 connection_->socket()->Disconnect(); in ~SpdySession()
328 connection_.reset(connection); in InitializeWithSocket()
626 return connection_->GetLoadState(); in GetLoadState()
732 CHECK(connection_.get()); in ReadSocket()
733 CHECK(connection_->socket()); in ReadSocket()
734 int bytes_read = connection_->socket()->Read(read_buffer_.get(), in ReadSocket()
827 int rv = connection_->socket()->Write(in_flight_write_.buffer(), in WriteSocket()
949 if (!connection_->socket()) in GetPeerAddress()
[all …]
/external/chromium/third_party/libjingle/source/talk/p2p/base/
Dport.cc466 explicit ConnectionRequest(Connection* connection) : connection_(connection) { in ConnectionRequest()
476 std::string username = connection_->remote_candidate().username(); in Prepare()
477 username.append(connection_->port()->username_fragment()); in Prepare()
483 connection_->OnConnectionRequestResponse(this, response); in OnResponse()
487 connection_->OnConnectionRequestErrorResponse(this, response); in OnErrorResponse()
491 connection_->OnConnectionRequestTimeout(this); in OnTimeout()
502 Connection* connection_; member in cricket::ConnectionRequest
Drelayport.cc182 RelayConnection* connection_; member in cricket::AllocateRequest
727 entry_(entry), connection_(connection) { in AllocateRequest()
766 entry_->OnConnect(addr, connection_); in OnResponse()
790 entry_->HandleConnectFailure(connection_->socket()); in OnTimeout()
/external/chromium/chrome/browser/sync/engine/
Dsyncer_thread2_whitebox_unittest.cc28 context_ = new SyncSessionContext(connection_.get(), syncdb_.manager(), in SetUp()
91 scoped_ptr<MockConnectionManager> connection_; member in browser_sync::SyncerThread2WhiteboxTest
Dsyncer_thread2_unittest.cc60 connection_.reset(new MockConnectionManager(syncdb_.manager(), "Test")); in SetUp()
61 connection_->SetServerReachable(); in SetUp()
62 context_ = new SyncSessionContext(connection_.get(), syncdb_.manager(), in SetUp()
74 connection_.reset(new MockConnectionManager(syncdb_.manager(), "Test")); in SetUpWithTypes()
75 connection_->SetServerReachable(); in SetUpWithTypes()
76 context_ = new SyncSessionContext(connection_.get(), syncdb_.manager(), in SetUpWithTypes()
86 MockConnectionManager* connection() { return connection_.get(); } in connection()
171 scoped_ptr<MockConnectionManager> connection_; member in browser_sync::SyncerThread2Test
/external/chromium/chrome/browser/password_manager/
Dnative_backend_kwallet_x.cc33 connection_(NULL), in NativeBackendKWallet()
44 connection_ = dbus_g_bus_get(DBUS_BUS_SESSION, &error_); in Init()
61 dbus_g_proxy_new_for_name(connection_, kKLauncherServiceName, in StartKWalletd()
95 proxy_ = dbus_g_proxy_new_for_name(connection_, kKWalletServiceName, in InitWallet()

12