Home
last modified time | relevance | path

Searched refs:serialized_entry (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/drive/
Dresource_metadata_storage_unittest.cc297 std::string serialized_entry; in TEST_F() local
300 EXPECT_TRUE(entry.SerializeToString(&serialized_entry)); in TEST_F()
301 batch.Put("file:abcd", serialized_entry); in TEST_F()
304 EXPECT_TRUE(cache_entry.SerializeToString(&serialized_entry)); in TEST_F()
305 batch.Put(std::string("file:abcd") + '\0' + "CACHE", serialized_entry); in TEST_F()
346 std::string serialized_entry; in TEST_F() local
350 EXPECT_TRUE(entry.SerializeToString(&serialized_entry)); in TEST_F()
351 batch.Put(local_id, serialized_entry); in TEST_F()
354 EXPECT_TRUE(cache_entry.SerializeToString(&serialized_entry)); in TEST_F()
355 batch.Put(local_id + '\0' + "CACHE", serialized_entry); in TEST_F()
[all …]
Dresource_metadata_storage.cc344 std::string serialized_entry; in UpgradeOldDB() local
345 if (!entry.SerializeToString(&serialized_entry)) { in UpgradeOldDB()
349 batch.Put(id_new, serialized_entry); in UpgradeOldDB()
413 std::string serialized_entry; in UpgradeOldDB() local
414 if (!entry.SerializeToString(&serialized_entry)) { in UpgradeOldDB()
418 batch.Put(id, serialized_entry); in UpgradeOldDB()
457 std::string serialized_entry; in UpgradeOldDB() local
460 &serialized_entry); in UpgradeOldDB()
472 if (!entry.ParseFromString(serialized_entry)) in UpgradeOldDB()
484 if (!entry.SerializeToString(&serialized_entry)) { in UpgradeOldDB()
[all …]