Index: chrome/common/chrome_paths_win.cc |
diff --git a/chrome/common/chrome_paths_win.cc b/chrome/common/chrome_paths_win.cc |
index 597448bdf67a23280e996fdc49a8084ae22f31ee..767f96727345c4bc15cfccde799a147ed621ac72 100644 |
--- a/chrome/common/chrome_paths_win.cc |
+++ b/chrome/common/chrome_paths_win.cc |
@@ -51,6 +51,15 @@ bool GetDefaultUserDataDirectory(base::FilePath* result) { |
return true; |
} |
+bool GetDefaultRoamingUserDataDirectory(base::FilePath* result) { |
+ if (!PathService::Get(base::DIR_APP_DATA, result)) |
+ return false; |
+ BrowserDistribution* dist = BrowserDistribution::GetDistribution(); |
+ *result = result->Append(dist->GetInstallSubDir()); |
+ *result = result->Append(chrome::kUserDataDirname); |
+ return true; |
+} |
+ |
void GetUserCacheDirectory(const base::FilePath& profile_dir, |
base::FilePath* result) { |
// This function does more complicated things on Mac/Linux. |