tree: 058f3bee2e6544fb1e7d9f290e8d3d711e06a3b0 [path history] [tgz]
  1. thumbnail_wild/
  2. Favicons.v3.sql
  3. Favicons.v4.sql
  4. Favicons.v5.sql
  5. Favicons.v6.sql
  6. Favicons.v7.sql
  7. Favicons.v8.sql
  8. history.22.sql
  9. history.26.sql
  10. history.27.sql
  11. history.28.sql
  12. history.29.sql
  13. history.30.sql
  14. history.31.sql
  15. History_with_starred
  16. HistoryNoDuration
  17. HistoryNoSource
  18. OWNERS
  19. README.md
  20. TopSites.v1.sql
  21. TopSites.v2.sql
  22. TopSites.v3.sql
components/test/data/history/README.md

How to generate history.N.sql files using a Chromium build.

On a Linux build:

  1. Build the sqlite_shell target. This will build the SQLite CLI.

     $ ninja sqlite_shell
    
  2. Run Chrome/Chromium with a fresh profile directory and immediately quit. It doesn‘t really matter how long you run it, but there’ll be less work for you if you quit early.

     $ out/Debug/chrome-wrapper --user-data-dir=foo
    
  3. Locate the History file in the profile directory.

  4. Dump the History database into a text file:

     $ echo '.dump' | sqlite_shell foo/Default/History > history.sql
    
  5. Manually remove all INSERT INTO statements other than the statements populating the meta table.