Tell IDB frontend about data loss.
commit39571d1b94ea99f25ac050f441db8cfb80dcd18d
authordgrogan@chromium.org <dgrogan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 25 Jun 2013 23:40:29 +0000 (25 23:40 +0000)
committerdgrogan@chromium.org <dgrogan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 25 Jun 2013 23:40:29 +0000 (25 23:40 +0000)
tree389898510d6dc1a41d462cf4c632c8882ec6dc05
parentd9095c3ea73f12fee031927c07f2e006d381ec81
Tell IDB frontend about data loss.

When IDB performs "cleanup" on its backing store pass a flag
indicating such to the frontend, which will expose it to JS.

Blink side https://codereview.chromium.org/17060008/

BUG=172626
R=aedla@chromium.org, cevans@chromium.org, jam@chromium.org, jamesr@chromium.org, jsbell@chromium.org, tsepez@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208579 0039d316-1c4b-4281-b951-d872f2087c98
16 files changed:
content/browser/DEPS
content/browser/in_process_webkit/indexed_db_callbacks.cc
content/browser/in_process_webkit/indexed_db_callbacks.h
content/browser/indexed_db/indexed_db_backing_store.cc
content/browser/indexed_db/indexed_db_backing_store.h
content/browser/indexed_db/indexed_db_backing_store_unittest.cc
content/browser/indexed_db/indexed_db_callbacks_wrapper.cc
content/browser/indexed_db/indexed_db_callbacks_wrapper.h
content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc
content/browser/indexed_db/indexed_db_database.cc
content/browser/indexed_db/indexed_db_database.h
content/browser/indexed_db/indexed_db_factory.cc
content/browser/indexed_db/indexed_db_factory.h
content/child/indexed_db/indexed_db_dispatcher.cc
content/common/indexed_db/indexed_db_messages.h
content/test/data/indexeddb/open_bad_db.js