diff options
author | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-10 12:01:01 +0000 |
---|---|---|
committer | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-10 12:01:01 +0000 |
commit | 2d2755e700a72839353c3e1edd1659fa3452b6c7 (patch) | |
tree | f7cfe4af9ca5a3484dc38cf46519990aeb733b53 /chrome/browser/chromeos/drive/drive_file_system.h | |
parent | 5fdd6d292b9b7d7894d738986fca23869565dd68 (diff) | |
download | chromium_src-2d2755e700a72839353c3e1edd1659fa3452b6c7.zip chromium_src-2d2755e700a72839353c3e1edd1659fa3452b6c7.tar.gz chromium_src-2d2755e700a72839353c3e1edd1659fa3452b6c7.tar.bz2 |
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
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172038 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/drive/drive_file_system.h')
-rw-r--r-- | chrome/browser/chromeos/drive/drive_file_system.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/chromeos/drive/drive_file_system.h b/chrome/browser/chromeos/drive/drive_file_system.h index ab529bc..1dc81a1 100644 --- a/chrome/browser/chromeos/drive/drive_file_system.h +++ b/chrome/browser/chromeos/drive/drive_file_system.h @@ -27,7 +27,7 @@ class SequencedTaskRunner; } namespace google_apis { -class DocumentFeed; +class ResourceList; class DriveServiceInterface; class DriveUploaderInterface; } @@ -142,7 +142,7 @@ class DriveFileSystem : public DriveFileSystemInterface, // DriveFeedLoader::Observer overrides. // Used to propagate events from DriveFeedLoader. virtual void OnDirectoryChanged(const FilePath& directory_path) OVERRIDE; - virtual void OnDocumentFeedFetched(int num_accumulated_entries) OVERRIDE; + virtual void OnResourceListFetched(int num_accumulated_entries) OVERRIDE; virtual void OnFeedFromServerLoaded() OVERRIDE; // Used in tests to load the root feed from the cache. @@ -239,7 +239,7 @@ class DriveFileSystem : public DriveFileSystemInterface, // |feed_list| is the document feed for content search. // |error| is the error code returned by DriveFeedLoader. void OnSearch(const SearchCallback& callback, - const ScopedVector<google_apis::DocumentFeed>& feed_list, + const ScopedVector<google_apis::ResourceList>& feed_list, DriveFileError error); // Callback for DriveResourceMetadata::RefreshFile, from OnSearch. @@ -547,7 +547,7 @@ class DriveFileSystem : public DriveFileSystemInterface, void OnRequestDirectoryRefresh( const std::string& directory_resource_id, const FilePath& directory_path, - const ScopedVector<google_apis::DocumentFeed>& feed_list, + const ScopedVector<google_apis::ResourceList>& feed_list, DriveFileError error); void GetAvailableSpaceOnUIThread(const GetAvailableSpaceCallback& callback); |