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

Unified Diff: chrome/browser/chromeos/drive/sync/entry_revert_performer.h

Issue 321753002: drive: Stop returning ResourceEntry from JobScheduler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/browser/chromeos/drive/sync/entry_revert_performer.h
diff --git a/chrome/browser/chromeos/drive/sync/entry_revert_performer.h b/chrome/browser/chromeos/drive/sync/entry_revert_performer.h
index 1962e4d59bbdc524f63c1e0b25a6badb199319ff..b4906e6ce9ec6faa2b9855108b871c624bf76cd5 100644
--- a/chrome/browser/chromeos/drive/sync/entry_revert_performer.h
+++ b/chrome/browser/chromeos/drive/sync/entry_revert_performer.h
@@ -19,7 +19,7 @@ class SequencedTaskRunner;
} // namespace base
namespace google_apis {
-class ResourceEntry;
+class FileResource;
} // namespace google_apis
namespace drive {
@@ -60,12 +60,12 @@ class EntryRevertPerformer {
scoped_ptr<ResourceEntry> entry,
FileError error);
- // Part of RevertEntry(). Called after GetResourceEntry is completed.
- void RevertEntryAfterGetResourceEntry(
+ // Part of RevertEntry(). Called after GetFileResource is completed.
+ void RevertEntryAfterGetFileResource(
const FileOperationCallback& callback,
const std::string& local_id,
google_apis::GDataErrorCode status,
- scoped_ptr<google_apis::ResourceEntry> resource_entry);
+ scoped_ptr<google_apis::FileResource> entry);
// Part of RevertEntry(). Called after local metadata is updated.
void RevertEntryAfterFinishRevert(
« no previous file with comments | « chrome/browser/chromeos/drive/job_scheduler_unittest.cc ('k') | chrome/browser/chromeos/drive/sync/entry_revert_performer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698