Index: chrome/test/data/chromeos/gdata/contacts/feed_photo_404.json |
diff --git a/chrome/test/data/chromeos/gdata/contacts/feed_photo_404.json b/chrome/test/data/chromeos/gdata/contacts/feed_photo_404.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1241405bfc564a717f0becf7223a0f8126b20c90 |
--- /dev/null |
+++ b/chrome/test/data/chromeos/gdata/contacts/feed_photo_404.json |
@@ -0,0 +1,148 @@ |
+{ |
+ "_comment": "This feed contains a contact with a missing photo.", |
+ "encoding": "UTF-8", |
+ "feed": { |
+ "author": [ { |
+ "email": { |
+ "$t": "test.user@gmail.com" |
+ }, |
+ "name": { |
+ "$t": "Test User" |
+ } |
+ } ], |
+ "category": [ { |
+ "scheme": "http://schemas.google.com/g/2005#kind", |
+ "term": "http://schemas.google.com/contact/2008#contact" |
+ } ], |
+ "entry": [ { |
+ "app$edited": { |
+ "$t": "2012-06-04T15:53:36.023Z", |
+ "xmlns$app": "http://www.w3.org/2007/app" |
+ }, |
+ "category": [ { |
+ "scheme": "http://schemas.google.com/g/2005#kind", |
+ "term": "http://schemas.google.com/contact/2008#contact" |
+ } ], |
+ "gContact$groupMembershipInfo": [ { |
+ "deleted": "false", |
+ "href": "http://www.google.com/m8/feeds/groups/joe.contact%40gmail.com/base/6" |
+ } ], |
+ "gContact$website": [ { |
+ "href": "http://www.google.com/", |
+ "rel": "profile" |
+ } ], |
+ "gd$email": [ { |
+ "address": "joe.contact@gmail.com", |
+ "primary": "true", |
+ "rel": "http://schemas.google.com/g/2005#other" |
+ } ], |
+ "gd$etag": "\"R345ezVSLit7I2A9WhVbGE8PRQU.\"", |
+ "gd$name": { |
+ "gd$familyName": { |
+ "$t": "Contact" |
+ }, |
+ "gd$fullName": { |
+ "$t": "Joe Contact" |
+ }, |
+ "gd$givenName": { |
+ "$t": "Joe" |
+ } |
+ }, |
+ "gd$structuredPostalAddress": [ { |
+ "gd$city": { |
+ "$t": "San Francisco" |
+ }, |
+ "gd$formattedAddress": { |
+ "$t": "345 Spear St\nSan Francisco CA 94105" |
+ }, |
+ "gd$postcode": { |
+ "$t": "94105" |
+ }, |
+ "gd$region": { |
+ "$t": "CA" |
+ }, |
+ "gd$street": { |
+ "$t": "345 Spear St" |
+ }, |
+ "rel": "http://schemas.google.com/g/2005#home" |
+ } ], |
+ "id": { |
+ "$t": |
+ "http://example.com/1" |
+ }, |
+ "link": [ { |
+ "href": "https://example.com/nonexistent_file.png", |
+ "rel": "http://schemas.google.com/contacts/2008/rel#photo", |
+ "gd$etag": "\"JyYuJkIbWit7I2BpLHxUTDpzI1FGf2IjUjc.\"", |
+ "type": "image/*" |
+ }, { |
+ "href": |
+ "https://example.com/1", |
+ "rel": "self", |
+ "type": "application/atom+xml" |
+ }, { |
+ "href": |
+ "https://example.com/1", |
+ "rel": "edit", |
+ "type": "application/atom+xml" |
+ } ], |
+ "title": { |
+ "$t": "Joseph Contact" |
+ }, |
+ "updated": { |
+ "$t": "2012-06-04T15:53:36.023Z" |
+ } |
+ } ], |
+ "gd$etag": "W/\"CEUHSXg8fSt7I2A9WhJSEEw.\"", |
+ "generator": { |
+ "$t": "Contacts", |
+ "uri": "http://www.google.com/m8/feeds", |
+ "version": "1.0" |
+ }, |
+ "id": { |
+ "$t": "test.user@gmail.com" |
+ }, |
+ "link": [ { |
+ "href": "http://www.google.com/", |
+ "rel": "alternate", |
+ "type": "text/html" |
+ }, { |
+ "href": "https://www.google.com/m8/feeds/contacts/test.user%40gmail.com/full", |
+ "rel": "http://schemas.google.com/g/2005#feed", |
+ "type": "application/atom+xml" |
+ }, { |
+ "href": "https://www.google.com/m8/feeds/contacts/test.user%40gmail.com/full", |
+ "rel": "http://schemas.google.com/g/2005#post", |
+ "type": "application/atom+xml" |
+ }, { |
+ "href": "https://www.google.com/m8/feeds/contacts/test.user%40gmail.com/full/batch", |
+ "rel": "http://schemas.google.com/g/2005#batch", |
+ "type": "application/atom+xml" |
+ }, { |
+ "href": "https://www.google.com/m8/feeds/contacts/test.user%40gmail.com/full?alt=json&max-results=1000&showdeleted=true", |
+ "rel": "self", |
+ "type": "application/atom+xml" |
+ } ], |
+ "openSearch$itemsPerPage": { |
+ "$t": "1000" |
+ }, |
+ "openSearch$startIndex": { |
+ "$t": "1" |
+ }, |
+ "openSearch$totalResults": { |
+ "$t": "2" |
+ }, |
+ "title": { |
+ "$t": "Test User's Contacts" |
+ }, |
+ "updated": { |
+ "$t": "2012-06-29T23:23:58.675Z" |
+ }, |
+ "xmlns": "http://www.w3.org/2005/Atom", |
+ "xmlns$batch": "http://schemas.google.com/gdata/batch", |
+ "xmlns$gContact": "http://schemas.google.com/contact/2008", |
+ "xmlns$gd": "http://schemas.google.com/g/2005", |
+ "xmlns$openSearch": "http://a9.com/-/spec/opensearch/1.1/" |
+ }, |
+ "version": "1.0" |
+} |