summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chrome_browser_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chrome_browser_main.cc')
-rw-r--r--chrome/browser/chrome_browser_main.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 4a04a96..4723a10 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -146,6 +146,7 @@
#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
#include "chrome/browser/first_run/upgrade_util_linux.h"
+#include "chrome/browser/sxs_linux.h"
#endif
#if defined(OS_CHROMEOS)
@@ -1219,6 +1220,11 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
}
}
+#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+ if (sxs_linux::ShouldMigrateUserDataDir())
+ return sxs_linux::MigrateUserDataDir();
+#endif // defined(OS_LINUX) && !defined(OS_CHROMEOS)
+
first_run::CreateSentinelIfNeeded();
#endif // !defined(OS_ANDROID)