Cache Backend Proxy to intercept all cache events from the IO thread.
commit50d3c5f8b1b192382aec09dcd300de1883bf3b7a
authorpasko@google.com <pasko@google.com@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 11 Apr 2013 15:49:45 +0000 (11 15:49 +0000)
committerpasko@google.com <pasko@google.com@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 11 Apr 2013 15:49:45 +0000 (11 15:49 +0000)
treee3d2d8f4a31c12636c08616fa8205323c3e2985f
parent3cd5609644a3c80c000f5fc39d57df7786ee5b1e
Cache Backend Proxy to intercept all cache events from the IO thread.

Added a build flag to link with the tracing backend, tests may use it without a
flag. Recording the actual event trace is TBD. Added a test that runs on both
BackendImpl and SimpleBackendImpl.

BUG=173384

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193652 0039d316-1c4b-4281-b951-d872f2087c98
net/disk_cache/backend_unittest.cc
net/disk_cache/cache_creator.cc
net/disk_cache/disk_cache_test_base.cc
net/disk_cache/tracing_cache_backend.cc [new file with mode: 0644]
net/disk_cache/tracing_cache_backend.h [new file with mode: 0644]
net/net.gyp