summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-20 23:22:54 +0000
committerzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-20 23:22:54 +0000
commitb401d45e53da4f199514f36b8fbf52514c10cd2e (patch)
tree9eb468f903fd3c51dd9a1fb4ff4c3a3219b36614 /chrome
parentaa94d078ca9b7e8f63951c27a5b914f0ab380075 (diff)
downloadchromium_src-b401d45e53da4f199514f36b8fbf52514c10cd2e.zip
chromium_src-b401d45e53da4f199514f36b8fbf52514c10cd2e.tar.gz
chromium_src-b401d45e53da4f199514f36b8fbf52514c10cd2e.tar.bz2
GData parser changes for new types of links that started showing up in feeds.
BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9797002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127829 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/chromeos/gdata/gdata_parser.cc4
-rw-r--r--chrome/browser/chromeos/gdata/gdata_parser.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/gdata/gdata_parser.cc b/chrome/browser/chromeos/gdata/gdata_parser.cc
index f7bafaa..8caacdd 100644
--- a/chrome/browser/chromeos/gdata/gdata_parser.cc
+++ b/chrome/browser/chromeos/gdata/gdata_parser.cc
@@ -70,6 +70,10 @@ const LinkTypeMap kLinkTypeMap[] = {
"edit" },
{ Link::EDIT_MEDIA,
"edit-media" },
+ { Link::ALT_EDIT_MEDIA,
+ "alt-edit-media" },
+ { Link::ALT_POST,
+ "alt-post" },
{ Link::FEED,
"http://schemas.google.com/g/2005#feed"},
{ Link::POST,
diff --git a/chrome/browser/chromeos/gdata/gdata_parser.h b/chrome/browser/chromeos/gdata/gdata_parser.h
index 74e0b4c..e9d5e11 100644
--- a/chrome/browser/chromeos/gdata/gdata_parser.h
+++ b/chrome/browser/chromeos/gdata/gdata_parser.h
@@ -43,6 +43,8 @@ class Link {
ALTERNATE,
EDIT,
EDIT_MEDIA,
+ ALT_EDIT_MEDIA,
+ ALT_POST,
FEED,
POST,
BATCH,