Home
last modified time | relevance | path

Searched refs:trans_ (Results 1 – 5 of 5) sorted by relevance

/external/chromium/net/http/
Dhttp_transaction_unittest.cc150 trans_(NULL), in TestTransactionConsumer()
153 factory->CreateTransaction(&trans_); in TestTransactionConsumer()
163 int result = trans_->Start(request, this, net_log); in Start()
195 int result = trans_->Read(read_buf_, 1024, this); in Read()
Dhttp_transaction_unittest.h118 return trans_->GetResponseInfo(); in response_info()
139 scoped_ptr<net::HttpTransaction> trans_; variable
Dhttp_cache.cc140 : operation_(operation), trans_(trans), entry_(entry), callback_(NULL), in WorkItem()
144 : operation_(operation), trans_(trans), entry_(NULL), callback_(cb), in WorkItem()
153 if (trans_) in NotifyTransaction()
154 trans_->io_callback()->Run(result); in NotifyTransaction()
170 void ClearTransaction() { trans_ = NULL; } in ClearTransaction()
173 bool Matches(Transaction* trans) const { return trans == trans_; } in Matches()
174 bool IsValid() const { return trans_ || entry_ || callback_; } in IsValid()
178 Transaction* trans_; member in net::HttpCache::WorkItem
/external/chromium/chrome/browser/sync/
Dprofile_sync_service_bookmark_unittest.cc132 explicit FakeServerChange(sync_api::WriteTransaction* trans) : trans_(trans) { in FakeServerChange()
141 sync_api::ReadNode parent(trans_); in Add()
143 sync_api::WriteNode node(trans_); in Add()
147 sync_api::ReadNode predecessor(trans_); in Add()
185 sync_api::WriteNode node(trans_); in Delete()
192 sync_api::ReadNode node(trans_); in Delete()
209 sync_api::WriteNode node(trans_); in ModifyTitle()
221 sync_api::ReadNode parent(trans_); in ModifyPosition()
223 sync_api::WriteNode node(trans_); in ModifyPosition()
229 sync_api::ReadNode predecessor(trans_); in ModifyPosition()
[all …]
/external/chromium/net/spdy/
Dspdy_network_transaction_unittest.cc146 trans_.reset(new HttpNetworkTransaction(session_)); in RunPreTestSetup()
151 output_.rv = trans_->Start(&request_, &callback, log_); in RunDefaultTest()
165 const HttpResponseInfo* response = trans_->GetResponseInfo(); in RunDefaultTest()
185 output_.rv = ReadTransaction(trans_.get(), &output_.response_data); in RunDefaultTest()
300 HttpNetworkTransaction* trans() { return trans_.get(); } in trans()
301 void ResetTrans() { trans_.reset(); } in ResetTrans()
326 scoped_ptr<HttpNetworkTransaction> trans_; member in net::SpdyNetworkTransactionTest::NormalSpdyTransactionHelper