Split IndexedDBFactory into virtual base + impl.
This change makes IndexedDBFactory a virtual base class, and what was IndexedDBFactory is now IndexedDBFactoryImpl. This change will allow tests to create proper mock factories and not require them to instantiate the "real" factory (which often doesn't work) in the test. It will also take us one step closer to eliminating special cases in IDB's other classes where having a factory is optional (because tests don't create them). BUG=393974 R=ericu@chromium.org, jochen@chromium.org, jsbell@chromium.org, michaeln@chromium.org Review URL: https://codereview.chromium.org/313883003 Patch from cmumford@chromium.org <cmumford@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284161 0039d316-1c4b-4281-b951-d872f2087c98
Showing
This diff is collapsed.
Please register or sign in to comment