DescriptionCurrently there is a Firefox importer that handles only one version of
the Firefox profile. Most of the information about bookmarks and history
is stored in places.sqlite. When the schema of this file changes
significantly the importer stops working. After fixing the SQL queries
to account for those changes, the importer stops working for the earlier
schema versions.
This CL aims to:
1) Introduce FirefoxPlacesFactory that detects places.sqlite schema
version and creates an appropriate handler. This allows the importer to
work for ALL versions of Firefox profiles. It also makes future updates
easier.
2) Refactor firefox_importer.cc a little bit. This file is long and
does all the work that could be split into a few, more logical parts.
BUG=592239
Patch Set 1 #Messages
Total messages: 9 (3 generated)
|