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; |