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

Unified Diff: components/drive/chromeos/change_list_processor.h

Issue 2799603002: Process TeamDrive change in change list. (Closed)
Patch Set: Handle changes to Team Drive by the same path as files, including deletion. Created 3 years, 8 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: components/drive/chromeos/change_list_processor.h
diff --git a/components/drive/chromeos/change_list_processor.h b/components/drive/chromeos/change_list_processor.h
index 0c23efa0d41a973e3df8468aaea60459dbfeeeae..304e79dde2afd87e9832d92753141994ddfe2046 100644
--- a/components/drive/chromeos/change_list_processor.h
+++ b/components/drive/chromeos/change_list_processor.h
@@ -16,7 +16,6 @@
#include "base/files/file_path.h"
#include "base/macros.h"
#include "components/drive/file_errors.h"
-#include "components/drive/file_errors.h"
#include "url/gurl.h"
namespace base {
@@ -154,6 +153,9 @@ class ChangeListProcessor {
// Apply |entry| to resource_metadata_.
FileError ApplyEntry(const ResourceEntry& entry);
+ // Apply |change| to resource_metadata_.
hashimoto 2017/04/10 11:01:24 No longer needed.
yamaguchi 2017/04/11 07:08:07 Done.
+ FileError ApplyTeamDriveChange(const ResourceEntry& change);
+
// Adds the directories changed by the update on |entry| to |changed_dirs_|.
void UpdateChangedDirs(const ResourceEntry& entry);

Powered by Google App Engine
This is Rietveld 408576698