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

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

Issue 10546034: Adds parsing for the app_id field from an "open-with-" link (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added json test Created 8 years, 6 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
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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
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://1_self_link", 80 "href": "https://1_self_link",
81 "rel": "self", 81 "rel": "self",
82 "type": "application/atom+xml" 82 "type": "application/atom+xml"
83 }, { 83 }, {
84 "href": "https://1_edit_link", 84 "href": "https://1_edit_link",
85 "rel": "edit", 85 "rel": "edit",
86 "type": "application/atom+xml" 86 "type": "application/atom+xml"
87 } ], 87 } ],
88 "published": { 88 "published": {
89 "$t": "2010-11-07T05:03:54.719Z" 89 "$t": "2010-11-07T05:03:54.719Z"
90 }, 90 },
91 "title": { 91 "title": {
92 "$t": "Entry 1 Title" 92 "$t": "Entry 1 Title"
93 }, 93 },
94 "updated": { 94 "updated": {
95 "$t": "2011-04-01T18:34:08.234Z" 95 "$t": "2011-04-01T18:34:08.234Z"
96 } 96 }
97 }, { 97 }, {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 "rel": "self", 171 "rel": "self",
172 "type": "application/atom+xml" 172 "type": "application/atom+xml"
173 }, { 173 }, {
174 "href": "https://file_link_edit", 174 "href": "https://file_link_edit",
175 "rel": "edit", 175 "rel": "edit",
176 "type": "application/atom+xml" 176 "type": "application/atom+xml"
177 }, { 177 }, {
178 "href": "https://file_edit_media", 178 "href": "https://file_edit_media",
179 "rel": "edit-media", 179 "rel": "edit-media",
180 "type": "audio/mpeg" 180 "type": "audio/mpeg"
181 }, {
182 "href": "https://xml_file_entry_open_with_link/",
183 "rel": "http://schemas.google.com/docs/2007#open-with-the_app_id",
184 "type": "application/atom+xml"
185 }, {
186 "href": "https://xml_file_fake_entry_open_with_link/",
187 "rel": "http://schemas.google.com/docs/2007#oh-no-not-open-with-the_ app_id",
188 "type": "application/atom+xml"
181 } ], 189 } ],
182 "published": { 190 "published": {
183 "$t": "2011-12-14T00:40:47.330Z" 191 "$t": "2011-12-14T00:40:47.330Z"
184 }, 192 },
185 "title": { 193 "title": {
186 "$t": "winter.m4a" 194 "$t": "winter.m4a"
187 }, 195 },
188 "updated": { 196 "updated": {
189 "$t": "2011-12-14T00:40:47.330Z" 197 "$t": "2011-12-14T00:40:47.330Z"
190 } 198 }
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 }, 404 },
397 "xmlns": "http://www.w3.org/2005/Atom", 405 "xmlns": "http://www.w3.org/2005/Atom",
398 "xmlns$batch": "http://schemas.google.com/gdata/batch", 406 "xmlns$batch": "http://schemas.google.com/gdata/batch",
399 "xmlns$docs": "http://schemas.google.com/docs/2007", 407 "xmlns$docs": "http://schemas.google.com/docs/2007",
400 "xmlns$gd": "http://schemas.google.com/g/2005", 408 "xmlns$gd": "http://schemas.google.com/g/2005",
401 "xmlns$openSearch": "http://a9.com/-/spec/opensearch/1.1/" 409 "xmlns$openSearch": "http://a9.com/-/spec/opensearch/1.1/"
402 }, 410 },
403 "version": "1.0" 411 "version": "1.0"
404 } 412 }
405 413
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_parser_unittest.cc ('k') | chrome/test/data/chromeos/gdata/entry.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698