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

Unified Diff: chrome/browser/importer/firefox_importer_utils.h

Issue 174206: Bring up Firefox Password Import Unittest on OS X. (Closed)
Patch Set: Small fix Created 11 years, 4 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/browser/importer/firefox_importer_utils.h
diff --git a/chrome/browser/importer/firefox_importer_utils.h b/chrome/browser/importer/firefox_importer_utils.h
index 41b88fac340af4ea5b5d2ce2250eddc905da9e12..68de8376e490fcff967e9f42cfc0a013b19115cd 100644
--- a/chrome/browser/importer/firefox_importer_utils.h
+++ b/chrome/browser/importer/firefox_importer_utils.h
@@ -25,7 +25,15 @@ int GetCurrentFirefoxMajorVersionFromRegistry();
// Detects where Firefox lives. Returns a empty string if Firefox
// is not installed.
std::wstring GetFirefoxInstallPathFromRegistry();
-#endif
+#endif // OS_WIN
+
+#if defined(OS_MACOSX)
+
+// Get the directory in which the Firefox .dylibs live, we need to load these
+// in order to decoded FF profile passwords.
+// The Path is usuall FF App Bundle/Contents/Mac OS/
+bool GetFirefoxDylibPath(FilePath *ff_dylib_dir);
John Grabowski 2009/08/21 01:13:18 Why return bool and not return FilePath? FilePath:
+#endif // OS_MACOSX
// Detects version of Firefox and installation path from given Firefox profile
bool GetFirefoxVersionAndPathFromProfile(const std::wstring& profile_path,

Powered by Google App Engine
This is Rietveld 408576698