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

Unified Diff: components/drive/resource_entry_conversion.h

Issue 2799603002: Process TeamDrive change in change list. (Closed)
Patch Set: Remove unnecessary return value, as the TeamDriveResource conversion always succeeds. 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
« no previous file with comments | « components/drive/file_system_core_util.cc ('k') | components/drive/resource_entry_conversion.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/resource_entry_conversion.h
diff --git a/components/drive/resource_entry_conversion.h b/components/drive/resource_entry_conversion.h
index 2de228e7e08855f2bed4f9634dd83598518af29c..b0d2f162ce1a55391542a40f0bbfb12074e5b684 100644
--- a/components/drive/resource_entry_conversion.h
+++ b/components/drive/resource_entry_conversion.h
@@ -12,6 +12,7 @@
namespace google_apis {
class ChangeResource;
class FileResource;
+class TeamDriveResource;
}
namespace drive {
@@ -44,6 +45,11 @@ bool ConvertFileResourceToResourceEntry(
ResourceEntry* out_entry,
std::string* out_parent_resource_id);
+// Converts a TeamDriveResource into a drive::ResourceEntry.
+void ConvertTeamDriveResourceToResourceEntry(
+ const google_apis::TeamDriveResource& input,
+ ResourceEntry* out_entry);
+
// Converts the resource entry to the platform file info.
void ConvertResourceEntryToFileInfo(const ResourceEntry& entry,
base::File::Info* file_info);
« no previous file with comments | « components/drive/file_system_core_util.cc ('k') | components/drive/resource_entry_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698