Home | History | Annotate | Download | only in drive_backend

Lines Matching refs:FPL

37 #define FPL(a) FILE_PATH_LITERAL(a)
619 AddOrUpdateLocalFile(app_id, FPL("file"), "abcde");
626 VerifyLocalFile(app_id, FPL("file"), "abcde");
649 VerifyLocalFile(app_id, FPL("file"), "abcde");
657 const base::FilePath::StringType kPath(FPL("file"));
672 VerifyLocalFile(app_id, FPL("file"), "1234567890");
701 VerifyLocalFile(app_id, FPL("file"), "1234567890");
709 const base::FilePath::StringType path(FPL("file"));
731 const base::FilePath::StringType path(FPL("file"));
755 const base::FilePath::StringType path(FPL("file"));
773 VerifyLocalFile(app_id, FPL("renamed_file"), "abcde");
781 const base::FilePath::StringType path(FPL("file"));
807 VerifyLocalFile(app_id, FPL("file"), "abcde");
815 const base::FilePath::StringType path(FPL("file"));
818 AddLocalFolder(app_id, FPL("folder_src"));
819 AddLocalFolder(app_id, FPL("folder_dest"));
820 AddOrUpdateLocalFile(app_id, FPL("folder_src/file"), "abcde");
825 std::string file_id = GetFileIDByPath(app_id, FPL("folder_src/file"));
826 std::string src_folder_id = GetFileIDByPath(app_id, FPL("folder_src"));
827 std::string dest_folder_id = GetFileIDByPath(app_id, FPL("folder_dest"));
840 VerifyLocalFolder(app_id, FPL("folder_dest"));
841 VerifyLocalFile(app_id, FPL("folder_dest/file"), "abcde");
854 AddLocalFolder(src_app_id, FPL("folder_src"));
855 AddLocalFolder(dest_app_id, FPL("folder_dest"));
856 AddOrUpdateLocalFile(src_app_id, FPL("folder_src/file"), "abcde");
861 std::string file_id = GetFileIDByPath(src_app_id, FPL("folder_src/file"));
862 std::string src_folder_id = GetFileIDByPath(src_app_id, FPL("folder_src"));
863 std::string dest_folder_id = GetFileIDByPath(dest_app_id, FPL("folder_dest"));
877 VerifyLocalFile(dest_app_id, FPL("folder_dest/file"), "abcde");
888 AddLocalFolder(app_id, FPL("folder_src"));
889 AddOrUpdateLocalFile(app_id, FPL("folder_src/file_orphaned"), "abcde");
890 AddOrUpdateLocalFile(app_id, FPL("folder_src/file_under_sync_root"), "123");
891 AddOrUpdateLocalFile(app_id, FPL("folder_src/file_under_drive_root"), "hoge");
897 GetFileIDByPath(app_id, FPL("folder_src/file_orphaned"));
899 GetFileIDByPath(app_id, FPL("folder_src/file_under_sync_root"));
901 GetFileIDByPath(app_id, FPL("folder_src/file_under_drive_root"));
903 std::string folder_id = GetFileIDByPath(app_id, FPL("folder_src"));
942 AddLocalFolder(app_id, FPL("parent1"));
943 AddLocalFolder(app_id, FPL("parent2"));
944 AddOrUpdateLocalFile(app_id, FPL("parent1/file"), "abcde");
949 std::string file_id = GetFileIDByPath(app_id, FPL("parent1/file"));
950 std::string parent2_folder_id = GetFileIDByPath(app_id, FPL("parent2"));
960 VerifyLocalFolder(app_id, FPL("parent1"));
961 VerifyLocalFolder(app_id, FPL("parent2"));
962 VerifyLocalFile(app_id, FPL("parent1/file"), "abcde");
973 AddLocalFolder(app_id, FPL("folder"));
974 AddLocalFolder(app_id, FPL("folder_temp"));
975 AddOrUpdateLocalFile(app_id, FPL("folder/file"), "abcde");
980 std::string file_id = GetFileIDByPath(app_id, FPL("folder/file"));
981 std::string folder_id = GetFileIDByPath(app_id, FPL("folder"));
982 std::string folder_temp_id = GetFileIDByPath(app_id, FPL("folder_temp"));
1006 VerifyLocalFolder(app_id, FPL("folder"));
1007 VerifyLocalFile(app_id, FPL("folder/file"), "abcde");
1017 std::string app_root_folder_id = GetFileIDByPath(app_id, FPL(""));
1019 AddLocalFolder(app_id, FPL("conflict_to_pending_remote"));
1020 AddLocalFolder(app_id, FPL("conflict_to_existing_remote"));
1040 VerifyLocalFolder(app_id, FPL("conflict_to_pending_remote"));
1041 VerifyLocalFolder(app_id, FPL("conflict_to_existing_remote"));
1052 AddLocalFolder(app_id, FPL("conflict_to_pending_remote"));
1053 AddLocalFolder(app_id, FPL("conflict_to_existing_remote"));
1059 RemoveLocal(app_id, FPL("conflict_to_pending_remote"));
1060 AddLocalFolder(app_id, FPL("conflict_to_pending_remote"));
1061 RemoveLocal(app_id, FPL("conflict_to_existing_remote"));
1062 AddLocalFolder(app_id, FPL("conflict_to_existing_remote"));
1066 GetFileIDByPath(app_id, FPL("conflict_to_pending_remote"))));
1072 GetFileIDByPath(app_id, FPL("conflict_to_existing_remote"))));
1079 VerifyLocalFolder(app_id, FPL("conflict_to_pending_remote"));
1089 std::string app_root_folder_id = GetFileIDByPath(app_id, FPL(""));
1091 AddLocalFolder(app_id, FPL("conflict_to_pending_remote"));
1092 AddLocalFolder(app_id, FPL("conflict_to_existing_remote"));
1120 VerifyLocalFolder(app_id, FPL("conflict_to_pending_remote"));
1121 VerifyLocalFolder(app_id, FPL("conflict_to_existing_remote"));
1131 std::string app_root_folder_id = GetFileIDByPath(app_id, FPL(""));
1133 AddOrUpdateLocalFile(app_id, FPL("conflict_to_pending_remote"), "foo");
1134 AddOrUpdateLocalFile(app_id, FPL("conflict_to_existing_remote"), "bar");
1140 RemoveLocal(app_id, FPL("conflict_to_pending_remote"));
1141 AddLocalFolder(app_id, FPL("conflict_to_pending_remote"));
1143 RemoveLocal(app_id, FPL("conflict_to_existing_remote"));
1144 AddLocalFolder(app_id, FPL("conflict_to_existing_remote"));
1148 GetFileIDByPath(app_id, FPL("conflict_to_pending_remote"))));
1154 GetFileIDByPath(app_id, FPL("conflict_to_existing_remote"))));
1161 VerifyLocalFolder(app_id, FPL("conflict_to_pending_remote"));
1162 VerifyLocalFolder(app_id, FPL("conflict_to_existing_remote"));
1172 std::string app_root_folder_id = GetFileIDByPath(app_id, FPL(""));
1173 AddLocalFolder(app_id, FPL("conflict_to_pending_remote"));
1174 AddLocalFolder(app_id, FPL("conflict_to_existing_remote"));
1176 RemoveLocal(app_id, FPL("conflict_to_pending_remote"));
1177 RemoveLocal(app_id, FPL("conflict_to_existing_remote"));
1197 VerifyLocalFolder(app_id, FPL("conflict_to_pending_remote"));
1198 VerifyLocalFolder(app_id, FPL("conflict_to_existing_remote"));
1208 std::string app_root_folder_id = GetFileIDByPath(app_id, FPL(""));
1210 AddLocalFolder(app_id, FPL("conflict_to_pending_remote"));
1211 AddLocalFolder(app_id, FPL("conflict_to_existing_remote"));
1217 RemoveLocal(app_id, FPL("conflict_to_pending_remote"));
1218 RemoveLocal(app_id, FPL("conflict_to_existing_remote"));
1222 GetFileIDByPath(app_id, FPL("conflict_to_pending_remote"))));
1228 GetFileIDByPath(app_id, FPL("conflict_to_existing_remote"))));
1244 std::string app_root_folder_id = GetFileIDByPath(app_id, FPL(""));
1246 AddLocalFolder(app_id, FPL("conflict_to_pending_remote"));
1247 AddLocalFolder(app_id, FPL("conflict_to_existing_remote"));
1248 RemoveLocal(app_id, FPL("conflict_to_pending_remote"));
1249 RemoveLocal(app_id, FPL("conflict_to_existing_remote"));
1267 VerifyLocalFile(app_id, FPL("conflict_to_pending_remote"), "foo");
1268 VerifyLocalFile(app_id, FPL("conflict_to_existing_remote"), "bar");
1278 std::string app_root_folder_id = GetFileIDByPath(app_id, FPL(""));
1279 AddOrUpdateLocalFile(app_id, FPL("conflict_to_pending_remote"), "foo");
1280 AddOrUpdateLocalFile(app_id, FPL("conflict_to_existing_remote"), "bar");
1286 RemoveLocal(app_id, FPL("conflict_to_pending_remote"));
1287 RemoveLocal(app_id, FPL("conflict_to_existing_remote"));
1291 GetFileIDByPath(app_id, FPL("conflict_to_pending_remote"))));
1297 GetFileIDByPath(app_id, FPL("conflict_to_existing_remote"))));
1313 std::string app_root_folder_id = GetFileIDByPath(app_id, FPL(""));
1315 AddOrUpdateLocalFile(app_id, FPL("conflict_to_pending_remote"), "foo");
1316 AddOrUpdateLocalFile(app_id, FPL("conflict_to_existing_remote"), "bar");
1344 VerifyLocalFolder(app_id, FPL("conflict_to_pending_remote"));
1345 VerifyLocalFolder(app_id, FPL("conflict_to_existing_remote"));
1355 std::string app_root_folder_id = GetFileIDByPath(app_id, FPL(""));
1357 AddLocalFolder(app_id, FPL("conflict_to_pending_remote"));
1358 AddLocalFolder(app_id, FPL("conflict_to_existing_remote"));
1364 RemoveLocal(app_id, FPL("conflict_to_pending_remote"));
1365 RemoveLocal(app_id, FPL("conflict_to_existing_remote"));
1366 AddOrUpdateLocalFile(app_id, FPL("conflict_to_pending_remote"), "foo");
1367 AddOrUpdateLocalFile(app_id, FPL("conflict_to_existing_remote"), "bar");
1371 GetFileIDByPath(app_id, FPL("conflict_to_pending_remote"))));
1377 GetFileIDByPath(app_id, FPL("conflict_to_existing_remote"))));
1384 VerifyLocalFile(app_id, FPL("conflict_to_pending_remote"), "foo");
1385 VerifyLocalFile(app_id, FPL("conflict_to_existing_remote"), "bar");
1396 std::string app_root_folder_id = GetFileIDByPath(app_id, FPL(""));
1397 AddOrUpdateLocalFile(app_id, FPL("conflict_to_pending_remote"), "hoge");
1398 AddOrUpdateLocalFile(app_id, FPL("conflict_to_existing_remote"), "fuga");
1426 VerifyLocalFile(app_id, FPL("conflict_to_pending_remote"), "foo");
1427 VerifyLocalFile(app_id, FPL("conflict_to_existing_remote"), "bar");
1438 AddOrUpdateLocalFile(app_id, FPL("conflict_to_pending_remote"), "foo");
1439 AddOrUpdateLocalFile(app_id, FPL("conflict_to_existing_remote"), "bar");
1445 RemoveLocal(app_id, FPL("conflict_to_pending_remote"));
1446 RemoveLocal(app_id, FPL("conflict_to_existing_remote"));
1447 AddOrUpdateLocalFile(app_id, FPL("conflict_to_pending_remote"), "hoge");
1448 AddOrUpdateLocalFile(app_id, FPL("conflict_to_existing_remote"), "fuga");
1452 GetFileIDByPath(app_id, FPL("conflict_to_pending_remote"))));
1458 GetFileIDByPath(app_id, FPL("conflict_to_existing_remote"))));
1465 VerifyLocalFile(app_id, FPL("conflict_to_pending_remote"), "hoge");
1466 VerifyLocalFile(app_id, FPL("conflict_to_existing_remote"), "fuga");
1477 AddOrUpdateLocalFile(app_id, FPL("conflict_to_pending_remote"), "foo");
1478 AddOrUpdateLocalFile(app_id, FPL("conflict_to_existing_remote"), "bar");
1484 AddOrUpdateLocalFile(app_id, FPL("conflict_to_pending_remote"), "hoge");
1485 AddOrUpdateLocalFile(app_id, FPL("conflict_to_existing_remote"), "fuga");
1489 GetFileIDByPath(app_id, FPL("conflict_to_pending_remote"))));
1495 GetFileIDByPath(app_id, FPL("conflict_to_existing_remote"))));
1502 VerifyLocalFile(app_id, FPL("conflict_to_pending_remote"), "hoge");
1503 VerifyLocalFile(app_id, FPL("conflict_to_existing_remote"), "fuga");
1514 std::string app_root_folder_id = GetFileIDByPath(app_id, FPL(""));
1515 AddOrUpdateLocalFile(app_id, FPL("conflict_to_pending_remote"), "foo");
1516 AddOrUpdateLocalFile(app_id, FPL("conflict_to_existing_remote"), "bar");
1522 RemoveLocal(app_id, FPL("conflict_to_pending_remote"));
1523 RemoveLocal(app_id, FPL("conflict_to_existing_remote"));
1540 VerifyLocalFolder(app_id, FPL("conflict_to_pending_remote"));
1541 VerifyLocalFolder(app_id, FPL("conflict_to_existing_remote"));
1552 AddLocalFolder(app_id, FPL("conflict_to_pending_remote"));
1553 AddLocalFolder(app_id, FPL("conflict_to_existing_remote"));
1559 RemoveLocal(app_id, FPL("conflict_to_pending_remote"));
1560 RemoveLocal(app_id, FPL("conflict_to_existing_remote"));
1562 AddOrUpdateLocalFile(app_id, FPL("conflict_to_pending_remote"), "foo");
1563 AddOrUpdateLocalFile(app_id, FPL("conflict_to_existing_remote"), "bar");
1565 RemoveLocal(app_id, FPL("conflict_to_pending_remote"));
1566 RemoveLocal(app_id, FPL("conflict_to_existing_remote"));
1570 GetFileIDByPath(app_id, FPL("conflict_to_pending_remote"))));
1576 GetFileIDByPath(app_id, FPL("conflict_to_existing_remote"))));
1593 std::string app_root_folder_id = GetFileIDByPath(app_id, FPL(""));
1594 AddOrUpdateLocalFile(app_id, FPL("conflict_to_pending_remote"), "foo");
1595 AddOrUpdateLocalFile(app_id, FPL("conflict_to_existing_remote"), "bar");
1596 RemoveLocal(app_id, FPL("conflict_to_pending_remote"));
1597 RemoveLocal(app_id, FPL("conflict_to_existing_remote"));
1616 VerifyLocalFile(app_id, FPL("conflict_to_pending_remote"), "hoge");
1617 VerifyLocalFile(app_id, FPL("conflict_to_existing_remote"), "fuga");
1628 std::string app_root_folder_id = GetFileIDByPath(app_id, FPL(""));
1629 AddOrUpdateLocalFile(app_id, FPL("conflict_to_pending_remote"), "foo");
1630 AddOrUpdateLocalFile(app_id, FPL("conflict_to_existing_remote"), "bar");
1636 RemoveLocal(app_id, FPL("conflict_to_pending_remote"));
1637 RemoveLocal(app_id, FPL("conflict_to_existing_remote"));
1641 GetFileIDByPath(app_id, FPL("conflict_to_pending_remote")),
1648 GetFileIDByPath(app_id, FPL("conflict_to_existing_remote")),
1656 VerifyLocalFile(app_id, FPL("conflict_to_pending_remote"), "hoge");
1657 VerifyLocalFile(app_id, FPL("conflict_to_existing_remote"), "fuga");
1668 std::string app_root_folder_id = GetFileIDByPath(app_id, FPL(""));
1669 AddOrUpdateLocalFile(app_id, FPL("conflict_to_pending_remote"), "foo");
1670 AddOrUpdateLocalFile(app_id, FPL("conflict_to_existing_remote"), "bar");
1676 RemoveLocal(app_id, FPL("conflict_to_pending_remote"));
1677 RemoveLocal(app_id, FPL("conflict_to_existing_remote"));
1681 GetFileIDByPath(app_id, FPL("conflict_to_pending_remote"))));
1687 GetFileIDByPath(app_id, FPL("conflict_to_existing_remote"))));