Home
last modified time | relevance | path

Searched refs:commit_batch_ (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/content/browser/dom_storage/
Ddom_storage_area.cc218 if (commit_batch_) in ShallowCopy()
225 return commit_batch_.get() || commit_batches_in_flight_; in HasUncommittedChanges()
322 if (!commit_batch_) { in CreateCommitBatchIfNeeded()
323 commit_batch_.reset(new CommitBatch()); in CreateCommitBatchIfNeeded()
335 return commit_batch_.get(); in CreateCommitBatchIfNeeded()
346 if (!commit_batch_) in OnCommitTimer()
356 base::Owned(commit_batch_.release()))); in OnCommitTimer()
379 if (commit_batch_.get() && !commit_batches_in_flight_) { in OnCommitComplete()
392 if (commit_batch_) { in ShutdownInCommitSequence()
395 commit_batch_->clear_all_first, in ShutdownInCommitSequence()
[all …]
Ddom_storage_area_unittest.cc46 EXPECT_FALSE(area->commit_batch_.get()); in InjectedCommitSequencingTask()
52 EXPECT_TRUE(area->commit_batch_.get()); in InjectedCommitSequencingTask()
184 EXPECT_TRUE(area->commit_batch_.get()); in TEST_F()
189 EXPECT_FALSE(area->commit_batch_.get()); in TEST_F()
226 EXPECT_FALSE(area->commit_batch_.get()); in TEST_F()
229 EXPECT_TRUE(area->commit_batch_.get()); in TEST_F()
230 EXPECT_FALSE(area->commit_batch_->clear_all_first); in TEST_F()
231 EXPECT_EQ(1u, area->commit_batch_->changed_values.size()); in TEST_F()
233 EXPECT_TRUE(area->commit_batch_.get()); in TEST_F()
234 EXPECT_FALSE(area->commit_batch_->clear_all_first); in TEST_F()
[all …]
Ddom_storage_area.h132 scoped_ptr<CommitBatch> commit_batch_; variable