summaryrefslogtreecommitdiffstats
path: root/chrome/browser/google_apis/gdata_wapi_parser_unittest.cc
diff options
context:
space:
mode:
authorbattre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-10 12:36:47 +0000
committerbattre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-10 12:36:47 +0000
commitbeff6b317b2cc88775aa889f9bd600c2ca0bcfbd (patch)
tree95ae226da78af67841a37a849360a6513b7f413b /chrome/browser/google_apis/gdata_wapi_parser_unittest.cc
parent2d2755e700a72839353c3e1edd1659fa3452b6c7 (diff)
downloadchromium_src-beff6b317b2cc88775aa889f9bd600c2ca0bcfbd.zip
chromium_src-beff6b317b2cc88775aa889f9bd600c2ca0bcfbd.tar.gz
chromium_src-beff6b317b2cc88775aa889f9bd600c2ca0bcfbd.tar.bz2
Revert 172038
> google_apis: Rename DocumentFeed to ResourceList > > DocumentFeed was a misnomer, as this class represented a resource list. > > Along the way, add more useful comments in gdata_wapi_parser.h, and > fix wrong variable names like 'doc'. > > > BUG=164090 > TEST=none > > > Review URL: https://chromiumcodereview.appspot.com/11499006 The CL broke the tree: ../../chrome/browser/chromeos/extensions/file_browser_event_router.h:91:16:error: 'OnDocumentFeedFetched' marked 'override' but does not override any member functions virtual void OnDocumentFeedFetched(int num_accumulated_entries) OVERRIDE; TBR=satorux@chromium.org Review URL: https://codereview.chromium.org/11503010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172039 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/google_apis/gdata_wapi_parser_unittest.cc')
-rw-r--r--chrome/browser/google_apis/gdata_wapi_parser_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/google_apis/gdata_wapi_parser_unittest.cc b/chrome/browser/google_apis/gdata_wapi_parser_unittest.cc
index b34f97e..aa85102 100644
--- a/chrome/browser/google_apis/gdata_wapi_parser_unittest.cc
+++ b/chrome/browser/google_apis/gdata_wapi_parser_unittest.cc
@@ -57,13 +57,13 @@ class GDataWAPIParserTest : public testing::Test {
// TODO(nhiroki): Move json files to out of 'chromeos' directory
// (http://crbug.com/149788).
// Test document feed parsing.
-TEST_F(GDataWAPIParserTest, ResourceListJsonParser) {
+TEST_F(GDataWAPIParserTest, DocumentFeedJsonParser) {
std::string error;
scoped_ptr<Value> document =
test_util::LoadJSONFile("gdata/basic_feed.json");
ASSERT_TRUE(document.get());
ASSERT_EQ(Value::TYPE_DICTIONARY, document->GetType());
- scoped_ptr<ResourceList> feed(ResourceList::ExtractAndParse(*document));
+ scoped_ptr<DocumentFeed> feed(DocumentFeed::ExtractAndParse(*document));
ASSERT_TRUE(feed.get());
base::Time update_time;