Separate Simple Backend creation from initialization.
commit00831c829f3120e380fdf1db82ae3c882407a917
authorpasko@google.com <pasko@google.com@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 10 Apr 2013 15:37:12 +0000 (10 15:37 +0000)
committerpasko@google.com <pasko@google.com@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 10 Apr 2013 15:37:12 +0000 (10 15:37 +0000)
tree884b5e72f93e5cc4bcb27bfa9f2a5d99630603ba
parent3402a0333b9e83df6509a9b185bcb9747f81dc07
Separate Simple Backend creation from initialization.

Also make both backends use the same directory for files, and the same name for
the index file. Using the index file each backend will detect if the index
belongs to it. Hence, easier to make sure that both cache trees on disk are
mutually exclusive.

BUG=229437

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193391 0039d316-1c4b-4281-b951-d872f2087c98
net/disk_cache/cache_creator.cc
net/disk_cache/disk_cache_test_base.cc
net/disk_cache/simple/simple_backend_impl.cc
net/disk_cache/simple/simple_backend_impl.h
net/disk_cache/simple/simple_index.cc
net/disk_cache/simple/simple_synchronous_entry.cc