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

Unified Diff: chrome/common/importer/firefox_importer_utils.cc

Issue 117123002: Fixing Firefox 21+ password import (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweaks in GetSearchEnginesXMLData Created 7 years 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/common/importer/firefox_importer_utils.cc
diff --git a/chrome/common/importer/firefox_importer_utils.cc b/chrome/common/importer/firefox_importer_utils.cc
index 4f6a2019e781551b516cdde924b5aca31f755e1e..cee249aa2d72117babd7ecdd3d1b604dfb66d8c8 100644
--- a/chrome/common/importer/firefox_importer_utils.cc
+++ b/chrome/common/importer/firefox_importer_utils.cc
@@ -115,7 +115,7 @@ bool GetFirefoxVersionAndPathFromProfile(const base::FilePath& profile_path,
if (key == "LastVersion") {
base::StringToInt(line.substr(equal + 1), version);
ret = true;
- } else if (key == "LastAppDir") {
+ } else if (key == "LastPlatformDir") {
Ilya Sherman 2013/12/17 23:04:14 Two questions: (1) Does this work for all version
mpawlowski 2013/12/18 08:50:29 I've looked at Firefox's sources, and the code tha
Ilya Sherman 2013/12/18 20:04:21 Lovely. Thanks for doing the deep investigation t
jeremy 2013/12/18 20:16:08 I understand that this matches what we want and ha
// TODO(evanm): If the path in question isn't convertible to
// UTF-8, what does Firefox do? If it puts raw bytes in the
// file, we could go straight from bytes -> filepath;

Powered by Google App Engine
This is Rietveld 408576698