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

Unified Diff: chrome/test/data/chromeos/gdata/contacts/feed_multiple_photos.json

Issue 10818017: contacts: Add GDataContactsService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor cleanup Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/chromeos/gdata/contacts/feed_multiple_photos.json
diff --git a/chrome/test/data/chromeos/gdata/contacts/feed_multiple_photos.json b/chrome/test/data/chromeos/gdata/contacts/feed_multiple_photos.json
new file mode 100644
index 0000000000000000000000000000000000000000..aafaa7ee80d825b40f07ee56b4965a4aaaec0f11
--- /dev/null
+++ b/chrome/test/data/chromeos/gdata/contacts/feed_multiple_photos.json
@@ -0,0 +1,222 @@
+{
+ "_comment": "This feed contains 8 minimal contacts, each with a 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": [ {
+ "category": [ {
+ "scheme": "http://schemas.google.com/g/2005#kind",
+ "term": "http://schemas.google.com/contact/2008#contact"
+ } ],
+ "gd$etag": "\"R345ezVSLit7I2A9WhVbGE8PRQU.\"",
+ "id": {
+ "$t":
+ "http://example.com/1"
+ },
+ "link": [ {
+ "href": "https://example.com/photo.png",
+ "rel": "http://schemas.google.com/contacts/2008/rel#photo",
+ "gd$etag": "\"JyYuJkIbWit7I2BpLHxUTDpzI1FGf2IjUjc.\"",
+ "type": "image/*"
+ } ],
+ "updated": {
+ "$t": "2012-06-04T15:53:36.023Z"
+ }
+ }, {
+ "category": [ {
+ "scheme": "http://schemas.google.com/g/2005#kind",
+ "term": "http://schemas.google.com/contact/2008#contact"
+ } ],
+ "gd$etag": "\"R345ezVSLit7I2A9WhVbGE8PRQU.\"",
+ "id": {
+ "$t":
+ "http://example.com/2"
+ },
+ "link": [ {
+ "href": "https://example.com/photo.png",
+ "rel": "http://schemas.google.com/contacts/2008/rel#photo",
+ "gd$etag": "\"JyYuJkIbWit7I2BpLHxUTDpzI1FGf2IjUjc.\"",
+ "type": "image/*"
+ } ],
+ "updated": {
+ "$t": "2012-06-04T15:53:36.023Z"
+ }
+ }, {
+ "category": [ {
+ "scheme": "http://schemas.google.com/g/2005#kind",
+ "term": "http://schemas.google.com/contact/2008#contact"
+ } ],
+ "gd$etag": "\"R345ezVSLit7I2A9WhVbGE8PRQU.\"",
+ "id": {
+ "$t":
+ "http://example.com/3"
+ },
+ "link": [ {
+ "href": "https://example.com/photo.png",
+ "rel": "http://schemas.google.com/contacts/2008/rel#photo",
+ "gd$etag": "\"JyYuJkIbWit7I2BpLHxUTDpzI1FGf2IjUjc.\"",
+ "type": "image/*"
+ } ],
+ "updated": {
+ "$t": "2012-06-04T15:53:36.023Z"
+ }
+ }, {
+ "category": [ {
+ "scheme": "http://schemas.google.com/g/2005#kind",
+ "term": "http://schemas.google.com/contact/2008#contact"
+ } ],
+ "gd$etag": "\"R345ezVSLit7I2A9WhVbGE8PRQU.\"",
+ "id": {
+ "$t":
+ "http://example.com/4"
+ },
+ "link": [ {
+ "href": "https://example.com/photo.png",
+ "rel": "http://schemas.google.com/contacts/2008/rel#photo",
+ "gd$etag": "\"JyYuJkIbWit7I2BpLHxUTDpzI1FGf2IjUjc.\"",
+ "type": "image/*"
+ } ],
+ "updated": {
+ "$t": "2012-06-04T15:53:36.023Z"
+ }
+ }, {
+ "category": [ {
+ "scheme": "http://schemas.google.com/g/2005#kind",
+ "term": "http://schemas.google.com/contact/2008#contact"
+ } ],
+ "gd$etag": "\"R345ezVSLit7I2A9WhVbGE8PRQU.\"",
+ "id": {
+ "$t":
+ "http://example.com/5"
+ },
+ "link": [ {
+ "href": "https://example.com/photo.png",
+ "rel": "http://schemas.google.com/contacts/2008/rel#photo",
+ "gd$etag": "\"JyYuJkIbWit7I2BpLHxUTDpzI1FGf2IjUjc.\"",
+ "type": "image/*"
+ } ],
+ "updated": {
+ "$t": "2012-06-04T15:53:36.023Z"
+ }
+ }, {
+ "category": [ {
+ "scheme": "http://schemas.google.com/g/2005#kind",
+ "term": "http://schemas.google.com/contact/2008#contact"
+ } ],
+ "gd$etag": "\"R345ezVSLit7I2A9WhVbGE8PRQU.\"",
+ "id": {
+ "$t":
+ "http://example.com/6"
+ },
+ "link": [ {
+ "href": "https://example.com/photo.png",
+ "rel": "http://schemas.google.com/contacts/2008/rel#photo",
+ "gd$etag": "\"JyYuJkIbWit7I2BpLHxUTDpzI1FGf2IjUjc.\"",
+ "type": "image/*"
+ } ],
+ "updated": {
+ "$t": "2012-06-04T15:53:36.023Z"
+ }
+ }, {
+ "category": [ {
+ "scheme": "http://schemas.google.com/g/2005#kind",
+ "term": "http://schemas.google.com/contact/2008#contact"
+ } ],
+ "gd$etag": "\"R345ezVSLit7I2A9WhVbGE8PRQU.\"",
+ "id": {
+ "$t":
+ "http://example.com/7"
+ },
+ "link": [ {
+ "href": "https://example.com/photo.png",
+ "rel": "http://schemas.google.com/contacts/2008/rel#photo",
+ "gd$etag": "\"JyYuJkIbWit7I2BpLHxUTDpzI1FGf2IjUjc.\"",
+ "type": "image/*"
+ } ],
+ "updated": {
+ "$t": "2012-06-04T15:53:36.023Z"
+ }
+ }, {
+ "category": [ {
+ "scheme": "http://schemas.google.com/g/2005#kind",
+ "term": "http://schemas.google.com/contact/2008#contact"
+ } ],
+ "gd$etag": "\"R345ezVSLit7I2A9WhVbGE8PRQU.\"",
+ "id": {
+ "$t":
+ "http://example.com/8"
+ },
+ "link": [ {
+ "href": "https://example.com/photo.png",
+ "rel": "http://schemas.google.com/contacts/2008/rel#photo",
+ "gd$etag": "\"JyYuJkIbWit7I2BpLHxUTDpzI1FGf2IjUjc.\"",
+ "type": "image/*"
+ } ],
+ "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"
+}

Powered by Google App Engine
This is Rietveld 408576698