• jsbell@chromium.org's avatar
    Split IndexedDBFactory into virtual base + impl. · 8f4c9206
    jsbell@chromium.org authored
    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
    8f4c9206
indexed_db_unittest.cc 10.4 KB