Simple Cache: wait for index in tests
commit7e48c1b63b85d5a02b3a6a99c318de80fa9d2fe2
authorclamy@chromium.org <clamy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 12 Jul 2013 12:15:43 +0000 (12 12:15 +0000)
committerclamy@chromium.org <clamy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 12 Jul 2013 12:15:43 +0000 (12 12:15 +0000)
tree469bab51623a7fcdbd4c092445b0d13d129fe811
parentf626c4fa1fdfdfdb56bdcd44e3ad150cf51a30ee
Simple Cache: wait for index in tests

This CL makes the initialization of the backend tests wait for the index to be
ready. This wait can also be explicitely disabled in tests that check stability
of functionalities when the index is not ready.

BUG=

Review URL: https://chromiumcodereview.appspot.com/18429009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211381 0039d316-1c4b-4281-b951-d872f2087c98
net/disk_cache/disk_cache_test_base.cc
net/disk_cache/disk_cache_test_base.h
net/disk_cache/entry_unittest.cc