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

Unified Diff: chrome/installer/util/auto_launch_util.cc

Issue 218683013: Remove stale code to delete the metro user data dir. It never shipped. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gab comments Created 6 years, 9 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
Index: chrome/installer/util/auto_launch_util.cc
diff --git a/chrome/installer/util/auto_launch_util.cc b/chrome/installer/util/auto_launch_util.cc
index 857f8e02bf5c6cf295cbe4cc6d098071d85c37cd..6dd5d35d5e4b1e1c68fccbb4662bd4dba11ad3be 100644
--- a/chrome/installer/util/auto_launch_util.cc
+++ b/chrome/installer/util/auto_launch_util.cc
@@ -53,10 +53,7 @@ base::string16 ProfileToKeyName(const base::string16& profile_directory) {
BrowserDistribution::GetSpecificDistribution(
BrowserDistribution::CHROME_BROWSER);
installer::Product product(distribution);
- std::vector<base::FilePath> data_dir_paths;
- product.GetUserDataPaths(&data_dir_paths);
- if (!data_dir_paths.empty())
- path = data_dir_paths[0];
+ path = product.GetUserDataPath();
}
path = path.Append(profile_directory);

Powered by Google App Engine
This is Rietveld 408576698