Chromium Code Reviews
Description[Sync] Split fake ModelTypeService impl out of SMTP tests.
This class and logic can be re-used for integration testing, so I'm
spliting it out into its own file. As a happy side-effect, this
massively reduces the size of the SMTP test file.
- Current FakeModelTypeService is renamed StubModelTypeService (does
nothing; just compiles).
- SMTP test impl is moved into FakeModelTypeService (fully functional
key/value service using PREFERENCES specifics and an in-memory store.)
- Updated some loops to use const auto &kv.
BUG=643269
Committed: https://crrev.com/2824d17cd962de7d41bd00ff0318fe44ff4e2871
Cr-Commit-Position: refs/heads/master@{#416691}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Rebase + fix typo in comment. #Messages
Total messages: 17 (11 generated)
|