Home
last modified time | relevance | path

Searched refs:ValueStoreChange (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/chrome/browser/value_store/
Dvalue_store_change.cc11 std::string ValueStoreChange::ToJson( in ToJson()
30 ValueStoreChange::ValueStoreChange( in ValueStoreChange() function in ValueStoreChange
34 ValueStoreChange::~ValueStoreChange() {} in ~ValueStoreChange()
36 const std::string& ValueStoreChange::key() const { in key()
41 const Value* ValueStoreChange::old_value() const { in old_value()
46 const Value* ValueStoreChange::new_value() const { in new_value()
51 ValueStoreChange::Inner::Inner( in Inner()
55 ValueStoreChange::Inner::~Inner() {} in ~Inner()
Dvalue_store_unittest.cc88 std::map<std::string, linked_ptr<ValueStoreChange> > expected_as_map; in ChangesEq()
92 linked_ptr<ValueStoreChange>(new ValueStoreChange(*it)); in ChangesEq()
110 ValueStoreChange expected_change = *expected_as_map[it->key()]; in ChangesEq()
189 changes.push_back(ValueStoreChange(key1_, NULL, val1_->DeepCopy())); in TEST_P()
205 changes.push_back(ValueStoreChange(key1_, NULL, val1_->DeepCopy())); in TEST_P()
206 changes.push_back(ValueStoreChange(key2_, NULL, val2_->DeepCopy())); in TEST_P()
230 changes.push_back(ValueStoreChange(key1_, val1_->DeepCopy(), NULL)); in TEST_P()
245 changes.push_back(ValueStoreChange(key3_, val3_->DeepCopy(), NULL)); in TEST_P()
260 changes.push_back(ValueStoreChange(key1_, val1_->DeepCopy(), NULL)); in TEST_P()
261 changes.push_back(ValueStoreChange(key2_, val2_->DeepCopy(), NULL)); in TEST_P()
[all …]
Dvalue_store_change.h15 class ValueStoreChange; variable
16 typedef std::vector<ValueStoreChange> ValueStoreChangeList;
19 class ValueStoreChange {
26 ValueStoreChange(
29 ~ValueStoreChange();
Dvalue_store_change_unittest.cc22 ValueStoreChange change("key", NULL, Value::CreateStringValue("value")); in TEST()
33 ValueStoreChange change("key", Value::CreateStringValue("value"), NULL); in TEST()
44 ValueStoreChange change("key", in TEST()
71 ValueStoreChange("key", value->DeepCopy(), value->DeepCopy())); in TEST()
73 ValueStoreChange("key.with.dots", value->DeepCopy(), value->DeepCopy())); in TEST()
75 std::string json = ValueStoreChange::ToJson(change_list); in TEST()
Dtesting_value_store.cc86 ValueStoreChange( in Set()
111 changes->push_back(ValueStoreChange(*it, old_value.release(), NULL)); in Remove()
Dleveldb_value_store.cc238 changes->push_back(ValueStoreChange(*it, old_value.release(), NULL)); in Remove()
264 ValueStoreChange(next_key, next_value.release(), NULL)); in Clear()
335 ValueStoreChange(key, old_value.release(), value.DeepCopy())); in AddToBatch()
/external/chromium_org/chrome/browser/extensions/api/storage/
Dpolicy_value_store_unittest.cc160 changes.push_back(ValueStoreChange("aaa", NULL, value.DeepCopy())); in TEST_F()
164 ValueStoreChange::ToJson(changes))); in TEST_F()
177 changes.push_back(ValueStoreChange("bbb", NULL, value.DeepCopy())); in TEST_F()
181 ValueStoreChange::ToJson(changes))); in TEST_F()
195 ValueStoreChange("bbb", value.DeepCopy(), new_value.DeepCopy())); in TEST_F()
199 ValueStoreChange::ToJson(changes))); in TEST_F()
211 changes.push_back(ValueStoreChange("bbb", new_value.DeepCopy(), NULL)); in TEST_F()
215 ValueStoreChange::ToJson(changes))); in TEST_F()
Dsyncable_settings_storage.cc163 changes.push_back(ValueStoreChange(i.key(), NULL, i.value().DeepCopy())); in SendLocalSettingsToSync()
328 ValueStoreChange::ToJson(changes)); in ProcessSyncChanges()
348 changes->push_back(ValueStoreChange(key, NULL, new_value)); in OnSyncAdd()
368 changes->push_back(ValueStoreChange(key, old_value, new_value)); in OnSyncUpdate()
386 changes->push_back(ValueStoreChange(key, old_value, NULL)); in OnSyncDelete()
Dpolicy_value_store.cc101 ValueStoreChange::ToJson(changes)); in SetCurrentPolicy()
Dstorage_api.cc99 ValueStoreChange::ToJson(result->changes())); in UseWriteResult()