Make downloads work when history database fails to initialize.
Previously all download calls will be stuck when history database fails
This CL assigns 1 as the first id when history database failed to load,
all downloads in this browser session will not be persisted to history
Reviewed-by: Robert Kaplow <firstname.lastname@example.org>
Reviewed-by: David Trainor <email@example.com>
Commit-Queue: Xing Liu <firstname.lastname@example.org>
6 files changed