ServiceWorker: Store resource records in ServiceWorkerDatabase
commitc527dc8fba68a7bd494fc76ae696e0c6ebb4537c
authornhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 2 May 2014 17:50:32 +0000 (2 17:50 +0000)
committernhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 2 May 2014 17:50:32 +0000 (2 17:50 +0000)
tree13a3608a740480e5032e54487e670ad8d5a24424
parent59284de5278e64008a8b7893175b189a36063387
ServiceWorker: Store resource records in ServiceWorkerDatabase

To achieve resource record persistence, this CL...
- adds new DB schema for ResourceRecord.
- implements helper functions to manipulate stored resource records.
- adds unittests.

BUG=364099
TEST=content_unittests --gtest_filter=ServiceWorkerDatabaseTest.*

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267854 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/service_worker/service_worker_database.cc
content/browser/service_worker/service_worker_database.h
content/browser/service_worker/service_worker_database_unittest.cc