Searched refs:dir_id (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/content/browser/fileapi/ |
D | sandbox_directory_database_unittest.cc | 472 FileId dir_id; in TEST_F() local 475 EXPECT_EQ(base::File::FILE_OK, db()->AddFileInfo(dir_info, &dir_id)); in TEST_F() 479 info1.parent_id = dir_id; in TEST_F() 524 FileId dir_id; in TEST_F() local 526 CreateDirectory(0, FPL("bar"), &dir_id); in TEST_F() 527 CreateFile(dir_id, FPL("baz"), FPL("fuga"), NULL); in TEST_F() 528 CreateFile(dir_id, FPL("fizz"), FPL("buzz"), NULL); in TEST_F() 586 FileId dir_id; in TEST_F() local 588 CreateDirectory(0, FPL("foo"), &dir_id); in TEST_F() 589 CreateFile(dir_id, FPL("bar"), FPL("hoge/fuga/piyo"), &file_id); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
D | resource_metadata_unittest.cc | 281 std::string dir_id; in TEST_F() local 283 base::FilePath::FromUTF8Unsafe("drive/root/dir2"), &dir_id)); in TEST_F() 285 resource_metadata_->GetResourceEntryById(dir_id, &entry)); in TEST_F() 300 EXPECT_EQ(FILE_ERROR_OK, resource_metadata_->GetFilePath(dir_id, &path)); in TEST_F() 304 resource_metadata_->GetResourceEntryById(dir_id, &entry)); in TEST_F() 639 std::string dir_id; in TEST_F() local 641 CreateDirectoryEntry("\\(^o^)/", root_local_id), &dir_id)); in TEST_F() 643 dir_id, &entry)); in TEST_F() 648 CreateFileEntryWithResourceId("Slash /.txt", "myfile", dir_id), in TEST_F()
|
/external/chromium_org/webkit/browser/fileapi/ |
D | sandbox_directory_database.cc | 341 FileId dir_id = directories.top(); in ScanHierarchy() local 345 if (!dir_db_->ListChildren(dir_id, &children)) in ScanHierarchy() 358 if (file_info.parent_id != dir_id) in ScanHierarchy() 363 if (!dir_db_->GetChildWithName(dir_id, file_info.name, &file_id) || in ScanHierarchy()
|
D | obfuscated_file_util.cc | 94 void TouchDirectory(SandboxDirectoryDatabase* db, FileId dir_id) { in TouchDirectory() argument 96 if (!db->UpdateModificationTime(dir_id, base::Time::Now())) in TouchDirectory()
|