Chromium Code Reviews| Index: chrome/browser/chromeos/gdata/gdata_wapi_parser.h |
| diff --git a/chrome/browser/chromeos/gdata/gdata_wapi_parser.h b/chrome/browser/chromeos/gdata/gdata_wapi_parser.h |
| index 01c8224c8c23b8e98d05d0052b5dd37dfced7ca6..47e9ed2876ab61dd6e6315f9679553b924b190bc 100644 |
| --- a/chrome/browser/chromeos/gdata/gdata_wapi_parser.h |
| +++ b/chrome/browser/chromeos/gdata/gdata_wapi_parser.h |
| @@ -36,6 +36,11 @@ class RepeatedMessageConverter; |
| // http://code.google.com/apis/documents/. |
| namespace gdata { |
| +class ChangeList; |
| +class ChangeResource; |
| +class FileList; |
| +class FileResource; |
| + |
| // Defines link (URL) of an entity (document, file, feed...). Each entity could |
| // have more than one link representing it. |
| class Link { |
| @@ -371,6 +376,12 @@ class DocumentEntry : public FeedEntry { |
| // Creates document entry from parsed XML. |
| static DocumentEntry* CreateFromXml(XmlReader* xml_reader); |
| + // Creates document entry from FileResource. |
|
satorux1
2012/08/10 18:14:34
So you plan to remove this right? Please file a bu
kochi
2012/08/13 09:08:39
Done.
|
| + static DocumentEntry* CreateFromFileResource(const FileResource& file); |
| + |
| + // Creates document entry from ChangeResource. |
| + static DocumentEntry* CreateFromChangeResource(const ChangeResource& change); |
|
satorux1
2012/08/10 18:14:34
ditto.
kochi
2012/08/13 09:08:39
Done.
|
| + |
| // Returns name of entry node. |
| static std::string GetEntryNodeName(); |
| @@ -512,6 +523,9 @@ class DocumentFeed : public FeedEntry { |
| // FillRemainingFields comment and implementation in DocumentEntry |
| // class for the details. |
| static scoped_ptr<DocumentFeed> CreateFrom(const base::Value& value); |
| + static scoped_ptr<DocumentFeed> CreateFromFileList(const FileList& filelist); |
|
satorux1
2012/08/10 18:14:34
ditto.
kochi
2012/08/13 09:08:39
Done.
|
| + static scoped_ptr<DocumentFeed> CreateFromChangeList( |
| + const ChangeList& changelist); |
| // Registers the mapping between JSON field names and the members in |
| // this class. |