tree: d6a0a3c56c25a4abac48775e6c4e2c173a51bf5d [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.32.sql
  16. history.38.sql
  17. history.39.sql
  18. history.40.sql
  19. History_with_starred
  20. HistoryNoDuration
  21. HistoryNoSource
  22. OWNERS
  23. README.md
  24. TopSites.v1.sql
  25. TopSites.v2.sql
  26. TopSites.v3.sql
  27. TopSites.v4.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.