Add an abstraction to get the root_folder_id from change list loading.
Currently change list loader and directory loader use AboutResourceLoader to get the root folder id. However, with team drives the root folder id is a constant (the team drive id) and we need a way to supply this value when the change list loader and directory loader are loading changelists for team drives. The RootFolderIdLoader pure virtual class allows us to provide an abstraction for reading the root folder id either from AboutResource or a constant string. Bug: 835703, 715355 Change-Id: I7d0766c5f813353186d3fbd3f6b20219c809eb4e Reviewed-on: https://chromium-review.googlesource.com/1068527 Commit-Queue: Stuart Langley <slangley@chromium.org> Reviewed-by:Naoki Fukino <fukino@chromium.org> Reviewed-by:
Sasha Morrissey <sashab@chromium.org> Cr-Commit-Position: refs/heads/master@{#561706}
Showing
Please register or sign in to comment