Home
last modified time | relevance | path

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

/external/chromium/net/url_request/
Durl_request_http_job.cc90 transaction_(NULL), in URLRequestHttpJob()
126 DCHECK(!transaction_.get()) << "cannot change once started"; in SetUpload()
132 DCHECK(!transaction_.get()) << "cannot change once started"; in SetExtraRequestHeaders()
137 DCHECK(!transaction_.get()); in Start()
158 if (!transaction_.get()) in Kill()
166 return transaction_.get() ? in GetLoadState()
167 transaction_->GetLoadState() : net::LOAD_STATE_IDLE; in GetLoadState()
171 return transaction_.get() ? transaction_->GetUploadProgress() : 0; in GetUploadProgress()
175 DCHECK(transaction_.get()); in GetMimeType()
184 DCHECK(transaction_.get()); in GetCharset()
[all …]
Durl_request_new_ftp_job.cc47 if (transaction_->GetResponseInfo()->is_directory_listing) { in GetMimeType()
55 DCHECK(!transaction_.get()); in Start()
61 if (!transaction_.get()) in Kill()
68 return transaction_.get() ? in GetLoadState()
69 transaction_->GetLoadState() : net::LOAD_STATE_IDLE; in GetLoadState()
124 int rv = transaction_->Read(buf, buf_size, &read_callback_); in ReadRawData()
145 if (!transaction_.get()) in OnStartCompleted()
151 } else if (transaction_->GetResponseInfo()->needs_auth) { in OnStartCompleted()
197 int rv = transaction_->RestartWithAuth(server_auth_->username, in RestartTransactionWithAuth()
209 DCHECK(!transaction_.get()); in StartTransaction()
[all …]
Durl_request_new_ftp_job.h63 scoped_ptr<net::FtpTransaction> transaction_; variable
Durl_request_http_job.h111 scoped_ptr<net::HttpTransaction> transaction_; variable
/external/chromium/net/ftp/
Dftp_network_transaction_unittest.cc558 transaction_(session_.get(), &mock_socket_factory_) { in FtpNetworkTransactionTest()
583 EXPECT_EQ(LOAD_STATE_IDLE, transaction_.GetLoadState()); in ExecuteTransaction()
585 transaction_.Start(&request_info, &callback_, NULL)); in ExecuteTransaction()
586 EXPECT_NE(LOAD_STATE_IDLE, transaction_.GetLoadState()); in ExecuteTransaction()
593 transaction_.Read(io_buffer.get(), kBufferSize, &callback_)); in ExecuteTransaction()
598 EXPECT_EQ(LOAD_STATE_IDLE, transaction_.GetLoadState()); in ExecuteTransaction()
614 FtpNetworkTransaction transaction_; member in net::FtpNetworkTransactionTest
621 EXPECT_EQ(LOAD_STATE_IDLE, transaction_.GetLoadState()); in TEST_F()
623 transaction_.Start(&request_info, &callback_, NULL)); in TEST_F()
625 EXPECT_EQ(LOAD_STATE_IDLE, transaction_.GetLoadState()); in TEST_F()
[all …]
/external/chromium/net/tools/fetch/
Dfetch_client.cc58 int rv = factory->CreateTransaction(&transaction_); in Client()
64 int state = transaction_->Start( in Client()
72 int state = transaction_->Read(buffer_.get(), kBufferSize, &read_callback_); in OnConnectComplete()
91 int state = transaction_->Read(buffer_.get(), kBufferSize, &read_callback_); in OnReadComplete()
109 scoped_ptr<net::HttpTransaction> transaction_; member in Client