diff options
author | jsbell@chromium.org <jsbell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-17 20:56:16 +0000 |
---|---|---|
committer | jsbell@chromium.org <jsbell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-17 20:56:16 +0000 |
commit | c145c83565c8c019f97d0280d12c623352e1c58e (patch) | |
tree | 5f1790ac06e1847190e92796065b15336d83a228 /chrome/common/web_apps.cc | |
parent | 9a55b8c9af871b1e58b7f4f367b7c26fc53ab543 (diff) | |
download | chromium_src-c145c83565c8c019f97d0280d12c623352e1c58e.zip chromium_src-c145c83565c8c019f97d0280d12c623352e1c58e.tar.gz chromium_src-c145c83565c8c019f97d0280d12c623352e1c58e.tar.bz2 |
Use a temp data dir for IDB tests so persistence can be verified.
WebCore::IDBFactory always generates specifies an empty string (indicating in-memory storage), and relies on intermediate methods before WebCore::IDBFactoryBackendImpl is reached to rewrite with a non-empty string to use on-disk storage.
This patch inserts a test-specific implementation of WebIDBFactory into the middle of the call path to specify a data dir if one was not specified, mirroring what is done in multiprocess Chromium during IPC.
Prep work for http://webkit.org/b/83074
Review URL: https://chromiumcodereview.appspot.com/10382180
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137733 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/web_apps.cc')
0 files changed, 0 insertions, 0 deletions