Merge SparseConnector and CachedConnector into ConnectorBase

The basic lookup code of SparseConnector and cache mechanism of CachedConnector are fused in ConnectorBase, so actual code difference is small.

There are following benefits:
- One nested virtual method call is removed
- Code gets more concise so more maintainable

This is just a clean-up CL.  Hence no user-visible change is intended.

Patch From Noriyuki Takahashi.

BUG=none
TEST=unittest


git-svn-id: http://mozc.googlecode.com/svn/trunk@549 a6090854-d499-a067-5803-1114d4e51264
11 files changed
tree: e103be2af60bb0003aaebd0f46a65581b52cb06c
  1. src/