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

Unified Diff: components/drive/file_system_core_util.cc

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.h ('k') | components/drive/resource_entry_conversion.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « components/drive/file_system_core_util.h ('k') | components/drive/resource_entry_conversion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698