DescriptionSplit 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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284161
Patch Set 1 #
Total comments: 2
Patch Set 2 : Added protected IndexedDBFactory constructor prototype. #
Total comments: 10
Patch Set 3 : Moved DISALLOW_COPY_AND_ASSIGN down and added comment #
Total comments: 4
Patch Set 4 : Removed extraneous method proto's: ReleaseBackingStore & CloseBackingStore #
Total comments: 2
Patch Set 5 : Moved indexed_db_factory_impl.h and relocated IsBackingStoreOpen. #Messages
Total messages: 23 (0 generated)
|