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

Unified Diff: chrome/installer/util/install_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/install_util.cc
diff --git a/chrome/installer/util/install_util.cc b/chrome/installer/util/install_util.cc
index 11196c4cb2b1e6946b38c472309cf975a9180841..f00af27435d0653bd9dd7b17ab2318b7814d64c1 100644
--- a/chrome/installer/util/install_util.cc
+++ b/chrome/installer/util/install_util.cc
@@ -414,12 +414,11 @@ bool InstallUtil::GetSentinelFilePath(const base::FilePath::CharType* file,
BrowserDistribution* dist,
base::FilePath* path) {
// TODO(msw): Use PathService to obtain the correct DIR_USER_DATA.
- std::vector<base::FilePath> user_data_dir_paths;
- installer::GetChromeUserDataPaths(dist, &user_data_dir_paths);
+ base::FilePath user_data_dir(installer::GetChromeUserDataPath(dist));
- if (user_data_dir_paths.empty())
+ if (user_data_dir.empty())
return false;
- *path = user_data_dir_paths[0].Append(file);
+ *path = user_data_dir.Append(file);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698