Home
last modified time | relevance | path

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

/external/chromium_org/sync/engine/
Dget_commit_ids.cc243 syncable::BaseTransaction* trans_; member in syncer::__anon1736f6010211::Traversal
254 trans_(trans) { } in Traversal()
267 syncable::Entry parent(trans_, syncable::GET_BY_ID, parent_id); in AddUncommittedParentsAndTheirPredecessors()
324 syncable::Entry prev(trans_, syncable::GET_BY_ID, prev_id); in AddItemThenPredecessors()
382 syncable::Entry entry(trans_, in AddCreatesAndMoves()
417 syncable::Entry entry(trans_, syncable::GET_BY_HANDLE, in AddDeletes()
421 syncable::Entry parent(trans_, syncable::GET_BY_ID, in AddDeletes()
473 syncable::Entry entry(trans_, syncable::GET_BY_HANDLE, metahandle); in AddDeletes()
/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_org/net/http/
Dhttp_cache.cc137 trans_(trans), in WorkItem()
143 trans_(trans), in WorkItem()
154 if (trans_) in NotifyTransaction()
155 trans_->io_callback().Run(result); in NotifyTransaction()
171 void ClearTransaction() { trans_ = NULL; } in ClearTransaction()
174 bool Matches(Transaction* trans) const { return trans == trans_; } in Matches()
175 bool IsValid() const { return trans_ || entry_ || !callback_.is_null(); } in IsValid()
179 Transaction* trans_; member in net::HttpCache::WorkItem
Dhttp_transaction_unittest.cc160 factory->CreateTransaction(priority, &trans_, NULL); in TestTransactionConsumer()
170 int result = trans_->Start( in Start()
204 int result = trans_->Read(read_buf_.get(), in Read()
Dhttp_transaction_unittest.h125 return trans_->GetResponseInfo(); in response_info()
145 scoped_ptr<net::HttpTransaction> trans_; variable
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_service_bookmark_unittest.cc72 explicit FakeServerChange(syncer::WriteTransaction* trans) : trans_(trans) { in FakeServerChange()
82 syncer::ReadNode parent(trans_); in AddWithMetaInfo()
84 syncer::WriteNode node(trans_); in AddWithMetaInfo()
88 syncer::ReadNode predecessor(trans_); in AddWithMetaInfo()
155 syncer::WriteNode node(trans_); in Delete()
164 syncer::ReadNode node(trans_); in Delete()
181 syncer::WriteNode node(trans_); in ModifyTitle()
193 syncer::ReadNode parent(trans_); in ModifyPosition()
195 syncer::WriteNode node(trans_); in ModifyPosition()
201 syncer::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
/external/chromium_org/net/spdy/
Dspdy_network_transaction_unittest.cc194 trans_.reset(new HttpNetworkTransaction(priority_, session_.get())); in RunPreTestSetup()
205 output_.rv = trans_->Start(&request_, callback.callback(), log_); in StartDefaultTest()
220 const HttpResponseInfo* response = trans_->GetResponseInfo(); in FinishDefaultTest()
249 output_.rv = ReadTransaction(trans_.get(), &output_.response_data); in FinishDefaultTest()
349 HttpNetworkTransaction* trans() { return trans_.get(); } in trans()
350 void ResetTrans() { trans_.reset(); } in ResetTrans()
377 scoped_ptr<HttpNetworkTransaction> trans_; member in net::SpdyNetworkTransactionTest::NormalSpdyTransactionHelper