Home
last modified time | relevance | path

Searched refs:transaction_ (Results 1 – 12 of 12) sorted by relevance

/external/chromium/net/url_request/
Durl_request_ftp_job.cc49 if (transaction_->GetResponseInfo()->is_directory_listing) { in GetMimeType()
57 if (!transaction_.get()) { in GetSocketAddress()
60 return transaction_->GetResponseInfo()->socket_address; in GetSocketAddress()
68 DCHECK(!transaction_.get()); in StartTransaction()
72 transaction_.reset( in StartTransaction()
79 if (transaction_.get()) { in StartTransaction()
80 rv = transaction_->Start( in StartTransaction()
102 transaction_->GetResponseInfo()->expected_content_size); in OnStartCompleted()
106 } else if (transaction_->GetResponseInfo()->needs_auth) { in OnStartCompleted()
152 int rv = transaction_->RestartWithAuth(server_auth_->username, in RestartTransactionWithAuth()
[all …]
Durl_request_http_job.cc216 transaction_(NULL), in URLRequestHttpJob()
239 response_info_ = transaction_->GetResponseInfo(); in NotifyHeadersComplete()
277 if (transaction_->IsReadyToRestartForAuth()) { in NotifyHeadersComplete()
292 DCHECK(transaction_.get()); in DestroyTransaction()
294 transaction_.reset(); in DestroyTransaction()
307 if (transaction_.get()) { in StartTransaction()
308 rv = transaction_->RestartWithAuth(username_, password_, &start_callback_); in StartTransaction()
316 &transaction_); in StartTransaction()
320 rv = transaction_->Start( in StartTransaction()
433 DCHECK(transaction_.get()); in SaveCookiesAndNotifyHeadersComplete()
[all …]
Durl_request_ftp_job.h64 scoped_ptr<FtpTransaction> transaction_; variable
Durl_request_http_job.h116 scoped_ptr<HttpTransaction> transaction_; variable
/external/chromium/net/ftp/
Dftp_network_transaction_unittest.cc736 transaction_(session_.get(), &mock_socket_factory_) { in FtpNetworkTransactionTest()
761 EXPECT_EQ(LOAD_STATE_IDLE, transaction_.GetLoadState()); in ExecuteTransaction()
763 transaction_.Start(&request_info, &callback_, BoundNetLog())); in ExecuteTransaction()
764 EXPECT_NE(LOAD_STATE_IDLE, transaction_.GetLoadState()); in ExecuteTransaction()
770 transaction_.Read(io_buffer.get(), kBufferSize, &callback_)); in ExecuteTransaction()
776 int rv = transaction_.Read(io_buffer.get(), kBufferSize, &callback_); in ExecuteTransaction()
784 EXPECT_EQ(LOAD_STATE_IDLE, transaction_.GetLoadState()); in ExecuteTransaction()
800 FtpNetworkTransaction transaction_; member in net::FtpNetworkTransactionTest
807 EXPECT_EQ(LOAD_STATE_IDLE, transaction_.GetLoadState()); in TEST_F()
809 transaction_.Start(&request_info, &callback_, BoundNetLog())); in TEST_F()
[all …]
/external/chromium/third_party/libjingle/source/talk/base/
Dhttpclient.h126 HttpTransaction* transaction() { return transaction_; } in transaction()
127 const HttpTransaction* transaction() const { return transaction_; } in transaction()
128 HttpRequestData& request() { return transaction_->request; } in request()
129 const HttpRequestData& request() const { return transaction_->request; } in request()
130 HttpResponseData& response() { return transaction_->response; } in response()
131 const HttpResponseData& response() const { return transaction_->response; } in response()
189 HttpTransaction* transaction_; variable
Dhttpclient.cc285 transaction_(transaction), free_transaction_(false), in HttpClient()
290 if (NULL == transaction_) { in HttpClient()
292 transaction_ = new HttpTransaction; in HttpClient()
301 delete transaction_; in ~HttpClient()
395 base_.send(&transaction_->request); in connect()
478 if (!HttpWriteCacheHeaders(&transaction_->response, stream.get(), NULL)) { in WriteCacheHeaders()
516 switch (HttpGetCacheState(*transaction_)) { in CheckCache()
557 if (!HttpReadCacheHeaders(stream.get(), &transaction_->response, combine)) { in ReadCacheHeaders()
685 && HttpShouldCache(*transaction_)) { in onHttpHeaderComplete()
713 base_.send(&transaction_->request); in onHttpComplete()
[all …]
/external/chromium/net/tools/fetch/
Dfetch_client.cc63 int rv = factory->CreateTransaction(&transaction_); in Client()
69 int state = transaction_->Start( in Client()
77 int state = transaction_->Read(buffer_.get(), kBufferSize, &read_callback_); in OnConnectComplete()
96 int state = transaction_->Read(buffer_.get(), kBufferSize, &read_callback_); in OnReadComplete()
114 scoped_ptr<net::HttpTransaction> transaction_; member in Client
/external/chromium/chrome/browser/sync/engine/
Dsyncapi.h467 WriteTransaction* transaction_; variable
512 const BaseTransaction* transaction_; variable
569 syncable::BaseTransaction* transaction_; variable
585 syncable::WriteTransaction* GetWrappedWriteTrans() { return transaction_; } in GetWrappedWriteTrans()
591 transaction_ = trans;} in SetTransaction()
597 syncable::WriteTransaction* transaction_; variable
Dsyncapi.cc693 : entry_(NULL), transaction_(transaction) { in WriteNode()
706 entry_ = new syncable::MutableEntry(transaction_->GetWrappedWriteTrans(), in InitByIdLookup()
723 entry_ = new syncable::MutableEntry(transaction_->GetWrappedWriteTrans(), in InitByClientTagLookup()
733 entry_ = new syncable::MutableEntry(transaction_->GetWrappedWriteTrans(), in InitByTagLookup()
774 entry_ = new syncable::MutableEntry(transaction_->GetWrappedWriteTrans(), in InitByCreation()
812 new syncable::MutableEntry(transaction_->GetWrappedWriteTrans(), in InitUniqueByCreation()
847 entry_ = new syncable::MutableEntry(transaction_->GetWrappedWriteTrans(), in InitUniqueByCreation()
904 return transaction_; in GetTransaction()
933 : entry_(NULL), transaction_(transaction) { in ReadNode()
939 transaction_ = NULL; in ReadNode()
[all …]
/external/chromium/net/http/
Dhttp_cache.cc222 : transaction_(trans), in MetadataWriter()
236 scoped_ptr<HttpCache::Transaction> transaction_; member in net::HttpCache::MetadataWriter
261 int rv = transaction_->Start(&request_info_, &callback_, BoundNetLog()); in Write()
271 const HttpResponseInfo* response_info = transaction_->GetResponseInfo(); in VerifyResponse()
276 result = transaction_->WriteMetadata(buf_, buf_len_, &callback_); in VerifyResponse()
/external/chromium/net/spdy/
Dspdy_network_transaction_unittest.cc1299 : transaction_(transaction) {} in KillerCallback()
1303 delete transaction_; in RunWithParams()
1308 HttpNetworkTransaction* transaction_; member in net::KillerCallback