Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(619)

Side by Side Diff: chrome/test/data/chromeos/gdata/cached_feeds.json

Issue 9836086: Added logic that will return the result of the first chunk of root feed and continue fetching the r… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed asserts in browser_tests Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/file_manager/js/file_manager.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [ 1 [
2 { 2 {
3 "encoding": "UTF-8", 3 "encoding": "UTF-8",
4 "feed": { 4 "feed": {
5 "author": [ { 5 "author": [ {
6 "email": { 6 "email": {
7 "$t": "tester@testing.com" 7 "$t": "tester@testing.com"
8 }, 8 },
9 "name": { 9 "name": {
10 "$t": "tester" 10 "$t": "tester"
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 "$t": "tester" 141 "$t": "tester"
142 } 142 }
143 }, 143 },
144 "gd$lastViewed": { 144 "gd$lastViewed": {
145 "$t": "2011-11-02T04:37:38.469Z" 145 "$t": "2011-11-02T04:37:38.469Z"
146 }, 146 },
147 "gd$quotaBytesUsed": { 147 "gd$quotaBytesUsed": {
148 "$t": "0" 148 "$t": "0"
149 }, 149 },
150 "gd$resourceId": { 150 "gd$resourceId": {
151 "$t": "folder:1_folder_resouce_id" 151 "$t": "folder:2_folder_resouce_id"
152 }, 152 },
153 "id": { 153 "id": {
154 "$t": "https://1_folder_id" 154 "$t": "https://2_folder_id"
155 }, 155 },
156 "link": [ { 156 "link": [ {
157 "href": "https://1_folder_alternate_link", 157 "href": "https://1_folder_alternate_link",
158 "rel": "alternate", 158 "rel": "alternate",
159 "type": "text/html" 159 "type": "text/html"
160 }, { 160 }, {
161 "href": "https://1_folder_resumable_create_media_link", 161 "href": "https://1_folder_resumable_create_media_link",
162 "rel": "http://schemas.google.com/g/2005#resumable-create-media", 162 "rel": "http://schemas.google.com/g/2005#resumable-create-media",
163 "type": "application/atom+xml" 163 "type": "application/atom+xml"
164 }, { 164 }, {
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 "$t": "tester" 318 "$t": "tester"
319 } 319 }
320 }, 320 },
321 "gd$lastViewed": { 321 "gd$lastViewed": {
322 "$t": "2011-11-02T04:37:38.469Z" 322 "$t": "2011-11-02T04:37:38.469Z"
323 }, 323 },
324 "gd$quotaBytesUsed": { 324 "gd$quotaBytesUsed": {
325 "$t": "0" 325 "$t": "0"
326 }, 326 },
327 "gd$resourceId": { 327 "gd$resourceId": {
328 "$t": "folder:1_folder_resource_id" 328 "$t": "folder:4_folder_resource_id"
329 }, 329 },
330 "id": { 330 "id": {
331 "$t": "https://1_folder_id" 331 "$t": "https://4_folder_id"
332 }, 332 },
333 "link": [ { 333 "link": [ {
334 "href": "https://1_folder_alternate_link", 334 "href": "https://1_folder_alternate_link",
335 "rel": "alternate", 335 "rel": "alternate",
336 "type": "text/html" 336 "type": "text/html"
337 }, { 337 }, {
338 "href": "https://1_folder_resumable_create_media_link", 338 "href": "https://1_folder_resumable_create_media_link",
339 "rel": "http://schemas.google.com/g/2005#resumable-create-media", 339 "rel": "http://schemas.google.com/g/2005#resumable-create-media",
340 "type": "application/atom+xml" 340 "type": "application/atom+xml"
341 }, { 341 }, {
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 "category": [ { 884 "category": [ {
885 "label": "viewed", 885 "label": "viewed",
886 "scheme": "http://schemas.google.com/g/2005/labels", 886 "scheme": "http://schemas.google.com/g/2005/labels",
887 "term": "http://schemas.google.com/g/2005/labels#viewed" 887 "term": "http://schemas.google.com/g/2005/labels#viewed"
888 }, { 888 }, {
889 "label": "folder", 889 "label": "folder",
890 "scheme": "http://schemas.google.com/g/2005#kind", 890 "scheme": "http://schemas.google.com/g/2005#kind",
891 "term": "http://schemas.google.com/docs/2007#folder" 891 "term": "http://schemas.google.com/docs/2007#folder"
892 } ], 892 } ],
893 "content": { 893 "content": {
894 "src": "https://1_folder_content_url", 894 "src": "https://slash_folder_content_url",
895 "type": "application/atom+xml;type=feed" 895 "type": "application/atom+xml;type=feed"
896 }, 896 },
897 "docs$writersCanInvite": { 897 "docs$writersCanInvite": {
898 "value": "true" 898 "value": "true"
899 }, 899 },
900 "gd$etag": "\"HhMOFgcNHSt7ImBr\"", 900 "gd$etag": "\"HhMOFgcNHSt7ImBr\"",
901 "gd$feedLink": [ { 901 "gd$feedLink": [ {
902 "href": "https://1_folder_feed_linkurl", 902 "href": "https://1_folder_feed_linkurl",
903 "rel": "http://schemas.google.com/acl/2007#accessControlList" 903 "rel": "http://schemas.google.com/acl/2007#accessControlList"
904 } ], 904 } ],
905 "gd$lastModifiedBy": { 905 "gd$lastModifiedBy": {
906 "email": { 906 "email": {
907 "$t": "tester@testing.com" 907 "$t": "tester@testing.com"
908 }, 908 },
909 "name": { 909 "name": {
910 "$t": "tester" 910 "$t": "tester"
911 } 911 }
912 }, 912 },
913 "gd$lastViewed": { 913 "gd$lastViewed": {
914 "$t": "2011-11-02T04:37:38.469Z" 914 "$t": "2011-11-02T04:37:38.469Z"
915 }, 915 },
916 "gd$quotaBytesUsed": { 916 "gd$quotaBytesUsed": {
917 "$t": "0" 917 "$t": "0"
918 }, 918 },
919 "gd$resourceId": { 919 "gd$resourceId": {
920 "$t": "folder:1_folder_resouce_id" 920 "$t": "folder:slash_1_folder_resouce_id"
921 }, 921 },
922 "id": { 922 "id": {
923 "$t": "https://1_folder_id" 923 "$t": "https://slash_1_folder_id"
924 }, 924 },
925 "link": [ { 925 "link": [ {
926 "href": "https://1_folder_alternate_link", 926 "href": "https://slash_1_folder_alternate_link",
927 "rel": "alternate", 927 "rel": "alternate",
928 "type": "text/html" 928 "type": "text/html"
929 }, { 929 }, {
930 "href": "https://1_folder_resumable_create_media_link", 930 "href": "https://slash_1_folder_resumable_create_media_link",
931 "rel": "http://schemas.google.com/g/2005#resumable-create-media", 931 "rel": "http://schemas.google.com/g/2005#resumable-create-media",
932 "type": "application/atom+xml" 932 "type": "application/atom+xml"
933 }, { 933 }, {
934 "href": "https://slash_dir_sub_self_link", 934 "href": "https://slash_dir_sub_self_link",
935 "rel": "self", 935 "rel": "self",
936 "type": "application/atom+xml" 936 "type": "application/atom+xml"
937 }, { 937 }, {
938 "href": "https://1_edit_link", 938 "href": "https://slash_folder_1_edit_link",
939 "rel": "edit", 939 "rel": "edit",
940 "type": "application/atom+xml" 940 "type": "application/atom+xml"
941 }, { 941 }, {
942 "href": "https://slash_dir_self_link", 942 "href": "https://slash_dir_self_link",
943 "rel": "http://schemas.google.com/docs/2007#parent", 943 "rel": "http://schemas.google.com/docs/2007#parent",
944 "type": "application/atom+xml" 944 "type": "application/atom+xml"
945 } ], 945 } ],
946 "published": { 946 "published": {
947 "$t": "2010-11-07T05:03:54.719Z" 947 "$t": "2010-11-07T05:03:54.719Z"
948 }, 948 },
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
1402 "updated": { 1402 "updated": {
1403 "$t": "2011-12-14T01:03:21.151Z" 1403 "$t": "2011-12-14T01:03:21.151Z"
1404 }, 1404 },
1405 "xmlns": "http://www.w3.org/2005/Atom", 1405 "xmlns": "http://www.w3.org/2005/Atom",
1406 "xmlns$batch": "http://schemas.google.com/gdata/batch", 1406 "xmlns$batch": "http://schemas.google.com/gdata/batch",
1407 "xmlns$docs": "http://schemas.google.com/docs/2007", 1407 "xmlns$docs": "http://schemas.google.com/docs/2007",
1408 "xmlns$gd": "http://schemas.google.com/g/2005", 1408 "xmlns$gd": "http://schemas.google.com/g/2005",
1409 "xmlns$openSearch": "http://a9.com/-/spec/opensearch/1.1/" 1409 "xmlns$openSearch": "http://a9.com/-/spec/opensearch/1.1/"
1410 }, 1410 },
1411 "version": "1.0" 1411 "version": "1.0"
1412 },{
1413 "encoding": "UTF-8",
1414 "feed": {
1415 "author": [ {
1416 "email": {
1417 "$t": "tester@testing.com"
1418 },
1419 "name": {
1420 "$t": "tester"
1421 }
1422 } ],
1423 "category": [ {
1424 "label": "item",
1425 "scheme": "http://schemas.google.com/g/2005#kind",
1426 "term": "http://schemas.google.com/docs/2007#item"
1427 } ],
1428 "entry": [ {
1429 "app$edited": {
1430 "$t": "2011-12-14T00:41:08.287Z",
1431 "xmlns$app": "http://www.w3.org/2007/app"
1432 },
1433 "author": [ {
1434 "email": {
1435 "$t": "entry_tester@testing.com"
1436 },
1437 "name": {
1438 "$t": "entry_tester"
1439 }
1440 } ],
1441 "category": [ {
1442 "label": "viewed",
1443 "scheme": "http://schemas.google.com/g/2005/labels",
1444 "term": "http://schemas.google.com/g/2005/labels#viewed"
1445 }, {
1446 "label": "folder",
1447 "scheme": "http://schemas.google.com/g/2005#kind",
1448 "term": "http://schemas.google.com/docs/2007#folder"
1449 } ],
1450 "content": {
1451 "src": "https://orphan_feed_folder_content_url",
1452 "type": "application/atom+xml;type=feed"
1453 },
1454 "docs$writersCanInvite": {
1455 "value": "true"
1456 },
1457 "gd$etag": "\"HhMOFgsgrSt7ImBr\"",
1458 "gd$feedLink": [ {
1459 "href": "https://orphan_feed_folder_feed_linkurl",
1460 "rel": "http://schemas.google.com/acl/2007#accessControlList"
1461 } ],
1462 "gd$lastModifiedBy": {
1463 "email": {
1464 "$t": "tester@testing.com"
1465 },
1466 "name": {
1467 "$t": "tester"
1468 }
1469 },
1470 "gd$lastViewed": {
1471 "$t": "2011-11-02T04:37:38.469Z"
1472 },
1473 "gd$quotaBytesUsed": {
1474 "$t": "0"
1475 },
1476 "gd$resourceId": {
1477 "$t": "folder:orphan_feed_folder_resouce_id"
1478 },
1479 "id": {
1480 "$t": "https://orphan_feed_folder_id"
1481 },
1482 "link": [ {
1483 "href": "https://orphan_feed_folder_alternate_link",
1484 "rel": "alternate",
1485 "type": "text/html"
1486 }, {
1487 "href": "https://1_folder_resumable_create_media_link",
1488 "rel": "http://schemas.google.com/g/2005#resumable-create-media",
1489 "type": "application/atom+xml"
1490 }, {
1491 "href": "https://orphan_feed_folder_self_link",
1492 "rel": "self",
1493 "type": "application/atom+xml"
1494 }, {
1495 "href": "https://orphan_feed_MISSING_PARENT_link",
1496 "rel": "http://schemas.google.com/docs/2007#parent",
1497 "type": "application/atom+xml"
1498 }, {
1499 "href": "https://orphan_feed_edit_link",
1500 "rel": "edit",
1501 "type": "application/atom+xml"
1502 } ],
1503 "published": {
1504 "$t": "2010-11-07T05:03:54.719Z"
1505 },
1506 "title": {
1507 "$t": "Orphaned Directory"
1508 },
1509 "updated": {
1510 "$t": "2011-04-01T18:34:08.234Z"
1511 }
1512 }, {
1513 "app$edited": {
1514 "$t": "2011-12-14T00:40:57.162Z",
1515 "xmlns$app": "http://www.w3.org/2007/app"
1516 },
1517 "author": [ {
1518 "email": {
1519 "$t": "tester@testing.com"
1520 },
1521 "name": {
1522 "$t": "tester"
1523 }
1524 } ],
1525 "category": [ {
1526 "label": "audio/mpeg",
1527 "scheme": "http://schemas.google.com/g/2005#kind",
1528 "term": "http://schemas.google.com/docs/2007#file"
1529 } ],
1530 "content": {
1531 "src": "https://orphan_file_content_url/",
1532 "type": "audio/mpeg"
1533 },
1534 "docs$filename": {
1535 "$t": "Orphan File.txt"
1536 },
1537 "docs$md5Checksum": {
1538 "$t": "3b4382ebefec6e743578c76bbd0575ce"
1539 },
1540 "docs$size": {
1541 "$t": "892721"
1542 },
1543 "docs$suggestedFilename": {
1544 "$t": "Orphan File.txt"
1545 },
1546 "docs$writersCanInvite": {
1547 "value": "true"
1548 },
1549 "gd$etag": "\"HhMOFgxXHit7ImBr\"",
1550 "gd$feedLink": [ {
1551 "href": "https://orphan_file_feed_link_url",
1552 "rel": "http://schemas.google.com/docs/2007/revisions"
1553 } ],
1554 "gd$lastModifiedBy": {
1555 "email": {
1556 "$t": "tester@testing.com"
1557 },
1558 "name": {
1559 "$t": "tester"
1560 }
1561 },
1562 "gd$quotaBytesUsed": {
1563 "$t": "892721"
1564 },
1565 "gd$resourceId": {
1566 "$t": "file:orphan_file_resource_id"
1567 },
1568 "id": {
1569 "$t": "orphan_file_id"
1570 },
1571 "link": [ {
1572 "href": "https://orphan_file_link_alternate",
1573 "rel": "alternate",
1574 "type": "text/html"
1575 }, {
1576 "href": "https://orphan_feed_MISSING_PARENT_link",
1577 "rel": "http://schemas.google.com/docs/2007#parent",
1578 "type": "application/atom+xml"
1579 }, {
1580 "href": "https://orphan_file_link_resumable_edit_media",
1581 "rel": "http://schemas.google.com/g/2005#resumable-edit-media",
1582 "type": "application/atom+xml"
1583 }, {
1584 "href": "https://orphan_file_name_link_self",
1585 "rel": "self",
1586 "type": "application/atom+xml"
1587 }, {
1588 "href": "https://orphan_file_link_edit",
1589 "rel": "edit",
1590 "type": "application/atom+xml"
1591 }, {
1592 "href": "https://orphan_file_edit_media",
1593 "rel": "edit-media",
1594 "type": "audio/mpeg"
1595 } ],
1596 "published": {
1597 "$t": "2011-12-14T00:40:47.330Z"
1598 },
1599 "title": {
1600 "$t": "Orphan File.txt"
1601 },
1602 "updated": {
1603 "$t": "2011-12-14T00:40:47.330Z"
1604 }
1605 },{
1606 "app$edited": {
1607 "$t": "2011-12-14T00:40:57.162Z",
1608 "xmlns$app": "http://www.w3.org/2007/app"
1609 },
1610 "author": [ {
1611 "email": {
1612 "$t": "tester@testing.com"
1613 },
1614 "name": {
1615 "$t": "tester"
1616 }
1617 } ],
1618 "category": [ {
1619 "label": "audio/mpeg",
1620 "scheme": "http://schemas.google.com/g/2005#kind",
1621 "term": "http://schemas.google.com/docs/2007#file"
1622 } ],
1623 "content": {
1624 "src": "https://orphan_subfolder_file_content_url/",
1625 "type": "audio/mpeg"
1626 },
1627 "docs$filename": {
1628 "$t": "Orphan Subfolder File.txt"
1629 },
1630 "docs$md5Checksum": {
1631 "$t": "3b4382ebefec6e743578c76bbd0575ce"
1632 },
1633 "docs$size": {
1634 "$t": "892721"
1635 },
1636 "docs$suggestedFilename": {
1637 "$t": "Orphan Subfolder File.txt"
1638 },
1639 "docs$writersCanInvite": {
1640 "value": "true"
1641 },
1642 "gd$etag": "\"HhMOFgxXHit7ImBr\"",
1643 "gd$feedLink": [ {
1644 "href": "https://orphan_file_feed_link_url",
1645 "rel": "http://schemas.google.com/docs/2007/revisions"
1646 } ],
1647 "gd$lastModifiedBy": {
1648 "email": {
1649 "$t": "tester@testing.com"
1650 },
1651 "name": {
1652 "$t": "tester"
1653 }
1654 },
1655 "gd$quotaBytesUsed": {
1656 "$t": "892721"
1657 },
1658 "gd$resourceId": {
1659 "$t": "orphan_subfolder_file_resource_id"
1660 },
1661 "id": {
1662 "$t": "orphan_subfolder_file_id"
1663 },
1664 "link": [ {
1665 "href": "https://orphan_subfolder_file_link_alternate",
1666 "rel": "alternate",
1667 "type": "text/html"
1668 }, {
1669 "href": "https://orphan_feed_folder_self_link",
1670 "rel": "http://schemas.google.com/docs/2007#parent",
1671 "type": "application/atom+xml"
1672 }, {
1673 "href": "https://orphan_subfolder_file_link_resumable_edit_media",
1674 "rel": "http://schemas.google.com/g/2005#resumable-edit-media",
1675 "type": "application/atom+xml"
1676 }, {
1677 "href": "https://orphan_subfolder_file_name_link_self",
1678 "rel": "self",
1679 "type": "application/atom+xml"
1680 }, {
1681 "href": "https://orphan_subfolder_file_link_edit",
1682 "rel": "edit",
1683 "type": "application/atom+xml"
1684 }, {
1685 "href": "https://orphan_subfolder_file_edit_media",
1686 "rel": "edit-media",
1687 "type": "audio/mpeg"
1688 } ],
1689 "published": {
1690 "$t": "2011-12-14T00:40:47.330Z"
1691 },
1692 "title": {
1693 "$t": "Orphan Subfolder File.txt"
1694 },
1695 "updated": {
1696 "$t": "2011-12-14T00:40:47.330Z"
1697 }
1698 }],
1699 "gd$etag": "W/\"DkEEQH8-eSt7ImA9WhRQGE8.\"",
1700 "id": {
1701 "$t": "https://docs.google.com/feeds/default/private/full"
1702 },
1703 "link": [ {
1704 "href": "http://alternate_link",
1705 "rel": "alternate",
1706 "type": "text/html"
1707 }, {
1708 "href": "https://resumable_create_media_link",
1709 "rel": "http://schemas.google.com/g/2005#resumable-create-media",
1710 "type": "application/atom+xml"
1711 }, {
1712 "href": "https://docs.google.com/feeds/default/private/full?v=3",
1713 "rel": "http://schemas.google.com/g/2005#feed",
1714 "type": "application/atom+xml"
1715 }, {
1716 "href": "https://docs.google.com/feeds/default/private/full?v=3",
1717 "rel": "http://schemas.google.com/g/2005#post",
1718 "type": "application/atom+xml"
1719 }, {
1720 "href": "https://docs.google.com/feeds/default/private/full/batch?v=3 ",
1721 "rel": "http://schemas.google.com/g/2005#batch",
1722 "type": "application/atom+xml"
1723 }, {
1724 "href": "https://self_link",
1725 "rel": "self",
1726 "type": "application/atom+xml"
1727 } ],
1728 "openSearch$itemsPerPage": {
1729 "$t": "10"
1730 },
1731 "openSearch$startIndex": {
1732 "$t": "20"
1733 },
1734 "title": {
1735 "$t": "Feed 3 title - orphans"
1736 },
1737 "updated": {
1738 "$t": "2011-12-14T01:03:21.151Z"
1739 },
1740 "xmlns": "http://www.w3.org/2005/Atom",
1741 "xmlns$batch": "http://schemas.google.com/gdata/batch",
1742 "xmlns$docs": "http://schemas.google.com/docs/2007",
1743 "xmlns$gd": "http://schemas.google.com/g/2005",
1744 "xmlns$openSearch": "http://a9.com/-/spec/opensearch/1.1/"
1745 },
1746 "version": "1.0"
1412 } 1747 }
1413 ] 1748 ]
OLDNEW
« no previous file with comments | « chrome/browser/resources/file_manager/js/file_manager.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698