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

Side by Side Diff: components/test/data/history/README.md

Issue 1875033005: [Downloads/History] Add tab-url and tab-referrer-url to DownloadRow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@guid-fix
Patch Set: More comments Created 4 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 ## How to generate history.N.sql files using a Chromium build.
svaldez 2016/04/12 20:54:17 Add a note about the README in the CL description.
2
3 On a Linux build:
4
5 1. Build the `sqlite_shell` target. This will build the [SQLite CLI].
6
7 $ ninja sqlite_shell
8
9 2. Run Chrome/Chromium with a fresh profile directory and immediately quit. It
10 doesn't really matter how long you run it, but there'll be less work for you
11 if you quit early.
12
13 $ out/Debug/chrome-wrapper --user-data-dir=foo
14
15 3. Locate the `History` file in the profile directory.
16
17 4. Dump the `History` database into a text file:
18
19 $ echo '.dump' | sqlite_shell foo/Default/History > history.sql
20
21 5. Manually remove all `INSERT INTO` statements other than the statements
22 populating the `meta` table.
23
24 [SQLite CLI]: https://www.sqlite.org/cli.html
25
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698