Index: components/drive/file_system_core_util.cc |
diff --git a/components/drive/file_system_core_util.cc b/components/drive/file_system_core_util.cc |
index bd668da120b5f11c5ce6e2f75603de42360b00b1..f3df85a38fbf537b0e49897176b4eac27eb22186 100644 |
--- a/components/drive/file_system_core_util.cc |
+++ b/components/drive/file_system_core_util.cc |
@@ -80,6 +80,13 @@ const base::FilePath& GetDriveMyDriveRootPath() { |
return drive_root_path; |
} |
+const base::FilePath& GetDriveTeamDrivesRootPath() { |
+ CR_DEFINE_STATIC_LOCAL( |
+ base::FilePath, team_drives_root_path, |
+ (GetDriveGrandRootPath().AppendASCII(kDriveTeamDrivesDirName))); |
+ return team_drives_root_path; |
+} |
+ |
std::string EscapeCacheFileName(const std::string& filename) { |
// This is based on net/base/escape.cc: net::(anonymous namespace)::Escape |
std::string escaped; |