The notification database should have a bloom filter policy.
commitc1978f946aa8af730a55bb88f3172b13fa5bec71
authorpeter <peter@chromium.org>
Wed, 1 Apr 2015 17:38:18 +0000 (1 10:38 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 1 Apr 2015 17:39:14 +0000 (1 17:39 +0000)
tree9b37bd6fb3d89da9a5c490c0d6ead397bc3ff033
parent66e103df9bce01de86298644ef4572dbf9635276
The notification database should have a bloom filter policy.

This can significantly reduce the number of reads when Get()ing data
from the database. Note that the database still uses the default
comparator - lexicographical order works fine for our case.

BUG=447628

Review URL: https://codereview.chromium.org/1044633002

Cr-Commit-Position: refs/heads/master@{#323278}
content/browser/notifications/notification_database.cc
content/browser/notifications/notification_database.h