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

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

Issue 12210031: Implement fake drive service upload methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: properly rebased Created 7 years, 10 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/google_apis/test_util.cc ('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 "encoding": "UTF-8", 2 "encoding": "UTF-8",
3 "feed": { 3 "feed": {
4 "author": [ { 4 "author": [ {
5 "email": { 5 "email": {
6 "$t": "tester@testing.com" 6 "$t": "tester@testing.com"
7 }, 7 },
8 "name": { 8 "name": {
9 "$t": "tester" 9 "$t": "tester"
10 } 10 }
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 "$t": "folder:sub_sub_directory_folder_id" 66 "$t": "folder:sub_sub_directory_folder_id"
67 }, 67 },
68 "id": { 68 "id": {
69 "$t": "https://1_folder_id" 69 "$t": "https://1_folder_id"
70 }, 70 },
71 "link": [ { 71 "link": [ {
72 "href": "https://1_folder_alternate_link", 72 "href": "https://1_folder_alternate_link",
73 "rel": "alternate", 73 "rel": "alternate",
74 "type": "text/html" 74 "type": "text/html"
75 }, { 75 }, {
76 "href": "https://1_folder_resumable_create_media_link", 76 "href": "https://sub_sub_folder_resumable_create_media_link",
77 "rel": "http://schemas.google.com/g/2005#resumable-create-media", 77 "rel": "http://schemas.google.com/g/2005#resumable-create-media",
78 "type": "application/atom+xml" 78 "type": "application/atom+xml"
79 }, { 79 }, {
80 "href": "https://dir1_sub_sub_self_link/folder:sub_sub_directory_fol der_id", 80 "href": "https://dir1_sub_sub_self_link/folder:sub_sub_directory_fol der_id",
81 "rel": "self", 81 "rel": "self",
82 "type": "application/atom+xml" 82 "type": "application/atom+xml"
83 }, { 83 }, {
84 "href": "https://fake_server/folder:sub_dir_folder_resource_id", 84 "href": "https://fake_server/folder:sub_dir_folder_resource_id",
85 "rel": "http://schemas.google.com/docs/2007#parent", 85 "rel": "http://schemas.google.com/docs/2007#parent",
86 "type": "application/atom+xml" 86 "type": "application/atom+xml"
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 "$t": "file:subdirectory_file_1_id" 242 "$t": "file:subdirectory_file_1_id"
243 }, 243 },
244 "id": { 244 "id": {
245 "$t": "2_file_id" 245 "$t": "2_file_id"
246 }, 246 },
247 "link": [ { 247 "link": [ {
248 "href": "https://file_link_alternate", 248 "href": "https://file_link_alternate",
249 "rel": "alternate", 249 "rel": "alternate",
250 "type": "text/html" 250 "type": "text/html"
251 }, { 251 }, {
252 "href": "https://file_link_resumable_edit_media", 252 "href": "https://subdirectory_file_1_link_resumable_edit_media",
253 "rel": "http://schemas.google.com/g/2005#resumable-edit-media", 253 "rel": "http://schemas.google.com/g/2005#resumable-edit-media",
254 "type": "application/atom+xml" 254 "type": "application/atom+xml"
255 }, { 255 }, {
256 "href": "https://dir1_file_link_self/file:subdirectory_file_1_id", 256 "href": "https://dir1_file_link_self/file:subdirectory_file_1_id",
257 "rel": "self", 257 "rel": "self",
258 "type": "application/atom+xml" 258 "type": "application/atom+xml"
259 }, { 259 }, {
260 "href": "https://fake_server/folder:1_folder_resource_id", 260 "href": "https://fake_server/folder:1_folder_resource_id",
261 "rel": "http://schemas.google.com/docs/2007#parent", 261 "rel": "http://schemas.google.com/docs/2007#parent",
262 "type": "application/atom+xml" 262 "type": "application/atom+xml"
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 "$t": "folder:slash_dir_folder_resource_id" 410 "$t": "folder:slash_dir_folder_resource_id"
411 }, 411 },
412 "id": { 412 "id": {
413 "$t": "https://slash_dir_folder_id" 413 "$t": "https://slash_dir_folder_id"
414 }, 414 },
415 "link": [ { 415 "link": [ {
416 "href": "https://slash_dir_folder_alternate_link", 416 "href": "https://slash_dir_folder_alternate_link",
417 "rel": "alternate", 417 "rel": "alternate",
418 "type": "text/html" 418 "type": "text/html"
419 }, { 419 }, {
420 "href": "https://1_folder_resumable_create_media_link", 420 "href": "https://slash_dir_folder_resumable_create_media_link",
421 "rel": "http://schemas.google.com/g/2005#resumable-create-media", 421 "rel": "http://schemas.google.com/g/2005#resumable-create-media",
422 "type": "application/atom+xml" 422 "type": "application/atom+xml"
423 }, { 423 }, {
424 "href": "https://slash_dir_self_link/folder:slash_dir_folder_resourc e_id", 424 "href": "https://slash_dir_self_link/folder:slash_dir_folder_resourc e_id",
425 "rel": "self", 425 "rel": "self",
426 "type": "application/atom+xml" 426 "type": "application/atom+xml"
427 }, { 427 }, {
428 "href": "https://slash_dir_self_link/folder:slash_dir_folder_resourc e_id", 428 "href": "https://slash_dir_self_link/folder:slash_dir_folder_resourc e_id",
429 "rel": "edit", 429 "rel": "edit",
430 "type": "application/atom+xml" 430 "type": "application/atom+xml"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 "$t": "file:2_file_resource_id" 498 "$t": "file:2_file_resource_id"
499 }, 499 },
500 "id": { 500 "id": {
501 "$t": "2_file_id" 501 "$t": "2_file_id"
502 }, 502 },
503 "link": [ { 503 "link": [ {
504 "href": "https://file_link_alternate", 504 "href": "https://file_link_alternate",
505 "rel": "alternate", 505 "rel": "alternate",
506 "type": "text/html" 506 "type": "text/html"
507 }, { 507 }, {
508 "href": "https://file_link_resumable_edit_media", 508 "href": "https://2_file_link_resumable_edit_media",
509 "rel": "http://schemas.google.com/g/2005#resumable-edit-media", 509 "rel": "http://schemas.google.com/g/2005#resumable-edit-media",
510 "type": "application/atom+xml" 510 "type": "application/atom+xml"
511 }, { 511 }, {
512 "href": "https://2_file_link_resumable_create_media",
513 "rel": "http://schemas.google.com/g/2005#resumable-create-media",
514 "type": "application/atom+xml"
515 }, {
512 "href": "https://file1_link_self/file:2_file_resource_id", 516 "href": "https://file1_link_self/file:2_file_resource_id",
513 "rel": "self", 517 "rel": "self",
514 "type": "application/atom+xml" 518 "type": "application/atom+xml"
515 }, { 519 }, {
516 "href": "https://file1_link_self/file:2_file_resource_id", 520 "href": "https://file1_link_self/file:2_file_resource_id",
517 "rel": "edit", 521 "rel": "edit",
518 "type": "application/atom+xml" 522 "type": "application/atom+xml"
519 }, { 523 }, {
520 "href": "https://file_edit_media", 524 "href": "https://file_edit_media",
521 "rel": "edit-media", 525 "rel": "edit-media",
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 "$t": "file:slash_file_resource_id" 594 "$t": "file:slash_file_resource_id"
591 }, 595 },
592 "id": { 596 "id": {
593 "$t": "slash_file_id" 597 "$t": "slash_file_id"
594 }, 598 },
595 "link": [ { 599 "link": [ {
596 "href": "https://file_link_alternate", 600 "href": "https://file_link_alternate",
597 "rel": "alternate", 601 "rel": "alternate",
598 "type": "text/html" 602 "type": "text/html"
599 }, { 603 }, {
600 "href": "https://file_link_resumable_edit_media", 604 "href": "https://slash_file_link_resumable_edit_media",
601 "rel": "http://schemas.google.com/g/2005#resumable-edit-media", 605 "rel": "http://schemas.google.com/g/2005#resumable-edit-media",
602 "type": "application/atom+xml" 606 "type": "application/atom+xml"
603 }, { 607 }, {
604 "href": "https://slash_file_link_self/file:slash_file_resource_id", 608 "href": "https://slash_file_link_self/file:slash_file_resource_id",
605 "rel": "self", 609 "rel": "self",
606 "type": "application/atom+xml" 610 "type": "application/atom+xml"
607 }, { 611 }, {
608 "href": "https://slash_file_link_self/file:slash_file_resource_id", 612 "href": "https://slash_file_link_self/file:slash_file_resource_id",
609 "rel": "edit", 613 "rel": "edit",
610 "type": "application/atom+xml" 614 "type": "application/atom+xml"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 "$t": "file:3_file_resource_id" 686 "$t": "file:3_file_resource_id"
683 }, 687 },
684 "id": { 688 "id": {
685 "$t": "3_file_id" 689 "$t": "3_file_id"
686 }, 690 },
687 "link": [ { 691 "link": [ {
688 "href": "https://file_link_alternate", 692 "href": "https://file_link_alternate",
689 "rel": "alternate", 693 "rel": "alternate",
690 "type": "text/html" 694 "type": "text/html"
691 }, { 695 }, {
692 "href": "https://file_link_resumable_edit_media", 696 "href": "https://3_file_link_resumable_edit_media",
693 "rel": "http://schemas.google.com/g/2005#resumable-edit-media", 697 "rel": "http://schemas.google.com/g/2005#resumable-edit-media",
694 "type": "application/atom+xml" 698 "type": "application/atom+xml"
695 }, { 699 }, {
696 "href": "https://duplicate_name_link_self/file:3_file_resource_id", 700 "href": "https://duplicate_name_link_self/file:3_file_resource_id",
697 "rel": "self", 701 "rel": "self",
698 "type": "application/atom+xml" 702 "type": "application/atom+xml"
699 }, { 703 }, {
700 "href": "https://duplicate_name_link_self/file:3_file_resource_id", 704 "href": "https://duplicate_name_link_self/file:3_file_resource_id",
701 "rel": "edit", 705 "rel": "edit",
702 "type": "application/atom+xml" 706 "type": "application/atom+xml"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 "$t": "file:4_file_resource_id" 778 "$t": "file:4_file_resource_id"
775 }, 779 },
776 "id": { 780 "id": {
777 "$t": "4_file_id" 781 "$t": "4_file_id"
778 }, 782 },
779 "link": [ { 783 "link": [ {
780 "href": "https://file_link_alternate", 784 "href": "https://file_link_alternate",
781 "rel": "alternate", 785 "rel": "alternate",
782 "type": "text/html" 786 "type": "text/html"
783 }, { 787 }, {
784 "href": "https://file_link_resumable_edit_media", 788 "href": "https://4_file_link_resumable_edit_media",
785 "rel": "http://schemas.google.com/g/2005#resumable-edit-media", 789 "rel": "http://schemas.google.com/g/2005#resumable-edit-media",
786 "type": "application/atom+xml" 790 "type": "application/atom+xml"
787 }, { 791 }, {
788 "href": "https://duplicate2_link_self/file:4_file_resource_id", 792 "href": "https://duplicate2_link_self/file:4_file_resource_id",
789 "rel": "self", 793 "rel": "self",
790 "type": "application/atom+xml" 794 "type": "application/atom+xml"
791 }, { 795 }, {
792 "href": "https://duplicate2_link_self/file:4_file_resource_id", 796 "href": "https://duplicate2_link_self/file:4_file_resource_id",
793 "rel": "edit", 797 "rel": "edit",
794 "type": "application/atom+xml" 798 "type": "application/atom+xml"
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 "$t": "folder:sub_dir_folder_2_self_link" 942 "$t": "folder:sub_dir_folder_2_self_link"
939 }, 943 },
940 "id": { 944 "id": {
941 "$t": "https://sub_dir_folder_2_self_link" 945 "$t": "https://sub_dir_folder_2_self_link"
942 }, 946 },
943 "link": [ { 947 "link": [ {
944 "href": "https://1_folder_alternate_link", 948 "href": "https://1_folder_alternate_link",
945 "rel": "alternate", 949 "rel": "alternate",
946 "type": "text/html" 950 "type": "text/html"
947 }, { 951 }, {
948 "href": "https://1_folder_resumable_create_media_link", 952 "href": "https://sub_dir_folder_2_resumable_create_media_link",
949 "rel": "http://schemas.google.com/g/2005#resumable-create-media", 953 "rel": "http://schemas.google.com/g/2005#resumable-create-media",
950 "type": "application/atom+xml" 954 "type": "application/atom+xml"
951 }, { 955 }, {
952 "href": "https://sub_dir_folder_2_self_link/folder:sub_dir_folder_2_ self_link", 956 "href": "https://sub_dir_folder_2_self_link/folder:sub_dir_folder_2_ self_link",
953 "rel": "self", 957 "rel": "self",
954 "type": "application/atom+xml" 958 "type": "application/atom+xml"
955 }, { 959 }, {
956 "href": "https://sub_dir_folder_2_self_link/folder:sub_dir_folder_2_ self_link", 960 "href": "https://sub_dir_folder_2_self_link/folder:sub_dir_folder_2_ self_link",
957 "rel": "edit", 961 "rel": "edit",
958 "type": "application/atom+xml" 962 "type": "application/atom+xml"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
1030 "$t": "file:slash_subdir_file" 1034 "$t": "file:slash_subdir_file"
1031 }, 1035 },
1032 "id": { 1036 "id": {
1033 "$t": "slash_subdir_file" 1037 "$t": "slash_subdir_file"
1034 }, 1038 },
1035 "link": [ { 1039 "link": [ {
1036 "href": "https://file_link_alternate", 1040 "href": "https://file_link_alternate",
1037 "rel": "alternate", 1041 "rel": "alternate",
1038 "type": "text/html" 1042 "type": "text/html"
1039 }, { 1043 }, {
1040 "href": "https://file_link_resumable_edit_media", 1044 "href": "https://slash_subdir_file_link_resumable_edit_media",
1041 "rel": "http://schemas.google.com/g/2005#resumable-edit-media", 1045 "rel": "http://schemas.google.com/g/2005#resumable-edit-media",
1042 "type": "application/atom+xml" 1046 "type": "application/atom+xml"
1043 }, { 1047 }, {
1044 "href": "https://slash_dir_link_self/file:slash_subdir_file", 1048 "href": "https://slash_dir_link_self/file:slash_subdir_file",
1045 "rel": "self", 1049 "rel": "self",
1046 "type": "application/atom+xml" 1050 "type": "application/atom+xml"
1047 }, { 1051 }, {
1048 "href": "https://slash_dir_link_self/file:slash_subdir_file", 1052 "href": "https://slash_dir_link_self/file:slash_subdir_file",
1049 "rel": "edit", 1053 "rel": "edit",
1050 "type": "application/atom+xml" 1054 "type": "application/atom+xml"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
1109 "$t": "2011-12-14T01:03:21.151Z" 1113 "$t": "2011-12-14T01:03:21.151Z"
1110 }, 1114 },
1111 "xmlns": "http://www.w3.org/2005/Atom", 1115 "xmlns": "http://www.w3.org/2005/Atom",
1112 "xmlns$batch": "http://schemas.google.com/gdata/batch", 1116 "xmlns$batch": "http://schemas.google.com/gdata/batch",
1113 "xmlns$docs": "http://schemas.google.com/docs/2007", 1117 "xmlns$docs": "http://schemas.google.com/docs/2007",
1114 "xmlns$gd": "http://schemas.google.com/g/2005", 1118 "xmlns$gd": "http://schemas.google.com/g/2005",
1115 "xmlns$openSearch": "http://a9.com/-/spec/opensearch/1.1/" 1119 "xmlns$openSearch": "http://a9.com/-/spec/opensearch/1.1/"
1116 }, 1120 },
1117 "version": "1.0" 1121 "version": "1.0"
1118 } 1122 }
OLDNEW
« no previous file with comments | « chrome/browser/google_apis/test_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698